From 84dbc06e7c7cf3c3ab2fb68010d9c6f9fc80f3f8 Mon Sep 17 00:00:00 2001 From: "Stephan T. Lavavej" Date: Thu, 30 Nov 2023 14:14:15 -0800 Subject: [PATCH] Fix expected line number in TestRunner.py. GH-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. --- llvm/utils/lit/tests/unit/TestRunner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/utils/lit/tests/unit/TestRunner.py b/llvm/utils/lit/tests/unit/TestRunner.py index f1baf51c02f3a1..09470c7b9386ea 100644 --- a/llvm/utils/lit/tests/unit/TestRunner.py +++ b/llvm/utils/lit/tests/unit/TestRunner.py @@ -132,7 +132,7 @@ def test_commands(self): value = cmd_parser.getValue() self.assertEqual(len(value), 2) # there are only two run lines self.assertEqual(value[0].command.strip(), "%dbg(MY_RUN: at line 4) baz") - self.assertEqual(value[1].command.strip(), "%dbg(MY_RUN: at line 7) foo bar") + self.assertEqual(value[1].command.strip(), "%dbg(MY_RUN: at line 12) foo bar") def test_boolean(self): parsers = self.make_parsers()