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
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