Project

General

Profile

How to run CI tests interactively

NOTE: Before to execute the tests locally move to a working directory, while running CI tests it creates a new folder for each CI test that runs. Also make sure to have access to enough disk space, depending on the nature of the CI tests executed, you could need few Gb of disk space.

To run the CI tests on the local machine you need to set up the environment for your local installed LArSoft and/or experiment code and the CI environment.

Once the environment is configured, you can see the list of CI tests and the list of CI test suites available with the following command:

test_runner -l

To run the CI tests on the local machine you can use the following command:

test_runner <name of the test suite or name of the CI test>
for test_runner you can use also the following useful options:
  • -v for the verbose mode
  • -d for the debug mode
  • -s to get the statistics of the different tests

so the command will be:

test_runner -v -d -s <name of the test suite or name of the CI test>

As default test_runner process up to 5 tests in parallel, this value can be modified using the option --parallel-limit.

For the online help page of the test_runner, use the following command:

test_runner -h