-
Notifications
You must be signed in to change notification settings - Fork 456
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use parallel jobs in ctest #664
Comments
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Running
ctest
with the option-j
allows it to run tests in parallel. For example,ctest -j 8
will run with 8 threads. On my quad core machine, this setting cut the time to run ctest in half.
As the test suite is growing ( a good thing), it is very helpful to shorten the test cycle.
So, it would be great to put this setting in the cmake files, somehow.
I tried setting
set(CTEST_PARALLEL_LEVEL 8)
in
CTestCustom.cmake.in
but this didn't change the command line options.
The text was updated successfully, but these errors were encountered: