### 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.000143 myCallback requestedDiff 0.000000 diff 0.000046 myCallback requestedDiff 0.000000 diff 0.000046 myCallback requestedDiff 0.000000 diff 0.000216 myCallback requestedDiff 1.000000 diff 0.995243 myCallback requestedDiff 2.000000 diff 1.995225 callbackTest returning main terminating ### epicsEventTestHost epicsEventWaitWithTimeout ( 1.000000 ) tmo delay err 0.000326 sec epicsEventWaitWithTimeout ( 0.500000 ) tmo delay err 0.000139 sec epicsEventWaitWithTimeout ( 0.250000 ) tmo delay err 0.000143 sec epicsEventWaitWithTimeout ( 0.125000 ) tmo delay err 0.000050 sec epicsEventWaitWithTimeout ( 0.062500 ) tmo delay err 0.000137 sec epicsEventWaitWithTimeout ( 0.031250 ) tmo delay err 0.000138 sec epicsEventWaitWithTimeout ( 0.015625 ) tmo delay err 0.000063 sec epicsEventWaitWithTimeout ( 0.007812 ) tmo delay err 0.000140 sec epicsEventWaitWithTimeout ( 0.003906 ) tmo delay err 0.000062 sec epicsEventWaitWithTimeout ( 0.001953 ) tmo delay err 0.000138 sec epicsEventWaitWithTimeout ( 0.000977 ) tmo delay err 0.000140 sec epicsEventWaitWithTimeout ( 0.000488 ) tmo delay err 0.000099 sec epicsEventWaitWithTimeout ( 0.000244 ) tmo delay err 0.000132 sec epicsEventWaitWithTimeout ( 0.000122 ) tmo delay err 0.000091 sec epicsEventWaitWithTimeout ( 0.000061 ) tmo delay err 0.000018 sec epicsEventWaitWithTimeout ( 0.000031 ) tmo delay err 0.000015 sec epicsEventWaitWithTimeout ( 0.000015 ) tmo delay err 0.000013 sec epicsEventWaitWithTimeout ( 0.000008 ) tmo delay err 0.000014 sec epicsEventWaitWithTimeout ( 0.000004 ) tmo delay err 0.000014 sec epicsEventWaitWithTimeout ( 0.000002 ) tmo delay err 0.000023 sec epicsEventWaitWithTimeout ( 0.000000 ) tmo delay err 0.000001 sec Average error 0.000090 sec calling epicsEventWaitWithTimeout(event,2.0) time 1144408662 calling epicsEventTryWait(event) time 1144408664 calling epicsEventSignal() time 1144408664 calling epicsEventWaitWithTimeout(event,2.0) time 1144408664 calling epicsEventSignal() time 1144408664 calling epicsEventTryWait(event) time 1144408664 consumer 0x5005a0 starting time 1144408664 created producer 0 id 0x500690 time 1144408664 producer 0x500690 starting time 1144408664 producer 0x500690 sending created producer 1 id 0x500760 time 1144408664 producer 0x500760 starting time 1144408664 producer 0x500760 sending producer 0x500690 sending producer 0x500760 sending consumer message from 0x500690 consumer message from 0x500760 consumer message from 0x500690 consumer message from 0x500760 producer 0x500760 sending producer 0x500690 sending consumer message from 0x500760 consumer message from 0x500690 producer 0x500760 sending producer 0x500690 sending producer 0x500760 sending consumer message from 0x500760 consumer message from 0x500690 consumer message from 0x500760 producer 0x500690 sending consumer message from 0x500690 semTest setting quit time 1144408669 producer 0x500760 returning time 1144408669 consumer 0x5005a0 returning time 1144408669 producer 0x500690 returning time 1144408669 semTest returning time 1144408672 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 -- 6129 messages Sender 2 -- 6211 messages Sender 3 -- 6269 messages Sender 4 -- 6236 messages ### epicsMutexTestHost One lock pair completes in 0.156490 micro sec One double recursive lock pair completes in 0.237260 micro sec One quad recursive lock pair completes in 0.463670 micro sec calling epicsMutexLock(mutex) time 1144409008 calling epicsMutexTryLock(mutex) time 1144409008 epicsMutexId 0x500390 source ../epicsMutexTest.cpp line 264 ownerTid 0xa000cf60 count 2 owned 1 calling epicsMutexUnlock() time 1144409008 calling epicsMutexUnlock() time 1144409008 epicsMutexId 0x500390 source ../epicsMutexTest.cpp line 264 ownerTid 0x0 count 0 owned 0 semTest created mutexThread 0 id 0x500540 time 1144409008 mutexThread 0 starting time 1144409008 mutexThread 0 epicsMutexLock time 1144409008 semTest created mutexThread 1 id 0x5006a0 time 1144409008 mutexThread 1 starting time 1144409008 mutexThread 1 epicsMutexLock time 1144409008 mutexThread 0 epicsMutexLock time 1144409009 mutexThread 1 epicsMutexLock time 1144409009 mutexThread 0 epicsMutexLock time 1144409010 mutexThread 1 epicsMutexLock time 1144409010 mutexThread 0 epicsMutexLock time 1144409011 mutexThread 1 epicsMutexLock time 1144409011 mutexThread 0 epicsMutexLock time 1144409012 mutexThread 1 epicsMutexLock time 1144409012 semTest setting quit time 1144409013 mutexThread 0 returning time 1144409013 mutexThread 1 returning time 1144409013 main terminating ### epicsOkToBlockTestHost thread threadA isOkToBlock 0 thread threadB isOkToBlock 1 thread threadB epicsThreadIsOkToBlock 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 0xa0001c18 epicsGetStdout 0xa0001c18 This is first line of sample report This is second and last line of sample report at end stdout 0xa0001c18 epicsGetStdout 0xa0001c18 ### epicsStringTestHost String comparison tests completed. ### epicsThreadPriorityTestHost Does not appear to support strict priority scheduling ### epicsThreadPrivateTestHost It takes 0.014870 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 0x500370 old 0 new 0 testPriority thread id 0x500480 old 50 new 99 It takes 0.057210 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.000172 sec within 10%. threadTest starting threadTest created 0 myThread 0x500940 startPriority 50 minPriority 0 maxPriority 99 threadTest created 1 myThread 0x500b70 threadFunc 0 starting argvalue 0x500b50 threadFunc 1 starting argvalue 0x500d80 NAME EPICS ID PTHREAD ID OSIPRI OSSPRI STATE _main_ 0x500370 0 0 0 OK errlog 0x500770 41970688 10 31 OK task0 0x500a90 41971712 50 31 OK task1 0x500cc0 41972736 51 31 OK threadFunc 0 stopping argvalue 0x500b50 threadFunc 1 stopping argvalue 0x500d80 epicsThreadTest returning main terminating ### epicsTimeTestHost epicsTime Test (100 loops) ======================== Time per call to epicsTime::getCurrent() (100000 calls) = 0.232 usec The following should be your local time displayed using four different internal representations: epicsTimeStamp = Fri Apr 7 20:23:48 2006 761977000 nSec local time zone struct tm = Fri Apr 7 20:23:48 2006 0.761977 struct timespec = Fri Apr 7 20:23:48 2006 0.761977 UTC struct tm = Fri Apr 7 11:23:48 2006 0.761977 epicsTime: Fri Apr 07 2006 20:23:48.761977000 epicsTime: revision "@(#) EPICS 3.14.8.2, Common Utilities Library Apr 7 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.843 ms (0.538111 %) delay error > 0.5 %, delay = 0.8 s, error = -4.931 ms (0.616375 %) delay error > 0.5 %, delay = 0.7 s, error = -4.85 ms (0.692857 %) delay error > 0.5 %, delay = 0.6 s, error = -4.85 ms (0.808333 %) delay error > 0.5 %, delay = 0.5 s, error = -4.846 ms (0.969200 %) delay error > 0.5 %, delay = 0.4 s, error = -4.845 ms (1.211250 %) delay error > 0.5 %, delay = 0.3 s, error = -4.84 ms (1.613333 %) delay error > 0.5 %, delay = 0.2 s, error = -4.799 ms (2.399500 %) delay error > 0.5 %, delay = 0.1 s, error = -4.855 ms (4.855000 %) average timer delay error -4.854560 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". macLib: macro FOO is undefined (expanding string ${FOO}) 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}". macLib: macro BAZ is undefined (expanding string ${FOO}) ok 27 - "${FOO}". ok 28 - "${FOO}". ok 29 - "${FOO}". ok 30 - "${FOO}". # Expect 3 warning messages here: macLib: string ${FOO} is recursive (expanding environment variable FOO) ### ringPointerTestHost fill ring consumer starting empty ring main terminating ### epicsAlgorithmTest epicsMin, epicsMax and epicsSwap tested OK.