diff --git a/tests/utils/stl/test/tests.py b/tests/utils/stl/test/tests.py index 4e1b99eba5..658db99612 100644 --- a/tests/utils/stl/test/tests.py +++ b/tests/utils/stl/test/tests.py @@ -30,6 +30,8 @@ class TestType(Flag): class STLTest(Test): + compilerNotFound = set() + def __init__(self, suite, pathInSuite, litConfig, testConfig, envlstEntry, envNum): self.envNum = envNum self.envlstEntry = envlstEntry @@ -217,7 +219,9 @@ def _handleEnvlst(self, litConfig): _compilerPathCache[envCompiler] = cxx if not cxx: - litConfig.warning('Could not find: %r' % envCompiler) + if envCompiler not in self.compilerNotFound: + self.compilerNotFound.add(envCompiler) + litConfig.warning('Could not find: %r' % envCompiler) return Result(SKIPPED, 'This test was skipped because the compiler, "' + envCompiler + '", could not be found')