Ensure that tests are optional (#3922)

This commit is contained in:
Adam J. Stewart
2017-04-21 12:15:39 -05:00
committed by GitHub
parent 5250e8ee89
commit 46d0ca9d01
13 changed files with 24 additions and 14 deletions

View File

@@ -137,8 +137,8 @@ def setup_environment(self, spack_env, run_env):
run_env.set('CLIK_DATA', join_path(prefix, 'share', 'clik'))
run_env.set('CLIK_PLUGIN', 'rel2015')
@on_package_attributes(run_tests=True)
@run_after('install')
@on_package_attributes(run_tests=True)
def check_install(self):
prefix = self.prefix
clik_example_C = Executable(join_path(prefix.bin, 'clik_example_C'))