2988a11e25
moved all arch dependent byte swapping code to this file
Jeff Hill
2006-11-18 00:25:04 +00:00
4195457cdd
base types on std C if recent dialect is available
Jeff Hill
2006-11-18 00:24:29 +00:00
4aa661f418
added warning
Jeff Hill
2006-11-18 00:16:33 +00:00
e03effe257
C style comments for C compilers
Jeff Hill
2006-11-18 00:14:41 +00:00
8a255f913e
byte swap port number (even if it is zero)
Jeff Hill
2006-11-18 00:13:53 +00:00
962e36768e
C style comments for C compilers
Jeff Hill
2006-11-18 00:09:27 +00:00
dde131368d
Fixed dbLoadTemplates comments.
Andrew Johnson
2006-11-17 23:22:56 +00:00
3b481d69c2
'use strict' stuff from Nick Rees, plus some cleanup.
Andrew Johnson
2006-11-17 22:53:03 +00:00
6f361280c3
Cosmetic.
Andrew Johnson
2006-11-17 22:45:50 +00:00
0f75477dfa
Copyright header.
Andrew Johnson
2006-11-17 22:45:23 +00:00
e68859beee
Set ARCH_freebsd to freebsd-x86_64 and ARCH_hp700 to hpux-parisc.
Janet B. Anderson
2006-11-17 22:31:54 +00:00
83569ffcbc
Updates for R3.14.9.
Janet B. Anderson
2006-11-17 22:27:27 +00:00
533b4696ea
Initial version.
Janet B. Anderson
2006-11-17 22:26:44 +00:00
e1e6ae787d
Ok, so we should allow / and \ in bareword...
Andrew Johnson
2006-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 Johnson
2006-11-17 22:04:37 +00:00
291e5b89cf
Set HOST_OPT = NO.
Janet B. Anderson
2006-11-17 22:01:09 +00:00
7ee4842463
Initial version.
Janet B. Anderson
2006-11-17 22:00:03 +00:00
0f3461a808
Changed test to runtests.
Janet B. Anderson
2006-11-17 21:58:06 +00:00
1ad998c0d6
Oops.
Andrew Johnson
2006-11-17 20:26:56 +00:00
0f200c25c8
dbLoadTemplate.
Andrew Johnson
2006-11-17 20:26:25 +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 Johnson
2006-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 Johnson
2006-11-17 17:06:52 +00:00
b7bad20900
Don't need action for characters which are silently consumed.
W. Eric Norum
2006-11-17 14:28:13 +00:00
34316144bd
Clean up several problems with lexical analyzer.
W. Eric Norum
2006-11-17 14:24:45 +00:00
207171d336
Made vxWorks.h include depend on VXWORKS_VERSION.
Janet B. Anderson
2006-11-16 22:44:34 +00:00
ae4199eb82
test is now .PHONY.
Janet B. Anderson
2006-11-16 22:27:48 +00:00
1dfdf98f87
Added the test rule for the perl Test::Harness expect test programs.
Janet B. Anderson
2006-11-16 22:26:24 +00:00
6217ec86af
Added perl test rule.
Janet B. Anderson
2006-11-16 22:17:51 +00:00
cfefdbf067
Moved test rule to RULES_BUILD.
Janet B. Anderson
2006-11-16 22:15:51 +00:00
60c8cbbb7b
Use new TESTSCRIPTS definition.
Janet B. Anderson
2006-11-16 21:40:42 +00:00
ada4b680b2
Added TESTSCRIPT definitions
Janet B. Anderson
2006-11-16 21:35:50 +00:00
b6d618cf5d
Added test script, TESTSCRIPT, rules.
Janet B. Anderson
2006-11-16 21:34:56 +00:00
1995c7cd5e
Escaped characters.
Andrew Johnson
2006-11-16 20:36:13 +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 Johnson
2006-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 Johnson
2006-11-16 17:26:38 +00:00
ad7f71d41c
DST changes for 2007
Ralph Lange
2006-11-16 16:12:53 +00:00
a4948d15fd
Fix to Mantis #250, support escaped characters in record field values.
Andrew Johnson
2006-11-15 23:33:31 +00:00
6cbcb67e56
Initial version.
Janet B. Anderson
2006-11-15 22:41:39 +00:00
e48d957906
Initail version.
Janet B. Anderson
2006-11-15 22:08:22 +00:00
ad1f8f9925
Added round-trip testing of char escapes.
Andrew Johnson
2006-11-15 20:14:46 +00:00
6911c54755
Changed -Xc to -Xa. Needed for solaris 10 builds.
Janet B. Anderson
2006-11-15 19:26:18 +00:00
c89bfe8cf1
Back out name change since RTEMS will not change until the next RTEMS release.
W. Eric Norum
2006-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 Johnson
2006-11-14 22:14:53 +00:00
4ad9f05421
Added OP_SYS_LDLIBS definition for solaris 10.
Janet B. Anderson
2006-11-14 20:18:26 +00:00
2998cff567
Configuration files for FreeBSD, from Artem Kazakov <kazakov@gmail.com>
Andrew Johnson
2006-11-14 19:40:47 +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 Johnson
2006-11-14 17:42:20 +00:00
e661027615
Fixed printing calc expressions with % chars in them.
Andrew Johnson
2006-11-14 17:29:27 +00:00
d58e5e2a77
Revised old message about thread stack sizes.
Andrew Johnson
2006-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 Johnson
2006-11-13 21:45:40 +00:00
7b7bdb82a6
libCom/test, Breakpoints, vxWorks 6, postFix/calcPerform, calc/calcout/asLib, recGblAlarmHook, raw simulation mode.
Andrew Johnson
2006-11-13 21:32:06 +00:00
fc0fd6ec0d
Removed old comment.
Andrew Johnson
2006-11-13 21:04:54 +00:00
343efa2028
Cosmetic changes.
Andrew Johnson
2006-11-13 20:40:00 +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 Johnson
2006-11-13 20:31:07 +00:00
e66768314f
Converted to use epicsUntiTest.h.
Andrew Johnson
2006-11-13 20:21:05 +00:00
2c23952b9c
Removed Main.c file, converted to use testMain.h and epicsUnitTest.h.
Andrew Johnson
2006-11-10 23:52:50 +00:00
db0d1f1156
TESTPROD_LIBS doesn't work, use PROD_LIBS instead.
Andrew Johnson
2006-11-10 23:09:26 +00:00
52b7171576
Moved testMain.h into libCom/misc, since db/test is built before libCom/test.
Andrew Johnson
2006-11-10 22:43:04 +00:00
de29cb834f
Moved timing measurement of epicsThreadPrivateGet() to epicsThreadPerform.cpp
Andrew Johnson
2006-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 Johnson
2006-11-10 20:19:34 +00:00
62963c7d5d
Fixes for make test if '.' is not in $PATH.
Andrew Johnson
2006-11-10 16:32:26 +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 Johnson
2006-11-09 22:38:41 +00:00
d8b9856252
Lock around testDiag(), so multiple threads don't mix output.
Andrew Johnson
2006-11-09 22:28:33 +00:00
6536905f85
Add universal binary support for OS X.
W. Eric Norum
2006-11-09 14:50:20 +00:00
8c8b77d767
Add example CONFIG_SITE files.
W. Eric Norum
2006-11-09 14:47:59 +00:00
e91873e3f6
Name change in RTEMS release.
W. Eric Norum
2006-11-09 01:03:42 +00:00
927951ec18
Added errlogInit2() command.
Andrew Johnson
2006-11-08 22:16:51 +00:00
d7d3bf4a13
Added an errlogInit2() routine to allow an enlarged maximum message size to be specified at initialization time.
Andrew Johnson
2006-11-08 22:14:21 +00:00
23a8c76db2
Removed unused header file.
Andrew Johnson
2006-11-07 16:45:07 +00:00
dac306887d
Changed many of the char* arguments to printf-style varargs.
Andrew Johnson
2006-11-07 15:35:14 +00:00
333c97ee23
Does anybody know what this was ever used for?
Andrew Johnson
2006-11-03 17:32:29 +00:00
2d136ebc29
fixed manfest was created for .exe during static build
Jeff Hill
2006-11-02 19:44:58 +00:00
eca624545b
Added epicsMath.h include.
Andrew Johnson
2006-11-02 16:10:49 +00:00
5d62cd2b5b
Cleanup unused var's.
Andrew Johnson
2006-10-31 20:41:59 +00:00
0563bebee0
Removed definition of NULL.
Andrew Johnson
2006-10-31 20:37:34 +00:00
39a8d90553
Let epicsExitTest work on systems with strict priority scheduling.
W. Eric Norum
2006-10-27 16:32:40 +00:00
f046ff86be
Exit properly.
W. Eric Norum
2006-10-27 16:10:34 +00:00
fd81d5f7ca
Add epicsExit test. Clean up some typos.
W. Eric Norum
2006-10-27 15:43:49 +00:00
8f5c1bb7a3
Add test harness for RTEMS.
W. Eric Norum
2006-10-27 15:36:26 +00:00
6c10ea0ad4
Modified diagnostic about macLib warnings to clarify.
Andrew Johnson
2006-10-27 15:01:34 +00:00
a1e28f3dec
Fixed problem not resetting test count properly.
Andrew Johnson
2006-10-26 22:21:08 +00:00
20d6352d66
Solaris strtod() doesn't accept "Inf" or "Infinity".
Andrew Johnson
2006-10-26 21:19:32 +00:00
5a561ca613
Make epicsStrtod() parse the full "Infinity" and not stop after "Inf".
Andrew Johnson
2006-10-26 21:18:05 +00:00
5ee8b58411
Don't test 0-length buffer case -- semantics differ for C99/Single-Unix.
W. Eric Norum
2006-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 Norum
2006-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 Johnson
2006-10-26 19:28:30 +00:00
594a28d221
Don't leave dandling tasks.
W. Eric Norum
2006-10-26 19:08:58 +00:00
a16bc712d8
Allow calls from C test harnesses.
W. Eric Norum
2006-10-26 18:10:34 +00:00
c2755088e6
Cleanup.
Andrew Johnson
2006-10-26 17:47:47 +00:00
8264714ea7
Improve message.
W. Eric Norum
2006-10-26 17:42:02 +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 Johnson
2006-10-26 16:05:23 +00:00
5c7fa0e3be
Modified comments.
Andrew Johnson
2006-10-26 15:34:45 +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 Hill
2006-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 Hill
2006-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 Johnson
2006-10-03 20:22:23 +00:00
3725609bc8
Cleanup, added recGblAlarmHook pointer.
Andrew Johnson
2006-10-03 16:05:21 +00:00
e4a80f2350
Cleanup, added workaround text.
Andrew Johnson
2006-10-03 15:36:51 +00:00
eeac94ca3b
Fix errors from MS compiler, which overloads pow() in C++.
Andrew Johnson
2006-10-02 18:01:44 +00:00
7001736104
fixed wrong app type used when client is acknowledging an alarm
Jeff Hill
2006-10-02 15:53:52 +00:00
ad55de7aa4
Modified UnixPath and epics_base definitio for ActiveState perl.
Janet B. Anderson
2006-10-02 14:18:47 +00:00
3c9b4d761e
Modified UnixPath for ActiveState perl.
Janet B. Anderson
2006-10-02 14:17:41 +00:00