[PATCH] D136469: [llvm-lit][test] Fix regex to capture scientific notation
Owen Reynolds via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 25 08:22:33 PDT 2022
gbreynoo added a comment.
Apologies @jdenny, the failure was occurring on a private build job and has no public access. The test failure can be found below:
08:56:44 ******************** TEST 'lit :: test-output.py' FAILED ********************
08:56:44 Script:
08:56:44 --
08:56:44 : 'RUN: at line 1'; env -u FILECHECK_OPTS "C:\Program Files\Python310\python.exe" D:\BuildAgent\work\e280ceab0c58d514\llvm\utils\lit\lit.py -j1 --order=lexical -v Inputs/test-data --output D:\BuildAgent\work\e280ceab0c58d514\build\utils\lit\tests\Output\test-output.py.tmp.results.out > D:\BuildAgent\work\e280ceab0c58d514\build\utils\lit\tests\Output\test-output.py.tmp.out
08:56:44 : 'RUN: at line 2'; FileCheck < D:\BuildAgent\work\e280ceab0c58d514\build\utils\lit\tests\Output\test-output.py.tmp.results.out D:\BuildAgent\work\e280ceab0c58d514\build\utils\lit\tests\test-output.py
08:56:44 --
08:56:44 Exit Code: 1
08:56:44
08:56:44 Command Output (stdout):
08:56:44 --
08:56:44 $ ":" "RUN: at line 1"
08:56:44 $ "env" "-u" "FILECHECK_OPTS" "C:\Program Files\Python310\python.exe" "D:\BuildAgent\work\e280ceab0c58d514\llvm\utils\lit\lit.py" "-j1" "--order=lexical" "-v" "Inputs/test-data" "--output" "D:\BuildAgent\work\e280ceab0c58d514\build\utils\lit\tests\Output\test-output.py.tmp.results.out"
08:56:44 $ ":" "RUN: at line 2"
08:56:44 $ "FileCheck" "D:\BuildAgent\work\e280ceab0c58d514\build\utils\lit\tests\test-output.py"
08:56:44 # command stderr:
08:56:44 D:\BuildAgent\work\e280ceab0c58d514\build\utils\lit\tests\test-output.py:10:15: error: CHECK-NEXT: expected string not found in input
08:56:44 # CHECK-NEXT: "elapsed": {{[0-9.]+}},
08:56:44 ^
08:56:44 <stdin>:10:17: note: scanning from here
08:56:44 "code": "PASS",
08:56:44 ^
08:56:44 <stdin>:11:2: note: possible intended match here
08:56:44 "elapsed": 7.510185241699219e-05,
08:56:44 ^
08:56:44
08:56:44 Input file: <stdin>
08:56:44 Check file: D:\BuildAgent\work\e280ceab0c58d514\build\utils\lit\tests\test-output.py
08:56:44
08:56:44 -dump-input=help explains the following input dump.
08:56:44
08:56:44 Input was:
08:56:44 <<<<<<
08:56:44 .
08:56:44 .
08:56:44 .
08:56:44 5: 0
08:56:44 6: ],
08:56:44 7: "elapsed": 0.46836328506469727,
08:56:44 8: "tests": [
08:56:44 9: {
08:56:44 10: "code": "PASS",
08:56:44 next:10'0 X error: no match found
08:56:44 11: "elapsed": 7.510185241699219e-05,
08:56:44 next:10'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
08:56:44 next:10'1 ? possible intended match
08:56:44 12: "metrics": {
08:56:44 next:10'0 ~~~~~~~~~~~~~~
08:56:44 13: "value0": 1,
08:56:44 next:10'0 ~~~~~~~~~~~~~~
08:56:44 14: "value1": 2.3456
08:56:44 next:10'0 ~~~~~~~~~~~~~~~~~~
08:56:44 15: },
08:56:44 next:10'0 ~~~~
08:56:44 16: "name": "test-data :: metrics.ini",
08:56:44 next:10'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
08:56:44 .
08:56:44 .
08:56:44 .
08:56:44 >>>>>>
08:56:44
08:56:44 error: command failed with exit status: 1
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D136469/new/
https://reviews.llvm.org/D136469
More information about the llvm-commits
mailing list