Andrew Johnson
f5a424eb33
Testing: Fixed filters test harness build on RTEMS
...
Added a new Files: line to the testspec file to document which
files need to be available for the tests to be run properly.
This is generated from the Makefile variable TESTFILES.
2012-07-13 13:18:39 -05:00
Janet Anderson
cc088e77b6
libCom: Linux osdThread.h needs sys/types.h for pid_t
2012-07-13 10:59:07 -05:00
Andrew Johnson
e6149b6606
Merged process-get branch.
...
Seems to work, but not tested in depth.
2012-07-11 18:07:23 -05:00
Andrew Johnson
36d8e674cb
Merged changes up to yajl 1.0.12
2012-07-09 13:02:32 -05:00
Andrew Johnson
ead5832a1f
Fix compiler errors on Solaris.
2012-07-09 12:39:00 -05:00
Andrew Johnson
48c805ab3d
Trap and check warning message from macLib.plt test.
2012-07-09 12:37:27 -05:00
Andrew Johnson
325fc8001c
Silence expected errlog output from chfPluginTest.
2012-07-09 11:44:32 -05:00
Andrew Johnson
62727dcba6
Clean up warnings from gcc 4.6.3
2012-07-07 15:54:31 -05:00
Andrew Johnson
2559e1a3b7
Clean up build warnings from clang.
2012-07-07 13:50:55 -05:00
Andrew Johnson
3b08888a9c
Remerged Michael's db-test branch.
...
This branch fixes several tests.
I also added some changes that tell users which .db/.dbd file
was missing if the db and filter test programs abort, and
extend the search path so the tests can be run from the test
directory as well as from the O.<arch> directory.
2012-07-06 18:11:59 -05:00
Andrew Johnson
3bfc6dcf64
errlog in tests
...
Take eltc(0) out of testPlan() and explicitly add it to those tests
that should suppress expected errlog output.
2012-07-06 17:47:56 -05:00
Andrew Johnson
0597f9c1c8
libCom: Fixed issues with thread-hooks.
2012-07-06 16:33:10 -05:00
Andrew Johnson
f0d172591b
Missing $(DEP) dependency in std/filters/test
2012-07-06 14:34:22 -05:00
Andrew Johnson
004826e67a
Clean up some warnings.
2012-07-06 14:26:20 -05:00
Andrew Johnson
dda5e60250
libCom/test: Rename test harness as "libComTestHarness"
2012-07-06 14:23:03 -05:00
Andrew Johnson
a942295ead
libCom/calc: Support 0x literals as epicsUInt32
...
Also use epicsInt32 for all integer calculations.
2012-07-06 14:17:51 -05:00
Andrew Johnson
024c9224c9
dbdToRecordtypeH.pl: Don't warn about unused menus.
2012-07-06 14:15:22 -05:00
Andrew Johnson
29553ff887
Removed empty src/std/test directory.
2012-07-06 14:12:04 -05:00
Michael Davidsaver
59020b3a94
remove FIXME
2012-07-06 13:35:28 -04:00
Michael Davidsaver
a9eff6c5e9
un-FIXME: Can't use freeList for variable length allocations
2012-07-06 13:35:28 -04:00
Michael Davidsaver
e23a5ae8ed
defer printing for callbackTest
...
test*() uses printf() so don't print
any results until all results are collected.
On RTEMS/vxWorks buffering of printf() gives
long delays which skew the test results.
2012-07-06 13:35:26 -04:00
Michael Davidsaver
b403dcc27f
release note for dbTestHarness
2012-07-05 15:25:18 -04:00
Michael Davidsaver
93485edcd9
sync filter checking
...
Detect condition which would result to a double free().
2012-07-05 15:25:18 -04:00
Michael Davidsaver
0f79bdadb4
scanlock for direct record access from channel filters
2012-07-05 15:25:16 -04:00
Andrew Johnson
f9bb1ef542
Fix vxWorks build issues from thread-hooks merge.
2012-07-05 13:39:00 -05:00
Ralph Lange
5f0717adea
documentation: Fix typo in html tag in RELEASE_NOTES
2012-07-05 14:37:32 +02:00
Andrew Johnson
a857f7a5ed
Merged Ralph's thread-hooks branch.
...
Minor modifications to fix the vxWorks epicsThreadInit() and
rename some functions.
2012-07-04 13:28:55 -05:00
Ralph Lange
39ed8f3d02
documentation: Updated RELEASE_NOTES
2012-07-03 16:39:57 +02:00
Ralph Lange
137283ec0b
libCom/osi: Add default start hook for _main_ thread
2012-07-03 15:27:50 +02:00
Ralph Lange
7b47cad8e4
libCom/osi: Clean up epicsThreadHooks API
...
- remove exit hooks completely
- remove non-public functions fom header files
- add test for epicsThreadMap
- fix bugs in RTEMS and vxWorks implementation of epicsThreadMap
2012-07-03 14:38:12 +02:00
Ralph Lange
e834832cda
libCom/osi: Don't decorate epicsThreadHook functions with epicsShareAPI
2012-07-03 13:20:01 +02:00
Ralph Lange
0e6a01d56a
libCom/osi: Streamline epicsThreadShowInfo functions between implementations
...
- epicsThreadShowInfo: private function to print headers or task line,
not in header file, using internal pointer type
2012-07-03 11:16:09 +02:00
Michael Davidsaver
f1c0458adc
dbEvent: use filtered field log on post event queue
2012-07-02 18:00:55 -04:00
Michael Davidsaver
b5c6c78c85
Make dbChannel access functions into macros
2012-07-02 18:00:55 -04:00
Michael Davidsaver
2d64b06cf4
doc chPostEventFunc
2012-07-02 18:00:53 -04:00
Ralph Lange
7c27c7c56d
documentation: Add epicsThreadHooks info to RELEASE NOTES
2012-07-02 18:31:08 +02:00
Ralph Lange
da91893ec2
libCom/test: Add test for epicsThreadHooks
2012-07-02 18:18:54 +02:00
Andrew Johnson
9fe5ce82d3
Merged the db-test branch.
...
Also made additional changes:
* Simplified xRecord.c so it can run on vxWorks.
* Standard way to load DBD and DB files in tests
All test harnesses now run on vxWorks (but some tests still fail).
2012-07-02 11:03:55 -05:00
Ralph Lange
37e490d1b2
libCom/osi: Make vxWorks implementation of epicsThreadMap() safe and dynamic
2012-07-02 14:21:39 +02:00
Ralph Lange
cfd8c0abde
libCom/osi: Fix nesting for epicsThreadHooks, add WIN32 implementation, lock traversal
...
- call (generic) exit hook after calling the (specific) epicsExitCallAtThreadExits()
- for start hooks added as 1-2-3, run exit hooks in opposite order: 3-2-1
- add calls to hooks module to WIN32 osdThread.c
- add lock/unlock to hook list traversal
2012-07-02 11:31:01 +02:00
Andrew Johnson
da9982f875
libCom: Fix unsigned overflow limits in epicsParse*
...
The strtoul() routine accepts negative numbers. This fix
ensures we handle them properly, and adds suitable tests.
Also fix the test for 1e300, in case the compiler gives a
slightly different literal constant than strtod() returns.
2012-06-30 15:34:29 -05:00
Michael Davidsaver
7d51031d60
RTEMS test harness show run directory
2012-06-29 17:02:25 -04:00
Michael Davidsaver
788d5a1ca1
minor
2012-06-29 17:02:25 -04:00
Michael Davidsaver
d6bda6fb3a
arrTest cleanup on exit
...
Do test db cleanup after hooks registered by iocInit
2012-06-29 17:02:25 -04:00
Michael Davidsaver
b5c223f462
fix tsTest
2012-06-29 17:02:24 -04:00
Michael Davidsaver
f5bad40474
sync needs to free held events
...
The sync plugin may hold an update internally.
If this is done then it must be free'd when
the dbChannel is closed.
2012-06-29 17:02:24 -04:00
Michael Davidsaver
60b684a4dc
update dbndTest
2012-06-29 17:02:24 -04:00
Michael Davidsaver
d2b0e92001
db_close_events cleanup
...
Move cleanup from event thread to caller.
This handles cases (unit tests) where the task
is never started.
The pexitsem flag serves as the indicatior that
the event task was started.
2012-06-29 17:02:23 -04:00
Michael Davidsaver
46fb21c880
dbnd must free dropped events
2012-06-29 17:02:22 -04:00
Michael Davidsaver
a103a2434a
dbEvent don't queue dropped events
2012-06-29 17:02:22 -04:00