Ensure that tests are optional (#3922)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user