Commit Graph

2509 Commits

Author SHA1 Message Date
Andrew Johnson 4a98bdd599 Clear up gcc warnings. 2006-11-28 21:23:25 +00:00
Andrew Johnson e16dc7852e Fixed gcc warnings. 2006-11-28 18:00:37 +00:00
Andrew Johnson 48337e2382 Fixed gcc '0 flag' warnings. 2006-11-28 17:04:18 +00:00
Jeff Hill c51438c597 fixed infinite recursion introduced by change in generic epicsThreadOnce code 2006-11-28 00:46:35 +00:00
Jeff Hill 2fdf182a5d socket related data structures should use socket byte swap 2006-11-18 00:25:54 +00:00
Jeff Hill 2988a11e25 moved all arch dependent byte swapping code to this file 2006-11-18 00:25:04 +00:00
Jeff Hill 4195457cdd base types on std C if recent dialect is available 2006-11-18 00:24:29 +00:00
Jeff Hill 4aa661f418 added warning 2006-11-18 00:16:33 +00:00
Jeff Hill e03effe257 C style comments for C compilers 2006-11-18 00:14:41 +00:00
Jeff Hill 8a255f913e byte swap port number (even if it is zero) 2006-11-18 00:13:53 +00:00
Janet B. Anderson cfefdbf067 Moved test rule to RULES_BUILD. 2006-11-16 22:15:51 +00:00
Janet B. Anderson 60c8cbbb7b Use new TESTSCRIPTS definition. 2006-11-16 21:40:42 +00:00
Andrew Johnson ecac0269dd Stop "warning: `id' defined but not used" messages from gcc -- use a char[]
instead of a char* and they go away!
2006-11-16 19:32:13 +00:00
Andrew Johnson ad1f8f9925 Added round-trip testing of char escapes. 2006-11-15 20:14:46 +00:00
Andrew Johnson 2998cff567 Configuration files for FreeBSD, from Artem Kazakov <kazakov@gmail.com> 2006-11-14 19:40:47 +00:00
Andrew Johnson 20ede98a35 Make .t files work with prove, where $cwd may be a parent directory.
Won't work if you give prove an absolute path to the .t file though...
2006-11-14 17:42:20 +00:00
Andrew Johnson e661027615 Fixed printing calc expressions with % chars in them. 2006-11-14 17:29:27 +00:00
Andrew Johnson fc0fd6ec0d Removed old comment. 2006-11-13 21:04:54 +00:00
Andrew Johnson e66768314f Converted to use epicsUntiTest.h. 2006-11-13 20:21:05 +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
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
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 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 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
Ralph Lange 61600b730a Fix for skipping over the first ifreq list element, += ifreqSize wrapper function. 2006-09-21 20:28:55 +00:00