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

disable post-install test

parent 5c9b698d
No related branches found
No related tags found
No related merge requests found
......@@ -177,8 +177,8 @@ 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('-v', '-X dev', '-c', 'import hxtorch; print(hxtorch.__file__)')
......@@ -155,7 +155,7 @@ class PynnBrainscales(WafPackage):
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__)')
# 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__)')
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