]> https://gitweb.dealii.org/ - dealii.git/commit
CMake: Allow to define multiple threads= variant tests
authorMatthias Maier <tamiko@43-1.org>
Tue, 15 Feb 2022 12:39:10 +0000 (06:39 -0600)
committerMatthias Maier <tamiko@43-1.org>
Tue, 15 Feb 2022 15:28:34 +0000 (09:28 -0600)
commite91c15c81ac663b1660020cce45a0e258b2eaf0c
treea41cb48aa292f536d17aa35a5f0410fc64cc9f6f
parent122f9699b50c6482a2e0e80b4667c0bae1e3aa75
CMake: Allow to define multiple threads= variant tests

This change allow to define multiple test flavors with threads=
similarly to how we handle mpirun=. For example,

  category/test.cc
  category/test.threads=2.output
  category/test.threads=4.output

will now create one top level target to compile test.cc and define two
tests "category/test.threads=2.(release|debug)" and
"category/test.threads=4.(release|debug)" that execute the test program
with a threadpool size set to 2 and 4, respectively.
cmake/macros/macro_deal_ii_add_test.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.