DUNE-DAQ / readoutmodules

0 stars 0 forks source link

Problems with automated integration test and the new C++ code on feature/extra_stop_commands branches #16

Closed bieryAtFnal closed 2 years ago

bieryAtFnal commented 2 years ago

I've noticed that some of the automated integration tests in dfmodules/integtests show warning messages when running with the code on the feature/extra_stop_commands branches.

I've made some initial updates to the dfmodules/integtests to convert them to the new nanorc commands.

Some examples,

cd sourcecode/dfmodules/integtest
curl -o frames.bin -O https://cernbox.cern.ch/index.php/s/0XzhExSIMQJUsp0/download
pytest -s minimal_system_quick_test.py --frame-file $PWD/frames.bin
pytest -s readout_type_scan.py --frame-file $PWD/frames.bin
pytest -s 3ru_3df_multirun_test.py --frame-file $PWD/frames.bin

The latter test is the one that most often demonstrates the problems.

Other useful integtests include

pytest -s 3ru_1df_multirun_test.py --frame-file $PWD/frames.bin
pytest -s long_window_readout_test.py --frame-file $PWD/frames.bin
cat README.md  # for a full list