We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 168849d commit 0b43dfeCopy full SHA for 0b43dfe
cscs-checks/prgenv/hip/build_hip.py
@@ -39,9 +39,9 @@ def set_compile_options(self):
39
f'-DHIP_PLATFORM={self.hip_platform}',
40
]
41
42
- @run_before('sanity')
+ @sanity_function
43
def set_sanity_patterns(self):
44
- self.sanity_patterns = sn.assert_found(r'nvcc:\s+NVIDIA', self.stdout)
+ return sn.assert_found(r'nvcc:\s+NVIDIA', self.stdout)
45
46
47
@rfm.simple_test
@@ -76,6 +76,6 @@ def set_env(self):
76
self.variables = {'HIP_PATH': f'{self.hip_path}'}
77
self.build_system.cxx = os.path.join(self.hip_path, 'bin', 'hipcc')
78
79
80
def set_sanity(self):
81
- self.sanity_patterns = sn.assert_found(r'HelloWorld', self.stdout)
+ return sn.assert_found(r'HelloWorld', self.stdout)
0 commit comments