diff --git a/checks/prgenv/uenv_fixincludes.py b/checks/prgenv/uenv_fixincludes.py index 8d45e4013..6379886a1 100644 --- a/checks/prgenv/uenv_fixincludes.py +++ b/checks/prgenv/uenv_fixincludes.py @@ -7,7 +7,13 @@ import reframe.utility.sanity as sn -@rfm.xfail('ICON uenvs are based on old versions of spack that don\'t fix GCC\'s includes', lambda self: self.current_environ.name.startswith('icon')) # noqa:E501 +@rfm.xfail( + "ICON uenvs are based on old versions of spack that don't fix GCC's includes", + lambda self: ( + self.current_environ.name.startswith("icon_25.2_v4") + or self.current_environ.name.startswith("icon-dsl_25.12_v2") + ), +) # noqa:E501 @rfm.simple_test class UenvFixincludes(rfm.RunOnlyRegressionTest): descr = '''