[clang-tools-extra] [Clang-tidy] Mark broken test as unsupported. (PR #191635)
via cfe-commits
cfe-commits at lists.llvm.org
Sat Apr 11 08:26:39 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 3187 tests passed
* 7 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### Clang Tools
<details>
<summary>Clang Tools.clang-tidy/infrastructure/custom-query-check.cpp</summary>
```
Exception during script execution:
Traceback (most recent call last):
File "/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/utils/lit/lit/BooleanExpression.py", line 32, in evaluate
return parser.parseAll()
^^^^^^^^^^^^^^^^^
File "/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/utils/lit/lit/BooleanExpression.py", line 151, in parseAll
self.token = next(self.tokens)
^^^^^^^^^^^^^^^^^
File "/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/utils/lit/lit/BooleanExpression.py", line 62, in tokenize
raise ValueError("couldn't parse text: %r" % string)
ValueError: couldn't parse text: '*'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/utils/lit/lit/Test.py", line 432, in getUnsupportedFeatures
if BooleanExpression.evaluate(item, features)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/utils/lit/lit/BooleanExpression.py", line 34, in evaluate
raise ValueError(str(e) + ("\nin expression: %r" % string))
ValueError: couldn't parse text: '*'
in expression: '*'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/utils/lit/lit/worker.py", line 77, in _execute_test_handle_errors
result = test.config.test_format.execute(test, lit_config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/utils/lit/lit/formats/shtest.py", line 29, in execute
return lit.TestRunner.executeShTest(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 2488, in executeShTest
parsed = parseIntegratedTestScript(test, require_script=not script)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 2347, in parseIntegratedTestScript
unsupported_features = test.getUnsupportedFeatures()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/utils/lit/lit/Test.py", line 435, in getUnsupportedFeatures
raise ValueError("Error in UNSUPPORTED list:\n%s" % str(e))
ValueError: Error in UNSUPPORTED list:
couldn't parse text: '*'
in expression: '*'
```
</details>
If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.
https://github.com/llvm/llvm-project/pull/191635
More information about the cfe-commits
mailing list