Skip to content

Only split large python tests

Maik Nijhuis requested to merge optionally-split-python-tests into master

Since creating a ctest test for each python subtest has overhead when running CMake, make this feature optional, and only use it for long-running python test files.

On DAS-6, the wall clock time for running CMake was reduced from 14.4 seconds to 6.5 seconds. The tests themselves also run faster, since a single pytest invocation typically runs multiple tests now.

Edited by Maik Nijhuis

Merge request reports