The Gaudi Framework  master (da3d77e1)
SkippedTestExample.py
Go to the documentation of this file.
1 #!/usr/bin/env gaudirun.py
2 
12 
13 import sys
14 
15 # import special return code to indicate that the test is skipped
16 from GaudiTesting import SKIP_RETURN_CODE
17 
18 # NOTE: returning SKIP_RETURN_CODE is meant for tests which should be skipped
19 # based on runtime information.
20 # If you know at configuration time that a tests should be skipped
21 # perfer disabling the test from CMake by setting the DISABLED propertey:
22 # set_property(
23 # TEST
24 # the_name_of_your_test
25 # APPEND PROPERTY
26 # DISABLED TRUE
27 # )
28 
29 # exit and return the code indicating that this test was skipped
30 sys.exit(SKIP_RETURN_CODE)