From b7787e5dece3f3f81161843950dcebb282fb79e0 Mon Sep 17 00:00:00 2001 From: Pete Peterson <petersonpf@ornl.gov> Date: Tue, 14 Apr 2015 08:39:34 -0400 Subject: [PATCH] Skpping tests where fit gives different results --- .../SystemTests/tests/analysis/SNSPowderRedux.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Code/Mantid/Testing/SystemTests/tests/analysis/SNSPowderRedux.py b/Code/Mantid/Testing/SystemTests/tests/analysis/SNSPowderRedux.py index a155ba3ae80..26f0aab056e 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 -- GitLab