e1e6ae787d
Ok, so we should allow / and \ in bareword...
Andrew Johnson2006-11-17 22:18:35 +00:00
bc9fab6417
Removed a whole load of unnecessary characters from bareword, which now matches the dbStaticLib parser's definition.
Andrew Johnson2006-11-17 22:04:37 +00:00
c3e3f6be37
Added two example database substitutions files and converted the example st.cmd files to use these instead of repeated dbLoadRecords commands.
Andrew Johnson2006-11-17 19:36:17 +00:00
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.
Andrew Johnson2006-11-17 17:06:52 +00:00
b7bad20900
Don't need action for characters which are silently consumed.
W. Eric Norum2006-11-17 14:28:13 +00:00
34316144bd
Clean up several problems with lexical analyzer.
W. Eric Norum2006-11-17 14:24:45 +00:00
ecac0269dd
Stop "warning: `id' defined but not used" messages from gcc -- use a char[] instead of a char* and they go away!
Andrew Johnson2006-11-16 19:32:13 +00:00
27fcfac8b8
Use the same TRUE/FALSE test in the dump routines as in the actual rule evaluation, in case the results are different.
Andrew Johnson2006-11-16 17:26:38 +00:00
c89bfe8cf1
Back out name change since RTEMS will not change until the next RTEMS release.
W. Eric Norum2006-11-15 16:13:52 +00:00
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 '_'.
Andrew Johnson2006-11-14 22:14:53 +00:00
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...
Andrew Johnson2006-11-14 17:42:20 +00:00
e661027615
Fixed printing calc expressions with % chars in them.
Andrew Johnson2006-11-14 17:29:27 +00:00
d58e5e2a77
Revised old message about thread stack sizes.
Andrew Johnson2006-11-14 16:20:16 +00:00
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.
Andrew Johnson2006-11-13 21:45:40 +00:00
7b7bdb82a6
libCom/test, Breakpoints, vxWorks 6, postFix/calcPerform, calc/calcout/asLib, recGblAlarmHook, raw simulation mode.
Andrew Johnson2006-11-13 21:32:06 +00:00
4ca2bc86e5
Changed configuration for vxWorks 6.x; now uses the same files as vx 5.x. Removed the vxWorks6-mvXXXX targets, use vxWorks-ppc604_long or similar.
Andrew Johnson2006-11-13 20:31:07 +00:00
2c23952b9c
Removed Main.c file, converted to use testMain.h and epicsUnitTest.h.
Andrew Johnson2006-11-10 23:52:50 +00:00
db0d1f1156
TESTPROD_LIBS doesn't work, use PROD_LIBS instead.
Andrew Johnson2006-11-10 23:09:26 +00:00
52b7171576
Moved testMain.h into libCom/misc, since db/test is built before libCom/test.
Andrew Johnson2006-11-10 22:43:04 +00:00
de29cb834f
Moved timing measurement of epicsThreadPrivateGet() to epicsThreadPerform.cpp
Andrew Johnson2006-11-10 21:43:16 +00:00
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.
Andrew Johnson2006-11-10 20:19:34 +00:00
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.
Andrew Johnson2006-11-09 22:38:41 +00:00
d8b9856252
Lock around testDiag(), so multiple threads don't mix output.
Andrew Johnson2006-11-09 22:28:33 +00:00
d7d3bf4a13
Added an errlogInit2() routine to allow an enlarged maximum message size to be specified at initialization time.
Andrew Johnson2006-11-08 22:14:21 +00:00
6c10ea0ad4
Modified diagnostic about macLib warnings to clarify.
Andrew Johnson2006-10-27 15:01:34 +00:00
a1e28f3dec
Fixed problem not resetting test count properly.
Andrew Johnson2006-10-26 22:21:08 +00:00
20d6352d66
Solaris strtod() doesn't accept "Inf" or "Infinity".
Andrew Johnson2006-10-26 21:19:32 +00:00
5a561ca613
Make epicsStrtod() parse the full "Infinity" and not stop after "Inf".
Andrew Johnson2006-10-26 21:18:05 +00:00
5ee8b58411
Don't test 0-length buffer case -- semantics differ for C99/Single-Unix.
W. Eric Norum2006-10-26 20:51:56 +00:00
54ad02986b
Add checks that redirection worked -- handy for systems like RTEMS where the file exists only in a in-memory filesystem.
W. Eric Norum2006-10-26 20:07:24 +00:00
5dd24b7ad2
Permit multiple test programs to be run sequentially in the same process (for RTEMS and vxWorks).
Andrew Johnson2006-10-26 19:28:30 +00:00
7dc2eec5aa
Permit breakpoint tables to run any direction as long as the slope doesn't change sign. Reduced memory requirement by making the table a contiguous array rather than an array of pointers to intervals. Improved error reporting.
Andrew Johnson2006-10-26 16:05:23 +00:00
b75bdb1930
fixed wrong app type used when client is acknowledging an alarm (slightly revised to also deal with arrays although they are technically invalid when acking an alarm)
Jeff Hill2006-10-04 20:46:11 +00:00
394222ac72
fixed wrong app type used when client is acknowledging an alarm (slightly revised to use primitive type of request if writing to other than gddAppType_value)
Jeff Hill2006-10-04 18:49:29 +00:00
e98b305246
Fix up calc and calcout record and associated code to use the new features of postfix() and calcPerform().
Andrew Johnson2006-10-03 20:22:23 +00:00