Skip to content
Snippets Groups Projects
Commit b7787e5d authored by Peterson, Peter's avatar Peterson, Peter
Browse files

Skpping tests where fit gives different results

parent 147e7ee3
No related branches found
No related tags found
No related merge requests found
...@@ -5,6 +5,13 @@ from mantid.api import FileFinder ...@@ -5,6 +5,13 @@ from mantid.api import FileFinder
import os 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(): def getSaveDir():
"""determine where to save - the current working directory""" """determine where to save - the current working directory"""
import os import os
...@@ -31,6 +38,9 @@ class PG3Analysis(stresstesting.MantidStressTest): ...@@ -31,6 +38,9 @@ class PG3Analysis(stresstesting.MantidStressTest):
cal_file = "PG3_FERNS_d4832_2011_08_24.cal" cal_file = "PG3_FERNS_d4832_2011_08_24.cal"
char_file = "PG3_characterization_2011_08_31-HR.txt" char_file = "PG3_characterization_2011_08_31-HR.txt"
def skipTests(self):
return _skip_test()
def cleanup(self): def cleanup(self):
do_cleanup() do_cleanup()
return True return True
...@@ -72,6 +82,9 @@ class PG3StripPeaks(stresstesting.MantidStressTest): ...@@ -72,6 +82,9 @@ class PG3StripPeaks(stresstesting.MantidStressTest):
ref_file = 'PG3_4866_reference.gsa' ref_file = 'PG3_4866_reference.gsa'
cal_file = "PG3_FERNS_d4832_2011_08_24.cal" cal_file = "PG3_FERNS_d4832_2011_08_24.cal"
def skipTests(self):
return _skip_test()
def cleanup(self): def cleanup(self):
do_cleanup() do_cleanup()
return True return True
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment