Skip to content

Commit

Permalink
Skip tests if file not downloaded.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmlapre committed Dec 12, 2024
1 parent 7ef7dee commit a589e03
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/sst/elements/cramSim/tests/testsuite_default_cramSim.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,14 @@ class testcase_cramSim_Component(SSTTestCase):

def setUp(self):
super(type(self), self).setUp()
if self.__class__.download_file is None:
self.skipTest("File not downloaded!")
self._setupcramSimTestFiles()

@classmethod
def setUpClass(cls):
super().setUpClass()
cls.download_file = None
cls.downloadFiles()

@classmethod
Expand Down

0 comments on commit a589e03

Please sign in to comment.