### blockingSockTestHost ../blockingSockTest.cpp: client circuit was disconnected ../blockingSockTest.cpp: server circuit was disconnected The local OS behaves like "esscimqi_socketBothShutdownRequired". The epicsSocketSystemCallInterruptMechanismQuery() function returns "esscimqi_socketBothShutdownRequired". ### callbackTestHost myCallback requestedDiff 0.000000 diff 0.000377 myCallback requestedDiff 0.000000 diff 0.000286 myCallback requestedDiff 0.000000 diff 0.000330 myCallback requestedDiff 0.000000 diff 0.000517 myCallback requestedDiff 1.000000 diff 0.995107 myCallback requestedDiff 2.000000 diff 1.995081 callbackTest returning main terminating ### epicsEventTestHost epicsEventWaitWithTimeout ( 1.000000 ) tmo delay err 0.000146 sec epicsEventWaitWithTimeout ( 0.500000 ) tmo delay err 0.000002 sec epicsEventWaitWithTimeout ( 0.250000 ) tmo delay err 0.000029 sec epicsEventWaitWithTimeout ( 0.125000 ) tmo delay err 0.000029 sec epicsEventWaitWithTimeout ( 0.062500 ) tmo delay err 0.000035 sec epicsEventWaitWithTimeout ( 0.031250 ) tmo delay err 0.000030 sec epicsEventWaitWithTimeout ( 0.015625 ) tmo delay err 0.000019 sec epicsEventWaitWithTimeout ( 0.007812 ) tmo delay err 0.000015 sec epicsEventWaitWithTimeout ( 0.003906 ) tmo delay err 0.000555 sec epicsEventWaitWithTimeout ( 0.001953 ) tmo delay err 0.000021 sec epicsEventWaitWithTimeout ( 0.000977 ) tmo delay err 0.000010 sec epicsEventWaitWithTimeout ( 0.000488 ) tmo delay err 0.000010 sec epicsEventWaitWithTimeout ( 0.000244 ) tmo delay err 0.000010 sec epicsEventWaitWithTimeout ( 0.000122 ) tmo delay err 0.000008 sec epicsEventWaitWithTimeout ( 0.000061 ) tmo delay err 0.000011 sec epicsEventWaitWithTimeout ( 0.000031 ) tmo delay err 0.000009 sec epicsEventWaitWithTimeout ( 0.000015 ) tmo delay err 0.000009 sec epicsEventWaitWithTimeout ( 0.000008 ) tmo delay err 0.000007 sec epicsEventWaitWithTimeout ( 0.000004 ) tmo delay err 0.000007 sec epicsEventWaitWithTimeout ( 0.000002 ) tmo delay err 0.000009 sec epicsEventWaitWithTimeout ( 0.000000 ) tmo delay err 0.000002 sec Average error 0.000046 sec calling epicsEventWaitWithTimeout(event,2.0) time 1142970103 calling epicsEventTryWait(event) time 1142970105 calling epicsEventSignal() time 1142970105 calling epicsEventWaitWithTimeout(event,2.0) time 1142970105 calling epicsEventSignal() time 1142970105 calling epicsEventTryWait(event) time 1142970105 created producer 0 id 0x6006c0 time 1142970105 consumer 0x6005d0 starting time 1142970105 created producer 1 id 0x600790 time 1142970105 producer 0x6006c0 starting time 1142970105 producer 0x6006c0 sending producer 0x600790 starting time 1142970105 producer 0x600790 sending producer 0x6006c0 sending producer 0x600790 sending consumer message from 0x6006c0 consumer message from 0x600790 consumer message from 0x6006c0 consumer message from 0x600790 producer 0x6006c0 sending consumer message from 0x6006c0 producer 0x600790 sending consumer message from 0x600790 producer 0x6006c0 sending producer 0x600790 sending producer 0x6006c0 sending consumer message from 0x6006c0 consumer message from 0x600790 consumer message from 0x6006c0 producer 0x600790 sending consumer message from 0x600790 semTest setting quit time 1142970110 producer 0x6006c0 returning time 1142970110 consumer 0x6005d0 returning time 1142970110 producer 0x600790 returning time 1142970110 semTest returning time 1142970113 main terminating ### epicsExceptionTestHost Test Complete. ### epicsExitTestHost thread threadA starting thread threadB starting thread threadA waiting for atExit main calling epicsExit thread threadA terminating ### epicsMathTestHost a 0.000000e+00 b 0.000000e+00 c nan isnan true isinf false a 1.000000e+300 b 1.000000e-300 c inf isnan false isinf true a -1.000000e+300 b 1.000000e-300 c -inf isnan false isinf true a 0.000000e+00 b 1.000000e+00 c 0.000000e+00 isnan false isinf false a 1.000000e+300 b 1.000000e+300 c 1.000000e+00 isnan false isinf false ### epicsMessageQueueTestHost Simple single-thread tests. Should have 1 used -- Message Queue Used:1 Slots:4 Should have 2 used -- Message Queue Used:2 Slots:4 Should have 3 used -- Message Queue Used:3 Slots:4 Should have 4 used -- Message Queue Used:4 Slots:4 Test sender timeout. Should have 1 used -- Message Queue Used:1 Slots:4 Should have 2 used -- Message Queue Used:2 Slots:4 Should have 3 used -- Message Queue Used:3 Slots:4 Should have 4 used -- Message Queue Used:4 Slots:4 Test receiver with timeout. Single receiver with invalid size, single sender tests. Single receiver, single sender tests. Systems with priority-based scheduler should send only 4 or 5 messages (sender priority > receiver priority). Sent 5 messages. Systems with strict priority-based scheduler should send 10 messages (sender priority < receiver priority). Sent 5 messages. All systems should send 10 messages (sender pauses after sending each message). Sent 10 messages. Single receiver, multiple sender tests. The following test takes 5 minutes to run and has succeeded if nothing appears between here.... ......and here. Sender 1 -- 6211 messages Sender 2 -- 6234 messages Sender 3 -- 6217 messages Sender 4 -- 6223 messages ### epicsMutexTestHost One lock pair completes in 0.554650 micro sec One double recursive lock pair completes in 1.084770 micro sec One quad recursive lock pair completes in 2.125070 micro sec calling epicsMutexLock(mutex) time 1142970453 calling epicsMutexTryLock(mutex) time 1142970453 epicsMutexId 0x6003c0 source ../epicsMutexTest.cpp line 264 ownerTid 0xa000ed68 count 2 owned 1 calling epicsMutexUnlock() time 1142970453 calling epicsMutexUnlock() time 1142970453 epicsMutexId 0x6003c0 source ../epicsMutexTest.cpp line 264 ownerTid 0x0 count 0 owned 0 semTest created mutexThread 0 id 0x600680 time 1142970453 mutexThread 0 starting time 1142970453 mutexThread 0 epicsMutexLock time 1142970453 semTest created mutexThread 1 id 0x6006e0 time 1142970453 mutexThread 1 starting time 1142970453 mutexThread 1 epicsMutexLock time 1142970453 mutexThread 0 epicsMutexLock time 1142970454 mutexThread 1 epicsMutexLock time 1142970454 mutexThread 0 epicsMutexLock time 1142970455 mutexThread 1 epicsMutexLock time 1142970455 mutexThread 0 epicsMutexLock time 1142970456 mutexThread 1 epicsMutexLock time 1142970456 mutexThread 0 epicsMutexLock time 1142970457 mutexThread 1 epicsMutexLock time 1142970457 semTest setting quit time 1142970458 mutexThread 0 returning time 1142970458 mutexThread 1 returning time 1142970458 main terminating ### epicsOkToBlockTestHost thread threadA isOkToBlock 0 thread threadB isOkToBlock 1 thread threadA epicsThreadIsOkToBlock 0 main terminating ### epicsStdioTestHost at start buffer |*******************| size 10 rtn 12 value 10 buffer |value is | size 10 rtn 10 value 10 buffer |value: 1| size 10 rtn 2 value 10 buffer |10| at start buffer |*******************| size 10 rtn 12 value 10 buffer |value is | size 10 rtn 10 value 10 buffer |value: 1| size 10 rtn 2 value 10 buffer |10| Test epicsSetThreadStdout/epicsGetStdout stdout 0xa0001bf0 epicsGetStdout 0xa0001bf0 This is first line of sample report This is second and last line of sample report at end stdout 0xa0001bf0 epicsGetStdout 0xa0001bf0 ### epicsStringTestHost String comparison tests completed. ### epicsThreadPriorityTestHost Does not appear to support strict priority scheduling ### epicsThreadPrivateTestHost It takes 0.109710 micro sec to call epicsThreadPrivateGet() ### epicsThreadTestHost epicsThreadSetPriority called by non epics thread epicsThreadSetPriority called by non epics thread testPriority main error expected from epicsThreadSetPriority id 0x6003a0 old 0 new 0 testPriority thread id 0x6004b0 old 50 new 99 It takes 0.198270 micro sec to call epicsThreadGetIdSelf () Estimating sleep quantum..........done Estimating sleep quantum..........done The epicsThreadSleepQuantum() call returns 0.010000 sec. This doesnt match the quantum estimate of 0.000011 sec within 10%. threadTest starting threadTest created 0 myThread 0x600970 threadFunc 0 starting argvalue 0x600b80 startPriority 50 minPriority 0 maxPriority 99 threadTest created 1 myThread 0x600ba0 threadFunc 1 starting argvalue 0x600db0 NAME EPICS ID PTHREAD ID OSIPRI OSSPRI STATE _main_ 0x6003a0 0 0 0 OK errlog 0x6007a0 41974272 10 31 OK task0 0x600ac0 41975296 50 31 OK task1 0x600cf0 41976320 51 31 OK threadFunc 0 stopping argvalue 0x600b80 threadFunc 1 stopping argvalue 0x600db0 epicsThreadTest returning main terminating ### epicsTimeTestHost epicsTime Test (100 loops) ======================== Time per call to epicsTime::getCurrent() (100000 calls) = 0.499 usec The following should be your local time displayed using four different internal representations: epicsTimeStamp = Wed Mar 22 04:47:55 2006 599102000 nSec local time zone struct tm = Wed Mar 22 04:47:55 2006 0.599102 struct timespec = Wed Mar 22 04:47:55 2006 0.599102 UTC struct tm = Tue Mar 21 19:47:55 2006 0.599102 epicsTime: Wed Mar 22 2006 04:47:55.599102000 epicsTime: revision "@(#) EPICS 3.14.8.2, Common Utilities Library Mar 22 2006" ... now at loop 10 ... now at loop 20 ... now at loop 30 ... now at loop 40 ... now at loop 50 ... now at loop 60 ... now at loop 70 ... now at loop 80 ... now at loop 90 epicsTime test complete. Summary: 0 errors found in 0 out of 100 loops. ### epicsTimerTestHost delay error > 0.5 %, delay = 0.9 s, error = -4.956 ms (0.550667 %) delay error > 0.5 %, delay = 0.8 s, error = -4.905 ms (0.613125 %) delay error > 0.5 %, delay = 0.7 s, error = -4.958 ms (0.708286 %) delay error > 0.5 %, delay = 0.6 s, error = -4.962 ms (0.827000 %) delay error > 0.5 %, delay = 0.5 s, error = -4.98 ms (0.996000 %) delay error > 0.5 %, delay = 0.4 s, error = -4.95 ms (1.237500 %) delay error > 0.5 %, delay = 0.3 s, error = -4.965 ms (1.655000 %) delay error > 0.5 %, delay = 0.2 s, error = -4.936 ms (2.468000 %) delay error > 0.5 %, delay = 0.1 s, error = -4.997 ms (4.997000 %) average timer delay error -4.959800 ms test complete ### macEnvExpandTestHost 1..30 ok 1 - "FOO". ok 2 - "${FOO}". ok 3 - "${FOO=}". ok 4 - "x${FOO=}y". ok 5 - "${FOO=BAR}". ok 6 - "x${FOO=BAR}y". ok 7 - "${FOO}". ok 8 - "x${FOO}y". ok 9 - "x${FOO}y${FOO}z". ok 10 - "${FOO=BAR}". ok 11 - "x${FOO=BAR}y". ok 12 - "${FOO=${BAZ}}". ok 13 - "x${FOO=${BAZ}}y". ok 14 - "${BAR=${FOO}}". ok 15 - "x${BAR=${FOO}}y". ok 16 - "w${BAR=x${FOO}y}z". ok 17 - "${FOO}/${BAR}". ok 18 - "x${FOO}/${BAR}y". ok 19 - "${BAR=${FOO}}". ok 20 - "${${FOO}}". ok 21 - "x${${FOO}}y". ok 22 - "${${FOO}=GRIBBLE}". ok 23 - "x${${FOO}=GRIBBLE}y". ok 24 - "${${FOO}}". ok 25 - "${FOO}". ok 26 - "${FOO}". ok 27 - "${FOO}". ok 28 - "${FOO}". ok 29 - "${FOO}". ok 30 - "${FOO}". # Expect 3 warning messages here: macLib: macro FOO is undefined (expanding string ${FOO}) macLib: macro BAZ is undefined (expanding string ${FOO}) macLib: string ${FOO} is recursive (expanding environment variable FOO) ### ringPointerTestHost fill ring empty ring consumer starting main terminating ### epicsAlgorithmTest epicsMin, epicsMax and epicsSwap tested OK.