Skip to content
Snippets Groups Projects
Commit cc2f1ee6 authored by Eleni Mathioulaki's avatar Eleni Mathioulaki
Browse files

Revert "re-enable tests"

This reverts commit 3e798be8
parent 3e798be8
No related branches found
No related tags found
No related merge requests found
...@@ -178,8 +178,8 @@ class Hxtorch(WafPackage): ...@@ -178,8 +178,8 @@ 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('-v', '-X dev', '-c', 'import hxtorch; print(hxtorch.__file__)')
...@@ -154,8 +154,8 @@ class PynnBrainscales(WafPackage): ...@@ -154,8 +154,8 @@ 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__)')
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