Tests green, even if no FESA class is running on the specified FEC
Just tried to run tests (empty) on the FEC dal004. Even though I did not start the FESA class yet, all tests are green:
............
=============Run Google-Tests Of FESA Class=============
INFO: Including the following Makefile: Makefile.specific
INFO: Including the following Makefile: /opt/cern/buildsystem/fesa/7.0.0/Make.user
INFO: Including the following Makefile: /opt/cern/buildsystem/fesa/7.0.0/Make.parent
INFO: Including the following Makefile: /opt/cern/buildsystem/generic/2.13.2/Make.generic
INFO: Including the following Makefile: /opt/cern/buildsystem/generic/2.13.2/Make.common
INFO: Including the following Makefile: /opt/cern/buildsystem/fesa/7.0.0/Make.fesa
INFO: Including the following Makefile: /opt/cern/buildsystem/fesa/7.0.0/Make.targets
Running main() from gtest_main.cc
[==========] Running 22 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 22 tests from TestDigitizerClass2
Trying to connect to DigitizerDU2.dal004
Used server_name: DigitizerDU2.dal004
[ RUN ] TestDigitizerClass2.ConnectionWithServer
[ OK ] TestDigitizerClass2.ConnectionWithServer (0 ms)
[ RUN ] TestDigitizerClass2.SetAndGetSetting
[ OK ] TestDigitizerClass2.SetAndGetSetting (0 ms)
[ RUN ] TestDigitizerClass2.SetAndGetConfigureRefTriggerEvents
[ OK ] TestDigitizerClass2.SetAndGetConfigureRefTriggerEvents (0 ms)
[ RUN ] TestDigitizerClass2.SetAndGetConfigureTriggerEventDAQ
[ OK ] TestDigitizerClass2.SetAndGetConfigureTriggerEventDAQ (0 ms)
[ RUN ] TestDigitizerClass2.SetAndGetFlowGraphConfig
[ OK ] TestDigitizerClass2.SetAndGetFlowGraphConfig (0 ms)
[ RUN ] TestDigitizerClass2.SetAndGetFlowGraphParameter
[ OK ] TestDigitizerClass2.SetAndGetFlowGraphParameter (0 ms)
[ RUN ] TestDigitizerClass2.SetAndGetChannelLogLevel
[ OK ] TestDigitizerClass2.SetAndGetChannelLogLevel (0 ms)
[ RUN ] TestDigitizerClass2.SetAndGetPower
[ OK ] TestDigitizerClass2.SetAndGetPower (0 ms)
[ RUN ] TestDigitizerClass2.GetStatus
[ OK ] TestDigitizerClass2.GetStatus (0 ms)
[ RUN ] TestDigitizerClass2.GetModuleStatus
[ OK ] TestDigitizerClass2.GetModuleStatus (0 ms)
[ RUN ] TestDigitizerClass2.GetAcquisitionDAQ
[ OK ] TestDigitizerClass2.GetAcquisitionDAQ (0 ms)
[ RUN ] TestDigitizerClass2.GetChannelConfigDAQ
[ OK ] TestDigitizerClass2.GetChannelConfigDAQ (0 ms)
[ RUN ] TestDigitizerClass2.GetSnoopTriggerEvents
[ OK ] TestDigitizerClass2.GetSnoopTriggerEvents (0 ms)
[ RUN ] TestDigitizerClass2.GetSystemMonitor
[ OK ] TestDigitizerClass2.GetSystemMonitor (0 ms)
[ RUN ] TestDigitizerClass2.GetVersion
[ OK ] TestDigitizerClass2.GetVersion (0 ms)
[ RUN ] TestDigitizerClass2.RT_ACTION_DigitizerTriggerAction
[ OK ] TestDigitizerClass2.RT_ACTION_DigitizerTriggerAction (0 ms)
[ RUN ] TestDigitizerClass2.RT_ACTION_UpdateDAQClients
[ OK ] TestDigitizerClass2.RT_ACTION_UpdateDAQClients (0 ms)
[ RUN ] TestDigitizerClass2.RT_ACTION_CalcTimeOffsetAction
[ OK ] TestDigitizerClass2.RT_ACTION_CalcTimeOffsetAction (0 ms)
[ RUN ] TestDigitizerClass2.RT_ACTION_CheckStreamingSampRateAction
[ OK ] TestDigitizerClass2.RT_ACTION_CheckStreamingSampRateAction (0 ms)
[ RUN ] TestDigitizerClass2.RT_ACTION_UpdateStatus
[ OK ] TestDigitizerClass2.RT_ACTION_UpdateStatus (0 ms)
[ RUN ] TestDigitizerClass2.RT_ACTION_PersistAndResetAction
[ OK ] TestDigitizerClass2.RT_ACTION_PersistAndResetAction (0 ms)
[ RUN ] TestDigitizerClass2.RT_ACTION_CheckCPUandRamAction
[ OK ] TestDigitizerClass2.RT_ACTION_CheckCPUandRamAction (0 ms)
[----------] 22 tests from TestDigitizerClass2 (1 ms total)
[----------] Global test environment tear-down
[==========] 22 tests from 1 test case ran. (14 ms total)
[ PASSED ] 22 tests.
=============Google Tests have just Passed=============
========Killing PID 24735 Of Running FESA Class Instance========
./run_google_tests.sh: line 53: kill: (24735) - No such process
====================================DONE!======================================
[schwinn@asl743 DigitizerClass2]$ ./run_google_tests.sh
Instead, they all should fail if the FESA class to connect to is not running.