Skip to content

Commit

Permalink
remove initializeTestModule_SingleInstance()
Browse files Browse the repository at this point in the history
where it's empty, leave the others for later
  • Loading branch information
jmlapre committed Aug 6, 2024
1 parent a35d9f6 commit a2b420c
Show file tree
Hide file tree
Showing 17 changed files with 0 additions and 368 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,6 @@
module_init = 0
module_sema = threading.Semaphore()

def initializeTestModule_SingleInstance(class_inst):
global module_init
global module_sema

module_sema.acquire()
if module_init != 1:
try:
# Put your single instance Init Code Here
pass
except:
pass
module_init = 1
module_sema.release()

################################################################################

Expand All @@ -34,7 +21,6 @@ def initializeClass(self, testName):

def setUp(self):
super(type(self), self).setUp()
initializeTestModule_SingleInstance(self)
# Put test based setup code here. it is called once before every test

def tearDown(self):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,6 @@
from sst_unittest import *
from sst_unittest_support import *

################################################################################
# Code to support a single instance module initialize, must be called setUp method

module_init = 0
module_sema = threading.Semaphore()

def initializeTestModule_SingleInstance(class_inst):
global module_init
global module_sema

module_sema.acquire()
if module_init != 1:
try:
# Put your single instance Init Code Here
pass
except:
pass
module_init = 1
module_sema.release()

################################################################################

class testcase_cassini_prefetch(SSTTestCase):

Expand All @@ -34,7 +13,6 @@ def initializeClass(self, testName):

def setUp(self):
super(type(self), self).setUp()
initializeTestModule_SingleInstance(self)
# Put test based setup code here. it is called once before every test

def tearDown(self):
Expand Down
22 changes: 0 additions & 22 deletions src/sst/elements/gensa/tests/testsuite_default_gensa.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,6 @@
from sst_unittest import *
from sst_unittest_support import *

################################################################################
# Code to support a single instance module initialize, must be called setUp method

module_init = 0
module_sema = threading.Semaphore()

def initializeTestModule_SingleInstance(class_inst):
global module_init
global module_sema

module_sema.acquire()
if module_init != 1:
try:
# Put your single instance Init Code Here
pass
except:
pass
module_init = 1
module_sema.release()

################################################################################

class testcase_gensa_Component(SSTTestCase):

Expand All @@ -34,7 +13,6 @@ def initializeClass(self, testName):

def setUp(self):
super(type(self), self).setUp()
initializeTestModule_SingleInstance(self)
# Put test based setup code here. it is called once before every test

def tearDown(self):
Expand Down
22 changes: 0 additions & 22 deletions src/sst/elements/kingsley/tests/testsuite_default_kingsley.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,6 @@
from sst_unittest import *
from sst_unittest_support import *

################################################################################
# Code to support a single instance module initialize, must be called setUp method

module_init = 0
module_sema = threading.Semaphore()

def initializeTestModule_SingleInstance(class_inst):
global module_init
global module_sema

module_sema.acquire()
if module_init != 1:
try:
# Put your single instance Init Code Here
pass
except:
pass
module_init = 1
module_sema.release()

################################################################################

class testcase_kingsley_Component(SSTTestCase):

Expand All @@ -34,7 +13,6 @@ def initializeClass(self, testName):

def setUp(self):
super(type(self), self).setUp()
initializeTestModule_SingleInstance(self)
# Put test based setup code here. it is called once before every test

def tearDown(self):
Expand Down
22 changes: 0 additions & 22 deletions src/sst/elements/llyr/tests/testsuite_default_llyr.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,6 @@
from sst_unittest import *
from sst_unittest_support import *

################################################################################
# Code to support a single instance module initialize, must be called setUp method

module_init = 0
module_sema = threading.Semaphore()

def initializeTestModule_SingleInstance(class_inst):
global module_init
global module_sema

module_sema.acquire()
if module_init != 1:
try:
# Put your single instance Init Code Here
pass
except:
pass
module_init = 1
module_sema.release()

################################################################################

class testcase_llyr_Component(SSTTestCase):

Expand All @@ -34,7 +13,6 @@ def initializeClass(self, testName):

def setUp(self):
super(type(self), self).setUp()
initializeTestModule_SingleInstance(self)
# Put test based setup code here. it is called once before every test

def tearDown(self):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,29 +4,6 @@
from sst_unittest_support import *
import os

################################################################################
# Code to support a single instance module initialize, must be called setUp method

module_init = 0
module_sema = threading.Semaphore()

def initializeTestModule_SingleInstance(class_inst):
global module_init
global module_sema

