Skip to content
Snippets Groups Projects
Commit 89d01a98 authored by Dennis Terhorst's avatar Dennis Terhorst :rocket:
Browse files

fix condition on 'testsuite' variant

Co-Authored by: Eleni Mathioulaki <emathioulaki@athenarc.gr>
parent a5e5019f
No related branches found
No related tags found
4 merge requests!301create new experimental release,!300add spack post-installation testing,!279update py-elephant to 0.12.0,!214Change NEST tests from build to install phase
Pipeline #20674 failed with stage
in 2 hours, 27 minutes, and 30 seconds
......@@ -194,19 +194,19 @@ class Nest(CMakePackage):
self.stage.source_path, recursive=True):
install(f, path_headers)
@when('+testsuite')
@run_after('install')
@on_package_attributes(run_tests=True)
def installcheck(self):
print('''
##########################################
###
### RUNNING MAKE INSTALLCHECK
###
##########################################
''')
with working_dir(self.build_directory):
make("installcheck")
if self.spec.variants['testsuite'].value:
print('''
##########################################
###
### RUNNING MAKE INSTALLCHECK
###
##########################################
''')
with working_dir(self.build_directory):
make("installcheck")
def setup_run_environment(self, env):
pass
......
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