]> https://gitweb.dealii.org/ - dealii.git/commit
Execute quick tests in parallel. 7143/head
authorDavid Wells <drwells@email.unc.edu>
Mon, 3 Sep 2018 21:22:01 +0000 (17:22 -0400)
committerDavid Wells <drwells@email.unc.edu>
Thu, 13 Sep 2018 23:19:03 +0000 (19:19 -0400)
commit3be1ee50f0e2a61535e8accc524dcdba5bf3b109
treec15763e7585d7c6f9308eae3e151e4324bce3a36
parent7012fb918f007c4c0c67bdfa8fc08a8215e37c7c
Execute quick tests in parallel.

The quick tests are currently set up as a custom target which immediately
launches ctest. The difficulty with this is that its not possible (AFAICT) to
get the number of jobs available from make at that point, so there is no way to
run these in parallel without giving an explicit number of jobs to ctest.

This PR sets the number of jobs to the number of CPUs on the machine: while
hardcoding this is not ideal, this is the right usage pattern for a build script
like

    make -j20
    make test

where all processors on the machine should be available.
doc/news/changes/minor/20180913DavidWells [new file with mode: 0644]
doc/readme.html
tests/quick_tests/run.cmake

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.