Commit Graph

8744 Commits

Author SHA1 Message Date
Andrew Johnson 3b481d69c2 'use strict' stuff from Nick Rees, plus some cleanup. 2006-11-17 22:53:03 +00:00
Andrew Johnson 6f361280c3 Cosmetic. 2006-11-17 22:45:50 +00:00
Andrew Johnson 0f75477dfa Copyright header. 2006-11-17 22:45:23 +00:00
Andrew Johnson e1e6ae787d Ok, so we should allow / and \ in bareword... 2006-11-17 22:18:35 +00:00
Andrew Johnson bc9fab6417 Removed a whole load of unnecessary characters from bareword, which now
matches the dbStaticLib parser's definition.
2006-11-17 22:04:37 +00:00
Andrew Johnson c3e3f6be37 Added two example database substitutions files and converted the example st.cmd
files to use these instead of repeated dbLoadRecords commands.
2006-11-17 19:36:17 +00:00
Andrew Johnson a2739882f2 Fixed lex & yacc parsers for dbLoadTemplate() - this is now stricter in what
it will accept, but any rejected characters weren't legal before anyway.
2006-11-17 17:06:52 +00:00
W. Eric Norum b7bad20900 Don't need action for characters which are silently consumed. 2006-11-17 14:28:13 +00:00
W. Eric Norum 34316144bd Clean up several problems with lexical analyzer. 2006-11-17 14:24:45 +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 ecac0269dd Stop "warning: `id' defined but not used" messages from gcc -- use a char[]
instead of a char* and they go away!
2006-11-16 19:32:13 +00:00
Andrew Johnson 27fcfac8b8 Use the same TRUE/FALSE test in the dump routines as in the actual rule
evaluation, in case the results are different.
2006-11-16 17:26:38 +00:00
Andrew Johnson a4948d15fd Fix to Mantis #250, support escaped characters in record field values. 2006-11-15 23:33:31 +00:00
Andrew Johnson ad1f8f9925 Added round-trip testing of char escapes. 2006-11-15 20:14:46 +00:00
W. Eric Norum c89bfe8cf1 Back out name change since RTEMS will not change until the next RTEMS release. 2006-11-15 16:13:52 +00:00
Andrew Johnson 31547e98f5 Patch from Diamond; App names may include chars that are not
valid in a C identifier, such as '-', but we use the App name
in the <name>_registerRecordDeviceDriver routine name.
This patch replaces all such invalid chars with '_'.
2006-11-14 22:14:53 +00:00
Andrew Johnson 2998cff567 Configuration files for FreeBSD, from Artem Kazakov <kazakov@gmail.com> 2006-11-14 19:40:47 +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 cbedb32d50 Added a .db file with a single record $(IOC):exit.
Set the .A field to the exit status you want the softIoc to return.
2006-11-13 21:45:40 +00:00
Andrew Johnson fc0fd6ec0d Removed old comment. 2006-11-13 21:04:54 +00:00
Andrew Johnson 343efa2028 Cosmetic changes. 2006-11-13 20:40:00 +00:00
Andrew Johnson e66768314f Converted to use epicsUntiTest.h. 2006-11-13 20:21:05 +00:00
Andrew Johnson 2c23952b9c Removed Main.c file, converted to use testMain.h and epicsUnitTest.h. 2006-11-10 23:52:50 +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 242a7b9027 Fixed bug in posix implementation of osdThreadOnce and added assertion
to the other implementations that will fire in the one case the Posix
code can't cope with.
2006-11-10 20:19:34 +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
Andrew Johnson d8b9856252 Lock around testDiag(), so multiple threads don't mix output. 2006-11-09 22:28:33 +00:00
W. Eric Norum e91873e3f6 Name change in RTEMS release. 2006-11-09 01:03:42 +00:00
Andrew Johnson 927951ec18 Added errlogInit2() command. 2006-11-08 22:16:51 +00:00
Andrew Johnson d7d3bf4a13 Added an errlogInit2() routine to allow an enlarged maximum message size to be
specified at initialization time.
2006-11-08 22:14:21 +00:00
Andrew Johnson 23a8c76db2 Removed unused header file. 2006-11-07 16:45:07 +00:00
Andrew Johnson dac306887d Changed many of the char* arguments to printf-style varargs. 2006-11-07 15:35:14 +00:00
Andrew Johnson 333c97ee23 Does anybody know what this was ever used for? 2006-11-03 17:32:29 +00:00
Andrew Johnson eca624545b Added epicsMath.h include. 2006-11-02 16:10:49 +00:00
Andrew Johnson 5d62cd2b5b Cleanup unused var's. 2006-10-31 20:41:59 +00:00
Andrew Johnson 0563bebee0 Removed definition of NULL. 2006-10-31 20:37:34 +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
Andrew Johnson a1e28f3dec Fixed problem not resetting test count properly. 2006-10-26 22:21:08 +00:00
Andrew Johnson 20d6352d66 Solaris strtod() doesn't accept "Inf" or "Infinity". 2006-10-26 21:19:32 +00:00
Andrew Johnson 5a561ca613 Make epicsStrtod() parse the full "Infinity" and not stop after "Inf". 2006-10-26 21:18:05 +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