diff options
author | Stephan T. Lavavej <stl@nuwen.net> | 2023-11-30 15:06:24 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-30 15:06:24 -0800 |
commit | 2ee8763fecad644c1b25bfdb06a884d291633009 (patch) | |
tree | 7b5c28313e71afb6c7a1f5ad4d931fcb77cd87e0 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | dd1e72c38f3f9fc457d12940b9bc594e43683c7c (diff) | |
download | llvm-2ee8763fecad644c1b25bfdb06a884d291633009.zip llvm-2ee8763fecad644c1b25bfdb06a884d291633009.tar.gz llvm-2ee8763fecad644c1b25bfdb06a884d291633009.tar.bz2 |
[test] Fix expected line number in `TestRunner.py` (#73996)
My #73541 added lines to
`llvm/utils/lit/tests/Inputs/testrunner-custom-parsers/test.txt` so what
was previously on line 7 is now on line 12.
Before:
https://github.com/llvm/llvm-project/blob/28412d1800e391c5ba8e7607bb15c74b106d581b/llvm/utils/lit/tests/Inputs/testrunner-custom-parsers/test.txt#L7-L8
After:
https://github.com/llvm/llvm-project/blob/6fb7c2d713587a061cd281eda917746750559380/llvm/utils/lit/tests/Inputs/testrunner-custom-parsers/test.txt#L12-L13
This didn't show up in the PR checks, but caused a buildbot failure
after merging, https://lab.llvm.org/buildbot/#/builders/139/builds/54597
:
```
# | ======================================================================
# | FAIL: test_commands (__main__.TestIntegratedTestKeywordParser)
# | ----------------------------------------------------------------------
# | Traceback (most recent call last):
# | File "/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/utils/lit/tests/unit/TestRunner.py", line 135, in test_commands
# | self.assertEqual(value[1].command.strip(), "%dbg(MY_RUN: at line 7) foo bar")
# | AssertionError: '%dbg(MY_RUN: at line 12) foo bar' != '%dbg(MY_RUN: at line 7) foo bar'
# | - %dbg(MY_RUN: at line 12) foo bar
# | ? ^^
# | + %dbg(MY_RUN: at line 7) foo bar
# | ? ^
```
Apologies for the build break :scream_cat:
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions