Commit Graph

64 Commits

Author SHA1 Message Date
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
Janet B. Anderson
70cf9b538d Commented out epicsListTest for alpha2. 2001-04-09 15:53:31 +00:00
Jeff Hill
8b782cd6bb added thread private test 2001-03-28 15:49:25 +00:00
Andrew Johnson
418b34ad85 Added epicsAlgorithmTest 2001-03-27 20:25:52 +00:00
Andrew Johnson
a4d51830d8 Removed epicsExceptTest - not needed. 2001-03-06 20:36:15 +00:00
Jeff Hill
603f2cfd9d installed epicsTimer test 2001-02-15 17:15:50 +00:00
Andrew Johnson
c188778d53 Test programs for epicsList and epicsExcept 2001-02-12 23:00:26 +00:00
Marty Kraimer
6a52eff141 osiTime=>epicsTime 2001-01-31 13:34:02 +00:00
Marty Kraimer
dbe9c8e75f changes for osiThread=>epicsThread 2001-01-18 19:08:14 +00:00
Marty Kraimer
cfe2ed5f17 replace osiSem by epicsMutex/epiceEvent 2001-01-12 16:13:53 +00:00
Marty Kraimer
d3c0f075cf replacements for osdSem 2000-12-20 21:02:04 +00:00