Commit Graph

74 Commits

Author SHA1 Message Date
Andrew Johnson
a50c66b6ff libCom/test: Added epicsEnvTest.c
VxWorks 6.x can make environment variables private to each
thread, which doesn't work too well.
A test failure on VxWorks explains how to change the image
configuration to fix this.
2013-12-16 12:48:25 -06:00
Janet Anderson
d3b6d01807 Added WIN32 system library for epicsSockResolveTest 2013-07-17 15:55:49 -05:00
Andrew Johnson
ef5d88d3e5 libCom: Back-ported aToIPAddr fix from 3.15 branch.
Cherry-picked 3.15 revno 12398 with some changes.
2013-06-07 17:03:55 -05:00
Andrew Johnson
641aa70eb1 libCom/test: Added Michael Davidsaver's unit tests for errlog 2010-09-30 14:36:30 -05:00
Nick Rees
31790737e4 Added Andrews changes to RULES_BUILD to generate a hint file for the runner 2010-05-27 15:36:52 +01:00
Andrew Johnson
e9593e4b6c Run epicsMessageQueueTest last, since it takes 5 minutes. 2010-05-05 15:43:58 -05:00
Andrew Johnson
b4be728539 cvtFastPerform measures performance, it doesn't do functional testing.
* Cleaned up some warning messages in it on darwin
* Removed it from the epicsRunLibComTests function.
2010-04-26 17:19:10 -05:00
Andrew Johnson
6ece3235c9 Added libCom/test code for epicsThreadOnce() implementations.
Also fixed subsystems that were not using epicsThreadOnce correctly.
2010-04-26 15:48:42 -05:00
Jeff Hill
7315f02888 added cvtFastPerfotm test 2009-07-23 17:25:51 +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
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
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
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
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
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
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
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
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
4d67f3596a Converted some of the test routines to use the new epicsUnitTest facility. 2006-03-30 20:13:25 +00:00
Marty Kraimer
92f32f3c21 new test 2005-11-21 19:09:20 +00:00
Andrew Johnson
81c052a4e2 Removed epicsList and associated test file - not used or maintained. 2005-10-28 19:36:09 +00:00
Marty Kraimer
b0a654b4c1 epicsMaxThreads is new 2004-10-07 13:21:40 +00:00
W. Eric Norum
99690a12e2 Tread RTEMS like vxWorks. 2004-09-16 00:41:03 +00:00
Marty Kraimer
63f139adc5 epicsExit and epicsStdioRedirect 2004-08-27 16:04:26 +00:00
Marty Kraimer
f2fc8f8838 ShellContext=>OkToBlock 2004-07-09 17:53:54 +00:00
Jeff Hill
965a511c47 added socket unblock mechanism test 2004-05-12 20:51:25 +00:00
Janet B. Anderson
d96c061366 Build object files for vxWorks only. 2003-07-22 14:54:54 +00:00
W. Eric Norum
e70dba5bf9 Macro expansion using environment variables as macro definitions. 2003-07-15 19:04:29 +00:00
Marty Kraimer
9519c2646a epicsStringTest is new 2003-04-07 13:52:15 +00:00
Marty Kraimer
f3380f81f0 epicsStdio is new 2003-03-25 17:03:29 +00:00
Janet B. Anderson
6021e84957 Changes for shared libraries and os consistancy. 2003-03-18 22:45:03 +00:00
W. Eric Norum
4c980ea26f Add epicsMessageQueue support. 2003-02-21 18:40:31 +00:00
Janet B. Anderson
0438779bf8 Added Com_DIR definition. 2002-12-09 19:52:14 +00:00
Janet B. Anderson
93b0bf478d Updated license comments. 2002-07-12 21:35:43 +00:00
W. Eric Norum
4dac34a6ab Build complete applications for RTEMS. 2002-05-06 20:05:35 +00:00
Marty Kraimer
4428be70c3 support isinf; epicsIsNAN=>isnan; add test for epicsMath 2002-04-11 15:44:34 +00:00
Jeff Hill
76c6ebf3a9 test ansi / iso exception behavior 2002-03-23 00:29:12 +00:00
Ralph Lange
96d928fa51 Changes for HP-UX 11 - first semi-stable version 2002-02-04 15:14:43 +00:00
Marty Kraimer
51bb0b0a44 add example from appDevGuide 2002-02-01 20:04:05 +00:00
Janet B. Anderson
34b5548ef1 Commented out OBJS_IOC epicsListTest because build fails for vxWorks-ppc604
on win32-x86 host.
2001-10-01 18:00:33 +00:00
Marty Kraimer
e573c4362f make ringPointerTestMain a .cpp file; timerTest is obsolete 2001-07-25 15:21:38 +00:00
Janet B. Anderson
61ff831b2d Uncommented epicsListTest. 2001-06-20 15:27:52 +00:00
Janet B. Anderson
7874d35daf Changes to create vxWorks archive libraries and prods. 2001-06-07 14:26:06 +00:00
Jeff Hill
976ce6a645 removed old timer tests 2001-05-22 01:44:40 +00:00