8000 Running tests · exadg/exadg Wiki · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Running tests

Niklas Fehn edited this page Mar 12, 2022 · 8 revisions

Running tests with ctest

cd $WORKING_DIRECTORY/exadg/build/

# Parallel execution of tests (each test runs in serial)
ctest -j <N>

# As above, but with more detailed output
ctest -j <N> -V

# As above, but only for a subset of tests that contain <identifier> in their name (or directory)
ctest -j <N> -R <identifier> -V
Alternatively, use
make test
to run the tests.

FAQ’s

I added a test, but the test framework does not run this test!?

Note that you might have to re-configure ExaDG when adding tests

cd $WORKING_DIRECTORY/exadg/build/
bash ./config_exadg.sh
Then, proceed as described above.
Clone this wiki locally
0