Skip to content

Testing

frgitdaq edited this page Jul 27, 2020 · 4 revisions

Faux Testing

The Travis testing process can be simulated on a local PC by following these steps:

  • Setup DAQ using sudo bin/setup_daq
  • Delete the local and inst folders
  • Modify bin/test_daq by inserting DAQ_TEST=aux at the top of the file (where aux is the type of test to be carried out)

Debugging

The console output of each faux device, or other containers, can be viewed using docker attach daq-faux-1 where faux-1 is the name of the container. Useful containers include daq-faux-1, daq-faux-2, daq-faux-3 and daq-usi.

A live network log of each faux device can be viewed using Wireshark by listening to the interface named faux-% where % is the number of the faux device (1-3).

Clone this wiki locally