Skip to content

atlas_add_test improvements, 1.0 branch (2017.11.22.)

The update moves the atlas_add_test(...) code to its own file/module (AtlasTestFunctions.cmake), and implements some long desired features.

With the new version it becomes possible to declare tests like:

atlas_add_test( python_unit_test
   SCRIPT python -m unittest MyPackage.MyModule )

Or:

atlas_add_test( athena_test
   SCRIPT athena.py MyPackage/MyJob_jobOptions.py )

Previously this would've required writing a separate script for all of these commands. And as it happens, there was no good way of declaring the Python unit tests for macOS before the update. (It's a long story with SIP...)

Merge request reports

Loading