[llvm] [llvm-exegesis] Follow up of 810ac29cfe81cbd8f2e97d06f0acd540f841c754 (PR #155624)

via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 27 14:08:13 PDT 2025


zeroomega wrote:

We are seeing test failures on linux-arm64 after this patch got landed. Error message:

```
Exception during script execution:
Traceback (most recent call last):
  File "/b/s/w/ir/x/w/llvm-llvm-project/llvm/utils/lit/lit/BooleanExpression.py", line 32, in evaluate
    return parser.parseAll()
  File "/b/s/w/ir/x/w/llvm-llvm-project/llvm/utils/lit/lit/BooleanExpression.py", line 151, in parseAll
    self.token = next(self.tokens)
  File "/b/s/w/ir/x/w/llvm-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 "/b/s/w/ir/x/w/llvm-llvm-project/llvm/utils/lit/lit/Test.py", line 420, in getUnsupportedFeatures
    return [
  File "/b/s/w/ir/x/w/llvm-llvm-project/llvm/utils/lit/lit/Test.py", line 423, in <listcomp>
    if BooleanExpression.evaluate(item, features)
  File "/b/s/w/ir/x/w/llvm-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 "/b/s/w/ir/x/w/llvm-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 "/b/s/w/ir/x/w/llvm-llvm-project/llvm/utils/lit/lit/formats/shtest.py", line 29, in execute
    return lit.TestRunner.executeShTest(
  File "/b/s/w/ir/x/w/llvm-llvm-project/llvm/utils/lit/lit/TestRunner.py", line 2344, in executeShTest
    parsed = parseIntegratedTestScript(test, require_script=not script)
  File "/b/s/w/ir/x/w/llvm-llvm-project/llvm/utils/lit/lit/TestRunner.py", line 2228, in parseIntegratedTestScript
    unsupported_features = test.getUnsupportedFeatures()
  File "/b/s/w/ir/x/w/llvm-llvm-project/llvm/utils/lit/lit/Test.py", line 426, in getUnsupportedFeatures
    raise ValueError("Error in UNSUPPORTED list:\n%s" % str(e))
ValueError: Error in UNSUPPORTED list:
couldn't parse text: '*'
in expression: '*'

```

Looks like the wildcard "*" doesn't work and lit has issue to parse it.

https://github.com/llvm/llvm-project/pull/155624


More information about the llvm-commits mailing list