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