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

@@ -95,6 +95,7 @@ def symlink_opencl(self):
os.symlink("OpenCL", join_path(self.prefix.include, "CL"))
@run_after('install')
@on_package_attributes(run_tests=True)
def check_install(self):
# Build and run a small program to test the installed OpenCL library
spec = self.spec