module_sema.acquire()
if module_init != 1:
try:
# Put your single instance Init Code Here
pass
except:
pass
module_init = 1
module_sema.release()

################################################################################
################################################################################
################################################################################

class testcase_memHierarchy_hybridsim(SSTTestCase):

Expand All @@ -37,7 +14,6 @@ def initializeClass(self, testName):

def setUp(self):
super(type(self), self).setUp()
initializeTestModule_SingleInstance(self)
# Put test based setup code here. it is called once before every test

def tearDown(self):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,7 @@
import os.path
import re

################################################################################
# Code to support a single instance module initialize, must be called setUp method

module_init = 0
module_sema = threading.Semaphore()

def initializeTestModule_SingleInstance(class_inst):
global module_init
global module_sema

module_sema.acquire()
if module_init != 1:
try:
# Put your single instance Init Code Here
pass
except:
pass
module_init = 1
module_sema.release()

################################################################################
################################################################################
################################################################################

Expand All @@ -38,7 +18,6 @@ def initializeClass(self, testName):

def setUp(self):
super(type(self), self).setUp()
initializeTestModule_SingleInstance(self)
# Put test based setup code here. it is called once before every test

def tearDown(self):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,29 +4,6 @@
from sst_unittest_support import *
import os.path

################################################################################
# Code to support a single instance module initialize, must be called setUp method

module_init = 0
module_sema = threading.Semaphore()

def initializeTestModule_SingleInstance(class_inst):
global module_init
global module_sema

module_sema.acquire()
if module_init != 1:
try:
# Put your single instance Init Code Here
pass
except:
pass
module_init = 1
module_sema.release()

################################################################################
################################################################################
################################################################################

class testcase_memHierarchy_sdl(SSTTestCase):

Expand All @@ -37,7 +14,6 @@ def initializeClass(self, testName):

def setUp(self):
super(type(self), self).setUp()
initializeTestModule_SingleInstance(self)
# Put test based setup code here. it is called once before every test

def tearDown(self):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,6 @@
from sst_unittest import *
from sst_unittest_support import *

module_init = 0
module_sema = threading.Semaphore()

################################################################################
# Code to support a single instance module initialize, must be called setUp method

def initializeTestModule_SingleInstance(class_inst):
global module_init
global module_sema

module_sema.acquire()
if module_init != 1:
try:
# Put your single instance Init Code Here
pass
except:
pass
module_init = 1
module_sema.release()

################################################################################

class testcase_memH_openMP_dirnoncacheable(SSTTestCase):

Expand All @@ -34,7 +13,6 @@ def initializeClass(self, testName):

def setUp(self):
super(type(self), self).setUp()
initializeTestModule_SingleInstance(self)

def tearDown(self):
# Put test based teardown code here. it is called once after every test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,6 @@
from sst_unittest import *
from sst_unittest_support import *

module_init = 0
module_sema = threading.Semaphore()

################################################################################
# Code to support a single instance module initialize, must be called setUp method

def initializeTestModule_SingleInstance(class_inst):
global module_init
global module_sema

module_sema.acquire()
if module_init != 1:
try:
# Put your single instance Init Code Here
pass
except:
pass
module_init = 1
module_sema.release()

################################################################################

class testcase_memH_openMP_diropenMP(SSTTestCase):

Expand All @@ -34,7 +13,6 @@ def initializeClass(self, testName):

def setUp(self):
super(type(self), self).setUp()
initializeTestModule_SingleInstance(self)

def tearDown(self):
# Put test based teardown code here. it is called once after every test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

dirpath = os.path.dirname(sys.modules[__name__].__file__)

module_init = 0
module_sema = threading.Semaphore()
sweep_test_matrix = []

################################################################################
Expand Down Expand Up @@ -122,24 +120,6 @@ def gen_custom_name(testcase_func, param_num, param):
parameterized.to_safe_name(str(param.args[9]))) # prefetch
return testcasename

################################################################################
# Code to support a single instance module initialize, must be called setUp method

def initializeTestModule_SingleInstance(class_inst):
global module_init
global module_sema

module_sema.acquire()
if module_init != 1:
try:
# Put your single instance Init Code Here
pass
except:
pass
module_init = 1
module_sema.release()

################################################################################

class testcase_memH_sweep_dirsweepB(SSTTestCase):

Expand All @@ -150,7 +130,6 @@ def initializeClass(self, testName):

def setUp(self):
super(type(self), self).setUp()
initializeTestModule_SingleInstance(self)

def tearDown(self):
# Put test based teardown code here. it is called once after every test
Expand Down
Loading

0 comments on commit a2b420c

Please sign in to comment.