diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-02-01 00:45:08 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-02-01 00:45:08 +0000 |
commit | 66c348cb12fe8bbe2d4274246ed54bbc52c04777 (patch) | |
tree | 5f48b805dd333df1f11260c1e1ab51a8677cad5c /testsuites/psxtests/include | |
parent | 2008-01-31 Joel Sherrill <joel.sherrill@OARcorp.com> (diff) | |
download | rtems-66c348cb12fe8bbe2d4274246ed54bbc52c04777.tar.bz2 |
2008-01-31 Joel Sherrill <joel.sherrill@OARcorp.com>
* include/pmacros.h, psx01/init.c, psx01/system.h, psx13/main.c,
psxbarrier01/main.c, psxchroot01/main.c, psxfatal_support/init.c,
psxfile01/main.c, psxfile01/test.c, psxmount/main.c, psxrdwrv/main.c,
psxreaddir/main.c, psxrwlock01/main.c, psxspin01/main.c,
psxstat/main.c, psxtime/main.c: Change TEST_INIT to CONFIGURE_INIT.
Make tmacros.h available to all POSIX tests. Add a clock_settime case
for < 1988.
Diffstat (limited to 'testsuites/psxtests/include')
-rw-r--r-- | testsuites/psxtests/include/pmacros.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/testsuites/psxtests/include/pmacros.h b/testsuites/psxtests/include/pmacros.h index 34e84fe75e..b0364e6627 100644 --- a/testsuites/psxtests/include/pmacros.h +++ b/testsuites/psxtests/include/pmacros.h @@ -15,6 +15,7 @@ #include <time.h> #include <unistd.h> +#include <tmacros.h> #include <buffer_test_io.h> /* @@ -42,8 +43,8 @@ #define TM_NOVEMBER 12 #define TM_DECEMBER 12 -#ifndef build_time -#define build_time( TM, WEEKDAY, MON, DAY, YR, HR, MIN, SEC ) \ +#ifndef tm_build_time +#define tm_build_time( TM, WEEKDAY, MON, DAY, YR, HR, MIN, SEC ) \ { (TM)->tm_year = YR; \ (TM)->tm_mon = MON; \ (TM)->tm_mday = DAY; \ @@ -59,7 +60,7 @@ struct timespec tv; \ int status; \ \ - build_time( &tm, WEEKDAY, MON, DAY, YR, HR, MIN, SEC ); \ + tm_build_time( &tm, WEEKDAY, MON, DAY, YR, HR, MIN, SEC ); \ \ tv.tv_sec = mktime( &tm ); \ tv.tv_nsec = 0; \ |