Andrew Johnson
534ca2c86e
Make ellFree() a 1-argument macro, calls ellFree2() with free as freeFunc.
2009-08-28 18:34:38 +00:00
Jeff Hill
fa24d119dd
use verify instead of assert (in tests)
2009-08-24 17:07:03 +00:00
Andrew Johnson
c28520bea6
Adjust test 66 so it doesn't fail if the gcc optimizer result gives -1 but
...
glibc returns +1. Both are correct, gcc is following a newer standard.
2009-08-21 14:49:01 +00:00
Jeff Hill
d764e7d4df
added "using namespace std"
2009-07-29 15:10:24 +00:00
W. Eric Norum
49ddec4294
Add cvtFastPerform to test harness.
2009-07-29 14:29:54 +00:00
Jeff Hill
844ed6345a
test also numbers in -5 to 5 range
2009-07-23 17:32:33 +00:00
Jeff Hill
7315f02888
added cvtFastPerfotm test
2009-07-23 17:25:51 +00:00
Andrew Johnson
70bf066ba9
Added ELLNODE_INIT and ELLLIST_INIT macros.
2009-07-08 19:04:22 +00:00
Andrew Johnson
13f064fd7f
Resource allocation checks missing
2009-04-23 22:28:44 +00:00
Andrew Johnson
31d149d8d9
Fixed 64 bit compiler warnings from Tom Palaia/MacOS.
2009-04-23 18:49:40 +00:00
Andrew Johnson
d545a8f04f
Added test code, fixed bug found in epicsStrnEscapedFromRawSize().
2009-04-10 19:58:34 +00:00
Andrew Johnson
23b3154fa8
Declare epicsEllTest before calling...
2009-04-09 20:38:49 +00:00
Andrew Johnson
f3d07ad12f
ellLib changes: ANSIfication patch; moved test code out of ellLib.c into
...
its own unit test program in libCom/test; changed ellFree() to take a
function pointer for the free() routine, so it can be used on Windows;
modified epicsExit and dbBkpt to use it and pass in the free routine.
2009-04-09 16:51:05 +00:00
Andrew Johnson
134509a8ea
Thread name may not be available during termination.
2009-04-08 22:39:27 +00:00
Andrew Johnson
5d5fd663ff
Use epicsNAN and epicsINF.
2009-04-03 21:16:25 +00:00
W. Eric Norum
cc4b462f8c
Reflect ring bytes changes.
2009-04-03 19:43:41 +00:00
Ralph Lange
7fccc59fe9
ANSIfication of stuff (mostly missing argument types in declarations)
2009-04-03 17:46:26 +00:00
Ralph Lange
2640c5fa07
Added epicsNAN and epicsINF to libCom/osi
2009-04-02 21:15:26 +00:00
Jeff Hill
9f5b1a11da
removed some epicsSingleton related code that isnt in use
2009-02-10 22:51:53 +00:00
Andrew Johnson
a37105e0c7
Fixed buffer overflow in thread name.
2008-11-16 17:32:58 +00:00
Andrew Johnson
b3abcbb52e
Don't fail if epicsSnprintf returns less than the buffer size needed.
2008-10-20 15:35:10 +00:00
W. Eric Norum
48257aec7c
Fix race condition exposed by compilers with more agressive optimization.
...
Add test procedure for epicsRingBytes.
2008-10-07 11:05:41 +00:00
Andrew Johnson
e97439c7df
Ensure the last test actually completes and reports...
2008-10-03 19:28:34 +00:00
Andrew Johnson
896223e819
Fixed compiler warning.
2008-09-26 17:00:17 +00:00
Andrew Johnson
1269897998
Fixed epicsEventWaitWithTimeout(id, 0.0), added test.
2008-09-24 19:24:59 +00:00
Andrew Johnson
e2896fa82f
Perl's Test::Simple library is not installed by default, use Test instead.
2008-09-11 22:35:01 +00:00
Andrew Johnson
0bddd7dc8c
Added Unit Test Harness to summarize results on vxWorks/RTEMS.
...
Added taskwdTest to tests run.
2008-09-03 16:48:03 +00:00
Andrew Johnson
7edc9f4d89
Fixes for Win32.
2008-08-28 15:32:46 +00:00
Andrew Johnson
1f1dd6b2f2
Added more tests on inf and nan (MS compiler fails these).
2008-08-26 20:22:06 +00:00
Andrew Johnson
477466e517
Windows runs more tests because it outputs 3 digit exponents.
...
Fix tests and test plan to accommodate this.
2008-08-26 15:01:47 +00:00
Andrew Johnson
aa530b295b
=/== bug; not sure how this got through.
2008-08-25 21:38:10 +00:00
Andrew Johnson
b6ee45dbab
Added virtual destructors (in most cases protected) to remove g++ warnings:
...
'class ...' has virtual functions but non-virtual destructor
2008-07-28 16:19:50 +00:00
Andrew Johnson
8a17c4b1e8
Fixed compiler warnings.
2008-07-28 16:03:34 +00:00
Andrew Johnson
363080071c
Fix build issues on vxWorks.
2008-05-22 20:19:34 +00:00
Andrew Johnson
1ed5eb1ad1
Major reworking of the task watchdog implementation:
...
* Added new monitoring API with insert and remove callbacks; the old API is
still supported though.
* Added report routine, callable from iocsh.
* taskwdInsert() can take a NULL tid, meaning the calling thread.
2008-05-22 17:54:19 +00:00
Andrew Johnson
2a34e2e464
Don't use fmod(), broken on vxWorks.
...
Use long rather than int for integer calculations.
2008-05-08 16:15:50 +00:00
W. Eric Norum
57005d58ae
Use new, simpler, RTEMS test harness.
2008-04-17 19:34:57 +00:00
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