Skip to content

Commit ecb237d

Browse files
author
Vasileios Karakasis
committed
Skip test if sanity_patterns is undefined
1 parent e5dc0d0 commit ecb237d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

reframe/frontend/loader.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,8 @@ def _validate_check(self, check):
8181

8282
name = type(check).__name__
8383
checkfile = os.path.relpath(inspect.getfile(type(check)))
84-
required_attrs = ['valid_systems', 'valid_prog_environs']
84+
required_attrs = ['sanity_patterns',
85+
'valid_systems', 'valid_prog_environs']
8586
for attr in required_attrs:
8687
if getattr(check, attr) is None:
8788
getlogger().warning(

0 commit comments

Comments
 (0)