Michael Davidsaver
b3c1fef110
cleanup callback and callback*Test
2014-09-16 18:55:27 -04:00
Michael Davidsaver
7f7e63fee1
dbScan.c: clarify ioeventCallback
2014-08-29 15:43:16 -07:00
Ralph Lange
51c7dea070
ioc/db: make sure each priority gets at least one thread.
2014-08-28 12:30:07 -07:00
Ralph Lange
08bf6a1081
ioc/db: fix bug in callback thread initialization
2014-08-26 11:58:42 -07:00
Ralph Lange
862abba4cb
ioc/db: fix bug in callback.c
2014-08-26 10:58:59 -07:00
Ralph Lange
bd0c759af3
ioc/db: change call back queue wakeup algorithm (only wake when threads are sleeping and enough work in the queue)
2014-08-26 10:36:32 -07:00
Ralph Lange
15415b5590
Merge from parallel-cbthreads-2: return value for callbackRequest, add tests
2014-08-25 14:40:37 -07:00
Ralph Lange
ca8eda8090
Merge (cherry-pick) original parts from parallel-cbthreads branch
2014-08-25 13:40:18 -07:00
Michael Davidsaver
b7e46b8b02
rsrv: better error msg when listen() fails
2014-08-13 14:26:03 -04:00
Andrew Johnson
cafebf2428
Merged Ralph's fix-nan-inf-updates branch.
...
Added a few cosmetic changes en route.
2014-08-05 15:51:52 -05:00
Ralph Lange
fdb21252b0
ioc/db (recGblCheckDeadband): avoid signbit() which does not exist on older MSVC installations
2014-08-05 11:20:23 +02:00
Ralph Lange
130d98463c
ioc/db (recGblCheckDeadband): pull most common case to front
2014-08-05 11:17:29 +02:00
Ralph Lange
ded1f3572d
ioc/db: force isnan()/isinf() to be 1 (instead of non-zero)
2014-08-05 10:42:25 +02:00
Andrew Johnson
cc656981c0
MSI testing
...
When testing the msi program, don't rely on EPICS_HOST_ARCH
to find the binary executable as we may be running the tests
on a cross-arch such as linux-x86-debug.
2014-08-04 15:39:02 -05:00
Michael Davidsaver
73a64bc89f
quiet some warnings
...
unused variable iseq
undefined struct dbBase
2014-08-04 13:28:47 -04:00
Andrew Johnson
63d2d8de33
Merged cas-intf-addr-list branch.
2014-07-31 11:34:10 -05:00
Ralph Lange
01dcbed948
ioc/db/test: add test for recGblCheckDeadband()
2014-07-30 13:36:26 +02:00
Ralph Lange
6f41e11804
ioc/db: add recGblCheckDeadband() to recGbl library
2014-07-30 10:35:03 +02:00
Andrew Johnson
41502f9525
db: Remove status message from dbpf
...
The status returned from dbPutField() can now include errors from
the record processing such as a link alarm, so it doesn't mean
what it used to and printing the error might be wrong.
Now we just return the status value.
2014-07-29 12:46:38 -05:00
Michael Davidsaver
6d11cba513
add missing TESTFILES
2014-07-29 10:32:47 -04:00
Michael Davidsaver
e2461e97ff
dbLockTest: test creation of DB links
2014-07-28 14:33:17 -04:00
Andrew Johnson
c710a3a898
dbStatic/dbLexRoutines.c fix error message
2014-07-27 15:41:49 -05:00
Andrew Johnson
2de36d3273
Fix lock-set initialization properly.
2014-07-25 17:59:59 -05:00
Michael Davidsaver
9d03275c53
iocInit: ensure dbLock cleanup after iocShutdown cleanup
...
by making dbLock init before initDatabase()
2014-07-25 13:49:55 -04:00
Ralph Lange
ae518f6e3e
ioc/db/test: Fix Windows build
2014-07-24 14:06:11 +02:00
Andrew Johnson
846ef343e3
Merged ioc-shutdown2 branch.
2014-07-23 16:59:12 -05:00
Andrew Johnson
6bdb8f911a
Suppress errlog output of expected warning messages.
2014-07-23 16:18:32 -05:00
Michael Davidsaver
0bcfbd0ffc
remove unused
2014-07-14 18:16:30 -04:00
Michael Davidsaver
34f0374ca5
dbLock: yet another fix to dbLockCleanupRecords()
...
track the lockRecord allocation
2014-07-14 17:57:17 -04:00
Michael Davidsaver
3755b9eaad
dbLock: free lockSets
2014-07-11 18:49:41 -04:00
Michael Davidsaver
edf1ad0362
dbLock: another fix to dbLockCleanupRecords()
2014-07-11 18:49:41 -04:00
Michael Davidsaver
bb51281d9c
dbPutLinkTest: set # of tests
2014-07-11 16:59:22 -04:00
Michael Davidsaver
fd7a934ce3
dbPutLinkTest: test link string parsing
...
Test parsing to CONTANT and DB_LINK.
dbCa isn't initialized, so no test for CA_LINK.
2014-07-11 16:51:32 -04:00
Michael Davidsaver
f14bfaab24
dbUnitTest: add testdbGetFieldEqual()
2014-07-11 16:47:55 -04:00
Michael Davidsaver
a218bfd75c
dbLock: fix dbLockCleanupRecords
...
all lockRecord s allocated in one block. oops.
2014-07-11 16:27:41 -04:00
Michael Davidsaver
3f11fd1665
dbUnitTest: replace testdbPutField()
...
add testdbPutFieldOk() and testdbPutFieldFail()
which include calls to testPass() or testFail()
Leave testdbVPutField() as a building block.
2014-07-11 10:30:31 -04:00
Michael Davidsaver
ebc3834661
dbUnitTest: testIocInitOk/testIocShutdownOk testAbort() on failure
2014-07-11 10:28:54 -04:00
Michael Davidsaver
f85c3249ab
dbUnitTest: rename
2014-07-10 18:23:49 -04:00
Andrew Johnson
3ff49fc9b2
Fixed build errors, remove dependency on std.
...
Build errors: Include guard missing from epicsUnitTest.h;
dbShutdownTest.c was calling the non-universal strcasecmp()
instead of epicsStrCaseCmp().
ioc/db/test no longer depends on std. I modified
xRecord to make it a working record type, and simplified the
other test programs so they all use the same new expanded
dbd file rather than each making their own. I also added
dbShutdownTest() to epicsRunDbTests().
2014-07-10 14:27:44 -05:00
Michael Davidsaver
a9d4204d43
dbLock: free LSET
2014-06-23 16:28:28 -04:00
Michael Davidsaver
0c73bb9448
dbChannel: atexit
2014-06-23 16:28:27 -04:00
Michael Davidsaver
c8d9d5e952
dbLock: atexit
2014-06-23 16:28:27 -04:00
Michael Davidsaver
c838d5d870
dbBkpt: atexit
2014-06-23 16:28:26 -04:00
Michael Davidsaver
ddaa6e4eb6
dbNotify: cleanup atexit
2014-06-23 16:28:26 -04:00
Michael Davidsaver
80dd66a58d
add dbUnitTest.h
...
hide boilerplate of tests using the PDB
2014-06-23 16:28:25 -04:00
Michael Davidsaver
1ae2ab1de6
dbShutdownTest
2014-06-23 16:28:24 -04:00
Michael Davidsaver
5caaf2d13c
cleanup initHook
2014-06-23 16:28:23 -04:00
Michael Davidsaver
3ca42fc838
cleanup iocsh
2014-06-23 16:28:22 -04:00
Michael Davidsaver
ad2bb0725d
asShutdown
2014-06-23 16:28:22 -04:00
Ralph Lange
2d4e143987
db/callback: add callbackShutdown() to API, add shutdown handling
2014-06-23 16:28:21 -04:00