Commit Graph

10665 Commits

Author SHA1 Message Date
Andrew Johnson
4ca2bc86e5 Changed configuration for vxWorks 6.x; now uses the same files as vx 5.x.
Removed the vxWorks6-mvXXXX targets, use vxWorks-ppc604_long or similar.
2006-11-13 20:31:07 +00:00
Andrew Johnson
e66768314f Converted to use epicsUntiTest.h. 2006-11-13 20:21:05 +00:00
Andrew Johnson
2c23952b9c Removed Main.c file, converted to use testMain.h and epicsUnitTest.h. 2006-11-10 23:52:50 +00:00
Andrew Johnson
db0d1f1156 TESTPROD_LIBS doesn't work, use PROD_LIBS instead. 2006-11-10 23:09:26 +00:00
Andrew Johnson
52b7171576 Moved testMain.h into libCom/misc, since db/test is built before libCom/test. 2006-11-10 22:43:04 +00:00
Andrew Johnson
de29cb834f Moved timing measurement of epicsThreadPrivateGet() to epicsThreadPerform.cpp 2006-11-10 21:43:16 +00:00
Andrew Johnson
242a7b9027 Fixed bug in posix implementation of osdThreadOnce and added assertion
to the other implementations that will fire in the one case the Posix
code can't cope with.
2006-11-10 20:19:34 +00:00
Andrew Johnson
62963c7d5d Fixes for make test if '.' is not in $PATH. 2006-11-10 16:32:26 +00:00
Andrew Johnson
6c19051727 Major reorganization:
Removed all Main.cpp files, use the macro in testMain.h instead and
defaulted all argc/argv parameters.
Converted all real test programs to use epicsUnitTest.h.
Moved performance measurements from epicsThreadTest to epicsThreadPerform.
Moved epicsOkToBlockTest tests into epicsThreadTest.
On a host arch,  make test  inside the O.arch directory runs all tests.
2006-11-09 22:38:41 +00:00
Andrew Johnson
d8b9856252 Lock around testDiag(), so multiple threads don't mix output. 2006-11-09 22:28:33 +00:00
W. Eric Norum
6536905f85 Add universal binary support for OS X. 2006-11-09 14:50:20 +00:00
W. Eric Norum
8c8b77d767 Add example CONFIG_SITE files. 2006-11-09 14:47:59 +00:00
W. Eric Norum
e91873e3f6 Name change in RTEMS release. 2006-11-09 01:03:42 +00:00
Andrew Johnson
927951ec18 Added errlogInit2() command. 2006-11-08 22:16:51 +00:00
Andrew Johnson
d7d3bf4a13 Added an errlogInit2() routine to allow an enlarged maximum message size to be
specified at initialization time.
2006-11-08 22:14:21 +00:00
Andrew Johnson
23a8c76db2 Removed unused header file. 2006-11-07 16:45:07 +00:00
Andrew Johnson
dac306887d Changed many of the char* arguments to printf-style varargs. 2006-11-07 15:35:14 +00:00
Andrew Johnson
333c97ee23 Does anybody know what this was ever used for? 2006-11-03 17:32:29 +00:00
Jeff Hill
2d136ebc29 fixed manfest was created for .exe during static build 2006-11-02 19:44:58 +00:00
Andrew Johnson
eca624545b Added epicsMath.h include. 2006-11-02 16:10:49 +00:00
Andrew Johnson
5d62cd2b5b Cleanup unused var's. 2006-10-31 20:41:59 +00:00
Andrew Johnson
0563bebee0 Removed definition of NULL. 2006-10-31 20:37:34 +00:00
W. Eric Norum
39a8d90553 Let epicsExitTest work on systems with strict priority scheduling. 2006-10-27 16:32:40 +00:00
W. Eric Norum
f046ff86be Exit properly. 2006-10-27 16:10:34 +00:00
W. Eric Norum
fd81d5f7ca Add epicsExit test.
Clean up some typos.
2006-10-27 15:43:49 +00:00
W. Eric Norum
8f5c1bb7a3 Add test harness for RTEMS. 2006-10-27 15:36:26 +00:00
Andrew Johnson
6c10ea0ad4 Modified diagnostic about macLib warnings to clarify. 2006-10-27 15:01:34 +00:00
Andrew Johnson
a1e28f3dec Fixed problem not resetting test count properly. 2006-10-26 22:21:08 +00:00
Andrew Johnson
20d6352d66 Solaris strtod() doesn't accept "Inf" or "Infinity". 2006-10-26 21:19:32 +00:00
Andrew Johnson
5a561ca613 Make epicsStrtod() parse the full "Infinity" and not stop after "Inf". 2006-10-26 21:18:05 +00:00
W. Eric Norum
5ee8b58411 Don't test 0-length buffer case -- semantics differ for C99/Single-Unix. 2006-10-26 20:51:56 +00:00
W. Eric Norum
54ad02986b Add checks that redirection worked -- handy for systems like RTEMS
where the file exists only in a in-memory filesystem.
2006-10-26 20:07:24 +00:00
Andrew Johnson
5dd24b7ad2 Permit multiple test programs to be run sequentially in the same process
(for RTEMS and vxWorks).
2006-10-26 19:28:30 +00:00
W. Eric Norum
594a28d221 Don't leave dandling tasks. 2006-10-26 19:08:58 +00:00
W. Eric Norum
a16bc712d8 Allow calls from C test harnesses. 2006-10-26 18:10:34 +00:00
Andrew Johnson
c2755088e6 Cleanup. 2006-10-26 17:47:47 +00:00
W. Eric Norum
8264714ea7 Improve message. 2006-10-26 17:42:02 +00:00
Andrew Johnson
7dc2eec5aa Permit breakpoint tables to run any direction as long as the slope doesn't
change sign. Reduced memory requirement by making the table a contiguous
array rather than an array of pointers to intervals. Improved error reporting.
2006-10-26 16:05:23 +00:00
Andrew Johnson
5c7fa0e3be Modified comments. 2006-10-26 15:34:45 +00:00
Jeff Hill
b75bdb1930 fixed wrong app type used when client is acknowledging an alarm
(slightly revised to also deal with arrays although they are technically
invalid when acking an alarm)
2006-10-04 20:46:11 +00:00
Jeff Hill
394222ac72 fixed wrong app type used when client is acknowledging an alarm
(slightly revised to use primitive type of request if writing to other than
gddAppType_value)
2006-10-04 18:49:29 +00:00
Andrew Johnson
e98b305246 Fix up calc and calcout record and associated code to use the new features
of postfix() and calcPerform().
2006-10-03 20:22:23 +00:00
Andrew Johnson
3725609bc8 Cleanup, added recGblAlarmHook pointer. 2006-10-03 16:05:21 +00:00
Andrew Johnson
e4a80f2350 Cleanup, added workaround text. 2006-10-03 15:36:51 +00:00
Andrew Johnson
eeac94ca3b Fix errors from MS compiler, which overloads pow() in C++. 2006-10-02 18:01:44 +00:00
Jeff Hill
7001736104 fixed wrong app type used when client is acknowledging an alarm 2006-10-02 15:53:52 +00:00
Janet B. Anderson
ad55de7aa4 Modified UnixPath and epics_base definitio for ActiveState perl. 2006-10-02 14:18:47 +00:00
Janet B. Anderson
3c9b4d761e Modified UnixPath for ActiveState perl. 2006-10-02 14:17:41 +00:00
Andrew Johnson
2d96451345 dbpr.TIME field. 2006-09-26 15:10:20 +00:00
Andrew Johnson
4bc1aabc0f TIME interest level changed from 4 => 2, now that dbpr displays it nicely. 2006-09-26 15:08:43 +00:00