Commit Graph

267 Commits

Author SHA1 Message Date
Andrew Johnson
b281b453bb Added variable argument functions, mostly by Benjamin Fransken.
MIN, MAX, FINITE and ISINF can now take any number of arguments.
2008-04-10 18:06:47 +00:00
Andrew Johnson
37b371e956 macLib cleanup, added support for scoped macros.
New test program for regular macros as well as the environment variable tests.
2008-03-31 19:30:17 +00:00
Andrew Johnson
91cdaf7cca Fixed warnings on 64-bit platforms. 2008-01-04 21:32:19 +00:00
W. Eric Norum
1c89724137 Use new configuration entries. 2007-12-17 21:05:20 +00:00
Andrew Johnson
892c305cc5 Possible fix for Win32, CR+LF in lines output by unitTest code. 2007-11-06 23:36:25 +00:00
W. Eric Norum
5bf49c4616 More timing cleanups for RTEMS. 2007-06-20 15:38:40 +00:00
Andrew Johnson
643db2e417 Make sure the EPICS epoch is 1990-01-01T00:00:00 UTC 2007-05-07 20:50:38 +00:00
Andrew Johnson
a710bff122 Fixed testPlan, added test for %% in strtfime format strings. 2007-01-02 19:30:04 +00:00
Jeff Hill
e0b4715c98 fixed mantis 279 - epicsTimeToStrftime problem with %06f format 2006-12-22 18:57:53 +00:00
Andrew Johnson
3d3ad47e47 Added test using timeout = DBL_MAX. 2006-12-21 17:11:33 +00:00
Andrew Johnson
b937142ff3 Fixes for vxWorks: permit multiple runs, don't use assert(). 2006-12-12 19:58:52 +00:00
Andrew Johnson
f50c49131c Make it <cstddef> so it builds everywhere else. 2006-12-11 17:51:48 +00:00
Janet B. Anderson
55986a1e92 Fix for Borland build. 2006-12-11 17:46:23 +00:00
Andrew Johnson
11a865805e Make test bail out if socket bind fails; usually there's a CAS running. 2006-12-11 16:52:36 +00:00
Jeff Hill
f16d241662 installed epics thread exit capabilities 2006-12-07 00:49:19 +00:00
Jeff Hill
724a589fe1 fixed warnings 2006-12-05 22:54:52 +00:00
Andrew Johnson
f0b99cc9c1 No version of vxWorks currently provides numeric_limits<T> ... 2006-12-05 21:44:01 +00:00
Jeff Hill
afc4bdd3be fixed comment 2006-12-01 16:34:01 +00:00
Andrew Johnson
48337e2382 Fixed gcc '0 flag' warnings. 2006-11-28 17:04:18 +00:00
Jeff Hill
2fdf182a5d socket related data structures should use socket byte swap 2006-11-18 00:25:54 +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
ad1f8f9925 Added round-trip testing of char escapes. 2006-11-15 20:14:46 +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
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
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
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
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
eeac94ca3b Fix errors from MS compiler, which overloads pow() in C++. 2006-10-02 18:01:44 +00:00
Andrew Johnson
d7016a007c Oops, missed a few tests I'd added. 2006-03-30 20:46:20 +00:00
Andrew Johnson
4d67f3596a Converted some of the test routines to use the new epicsUnitTest facility. 2006-03-30 20:13:25 +00:00
Jeff Hill
f4068d6a49 upgraded tests for mantis 245 2006-03-21 00:59:25 +00:00
Marty Kraimer
2ad879e1d1 simplify output 2005-11-22 13:45:28 +00:00
Marty Kraimer
472512d0a2 epicsThreadMustCreate instead of epicsThreadCreate 2005-11-21 19:33:44 +00:00
Marty Kraimer
92f32f3c21 new test 2005-11-21 19:09:20 +00:00