You are here

Run the tests

Running the ROOT battery of tests

Running all ROOT tests before sending a PR or before pushing anything to the ROOT repository is mandatory. In order to be able to run all tests, the simple steps below need to be followed

Prepare your development area and build ROOT

mkdir RootDevelopment
cd RootDevelopment
git clone
git clone
mkdir build
cd build
echo Note the cmake options
cmake -DCMAKE_BUILD_TYPE=Debug -Dtesting=ON -Droottest=ON ../root

Inspect and run the tests

From within the build directory - List all tests: ctest -N - List all test matching a regex: ctest -N -R myregex - Run all tests on N cores: ctest -j N