From the build directory, after creating a release directory via =make install= (or equivalent), run:
{code}
-ctest
+ctest -L ctest -j 10
{endcode}
That's it! The tests should be idempotent - it should be safe to re-run them as many times as desired.
@@ -40,10 +40,13 @@
Some =ctest= tips and tricks:
{code}
-# Run 20 test cases in parallel:
-ctest -j 20
+# Run 20 test cases in parallel -- depending on your machine/container,
+# you may be able torun as many as 30 or as few as 10 before tests fail due to overloading
+ctest -j 20 -L ctest
# Run all tests matching the regex `cmr`:
ctest -R cmr
+# Run all tests except those matching `cmr`:
+ctest -E cmr
{endcode}
{subsection: Running ctest in a docker container}