Skip to content
Snippets Groups Projects
Commit afb57d09 authored by Eric Müller's avatar Eric Müller :mountain_bicyclist:
Browse files

feat(BSS2): reenable install tests

We previously had those install tests disabled due to segfaults happening at
teardown time (log4cxx double free or similar issues).
parent 44d361dd
No related branches found
No related tags found
2 merge requests!399create new experimental release,!396feat(BSS2): add/reenable tests
Pipeline #24812 passed with stage
in 3 hours, 30 minutes, and 16 seconds
......@@ -168,8 +168,11 @@ class Hxtorch(WafPackage):
args = ['--test-execnone']
return args
# def install_test(self):
# with working_dir('spack-test', create=True):
# old_pythonpath = os.environ.get('PYTHONPATH', '')
# os.environ['PYTHONPATH'] = ':'.join([str(self.prefix.lib), old_pythonpath])
# python('-v', '-X dev', '-c', 'import hxtorch; print(hxtorch.__file__)')
def install_test(self):
with working_dir('spack-test', create=True):
old_pythonpath = os.environ.get('PYTHONPATH', '')
os.environ['PYTHONPATH'] = ':'.join([str(self.prefix.lib), old_pythonpath])
python('-c', 'import hxtorch; print(hxtorch.__file__)')
# ignore exit code for now
cmd_true = which("true")
cmd_true()
......@@ -144,8 +144,11 @@ class PynnBrainscales(WafPackage):
args = ['--test-execnone']
return args
# def install_test(self):
# with working_dir('spack-test', create=True):
# old_pythonpath = os.environ.get('PYTHONPATH', '')
# os.environ['PYTHONPATH'] = ':'.join([str(self.prefix.lib), old_pythonpath])
# python('-c', 'import pynn_brainscales; print(pynn_brainscales.__file__)')
def install_test(self):
with working_dir('spack-test', create=True):
old_pythonpath = os.environ.get('PYTHONPATH', '')
os.environ['PYTHONPATH'] = ':'.join([str(self.prefix.lib), old_pythonpath])
python('-c', 'import pynn_brainscales; print(pynn_brainscales.__file__)')
# ignore exit code for now
cmd_true = which("true")
cmd_true()
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment