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
No related merge requests found
...@@ -168,8 +168,11 @@ class Hxtorch(WafPackage): ...@@ -168,8 +168,11 @@ class Hxtorch(WafPackage):
args = ['--test-execnone'] args = ['--test-execnone']
return args return args
# def install_test(self): def install_test(self):
# with working_dir('spack-test', create=True): with working_dir('spack-test', create=True):
# old_pythonpath = os.environ.get('PYTHONPATH', '') old_pythonpath = os.environ.get('PYTHONPATH', '')
# os.environ['PYTHONPATH'] = ':'.join([str(self.prefix.lib), old_pythonpath]) os.environ['PYTHONPATH'] = ':'.join([str(self.prefix.lib), old_pythonpath])
# python('-v', '-X dev', '-c', 'import hxtorch; print(hxtorch.__file__)') 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): ...@@ -144,8 +144,11 @@ class PynnBrainscales(WafPackage):
args = ['--test-execnone'] args = ['--test-execnone']
return args return args
# def install_test(self): def install_test(self):
# with working_dir('spack-test', create=True): with working_dir('spack-test', create=True):
# old_pythonpath = os.environ.get('PYTHONPATH', '') old_pythonpath = os.environ.get('PYTHONPATH', '')
# os.environ['PYTHONPATH'] = ':'.join([str(self.prefix.lib), old_pythonpath]) os.environ['PYTHONPATH'] = ':'.join([str(self.prefix.lib), old_pythonpath])
# python('-c', 'import pynn_brainscales; print(pynn_brainscales.__file__)') 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