diff --git a/Code/Mantid/Testing/SystemTests/tests/analysis/SNSPowderRedux.py b/Code/Mantid/Testing/SystemTests/tests/analysis/SNSPowderRedux.py index a155ba3ae80b73eb84dfdd0a24bc9c671a56632b..26f0aab056e6c8096ca533e489f2f09f52537eec 100644 --- a/Code/Mantid/Testing/SystemTests/tests/analysis/SNSPowderRedux.py +++ b/Code/Mantid/Testing/SystemTests/tests/analysis/SNSPowderRedux.py @@ -5,6 +5,13 @@ from mantid.api import FileFinder import os +def _skip_test(): + """Helper function to determine if we run the test""" + import platform + + # Only runs on RHEL6 at the moment + return ("Linux" not in platform.platform()) + def getSaveDir(): """determine where to save - the current working directory""" import os @@ -31,6 +38,9 @@ class PG3Analysis(stresstesting.MantidStressTest): cal_file = "PG3_FERNS_d4832_2011_08_24.cal" char_file = "PG3_characterization_2011_08_31-HR.txt" + def skipTests(self): + return _skip_test() + def cleanup(self): do_cleanup() return True @@ -72,6 +82,9 @@ class PG3StripPeaks(stresstesting.MantidStressTest): ref_file = 'PG3_4866_reference.gsa' cal_file = "PG3_FERNS_d4832_2011_08_24.cal" + def skipTests(self): + return _skip_test() + def cleanup(self): do_cleanup() return True