Skip to content

Commit

Permalink
Merge pull request #38069 from cailafinn/skip_macos_bayesquasi
Browse files Browse the repository at this point in the history
Skip BayesQuasiTest on macOS
  • Loading branch information
RichardWaiteSTFC committed Sep 23, 2024
2 parents 0682054 + 75257ac commit e0d95df
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Testing/SystemTests/tests/framework/BayesQuasiTest.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
# Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
# SPDX - License - Identifier: GPL - 3.0 +
# pylint: disable=no-init,attribute-defined-outside-init

from sys import platform
from systemtesting import MantidSystemTest
from mantid.simpleapi import BayesQuasi, Load

Expand All @@ -13,6 +15,9 @@ class BayesQuasiTest(MantidSystemTest):
_sample_name = "irs26176_graphite002_red"
_resolution_name = "irs26173_graphite002_res"

def skipTests(self):
return platform == "darwin"

def runTest(self):
Load(Filename=f"{self._sample_name}.nxs", OutputWorkspace=self._sample_name, LoadHistory=False)
Load(Filename=f"{self._resolution_name}.nxs", OutputWorkspace=self._resolution_name, LoadHistory=False)
Expand Down

0 comments on commit e0d95df

Please sign in to comment.