Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions reframe/utility/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -630,8 +630,8 @@ def _is_valid_for_env(m, e):
if environ_mapping is None:
return True

for patt, environs in environ_mapping.items():
if re.match(patt, m) and e in environs:
for patt, env in environ_mapping.items():
if re.match(patt, m) and e == env:
return True

return False
Expand Down