Neels Hofmeyr has submitted this change and it was merged. Change subject: selftest: suite_test: ignore line numbers ......................................................................
selftest: suite_test: ignore line numbers Change-Id: Ideab363753559ba0b49352dc9da03a27d7b0dadf --- M selftest/suite_test.ok M selftest/suite_test.ok.ign 2 files changed, 13 insertions(+), 12 deletions(-) Approvals: Neels Hofmeyr: Looks good to me, approved Jenkins Builder: Verified diff --git a/selftest/suite_test.ok b/selftest/suite_test.ok index b20bdc5..bb04e49 100644 --- a/selftest/suite_test.ok +++ b/selftest/suite_test.ok @@ -52,21 +52,21 @@ tst test_suite: DBG: Picked - _hash: cde1debf28f07f94f92c761b4b7c6bf35785ced4 addr: 10.42.42.1 [test_suite↪test_suite] -tst hello_world.py: START [test_suite↪hello_world.py] -tst hello_world.py:3: hello world [test_suite↪hello_world.py:3] -tst hello_world.py:4: I am 'test_suite' / 'hello_world.py:4' [test_suite↪hello_world.py:4] -tst hello_world.py:5: one [test_suite↪hello_world.py:5] -tst hello_world.py:5: two [test_suite↪hello_world.py:5] -tst hello_world.py:5: three [test_suite↪hello_world.py:5] -tst hello_world.py: PASS [test_suite↪hello_world.py] +tst hello_world.py:[LINENR] START [test_suite↪hello_world.py] +tst hello_world.py:[LINENR]: hello world [test_suite↪hello_world.py:[LINENR]] +tst hello_world.py:[LINENR]: I am 'test_suite' / 'hello_world.py:[LINENR]' [test_suite↪hello_world.py:[LINENR]] +tst hello_world.py:[LINENR]: one [test_suite↪hello_world.py:[LINENR]] +tst hello_world.py:[LINENR]: two [test_suite↪hello_world.py:[LINENR]] +tst hello_world.py:[LINENR]: three [test_suite↪hello_world.py:[LINENR]] +tst hello_world.py:[LINENR] PASS [test_suite↪hello_world.py] pass: all 1 tests passed. - a test with an error -tst test_suite: Suite run start [suite.py:191] -tst test_error.py: START [test_suite↪test_error.py] [suite.py:96] -tst test_error.py:3: I am 'test_suite' / 'test_error.py:3' [test_suite↪test_error.py:3] [test_error.py:3] -tst test_error.py:5: FAIL [test_suite↪test_error.py:5] [suite.py:108] -tst test_error.py:5: ERR: AssertionError: [test_suite↪test_error.py:5] [test_error.py:5: assert False] +tst test_suite: Suite run start [suite.py:[LINENR]] +tst test_error.py:[LINENR] START [test_suite↪test_error.py] [suite.py:[LINENR]] +tst test_error.py:[LINENR]: I am 'test_suite' / 'test_error.py:[LINENR]' [test_suite↪test_error.py:[LINENR]] [test_error.py:[LINENR]] +tst test_error.py:[LINENR]: FAIL [test_suite↪test_error.py:[LINENR]] [suite.py:[LINENR]] +tst test_error.py:[LINENR]: ERR: AssertionError: [test_suite↪test_error.py:[LINENR]] [test_error.py:[LINENR]: assert False] FAIL: 1 of 1 tests failed: test_error.py diff --git a/selftest/suite_test.ok.ign b/selftest/suite_test.ok.ign index 393ce95..a19fb8b 100644 --- a/selftest/suite_test.ok.ign +++ b/selftest/suite_test.ok.ign @@ -1 +1,2 @@ /[^ ]*/selftest/ [PATH]/selftest/ +\.py:[0-9]* .py:[LINENR] -- To view, visit https://gerrit.osmocom.org/2518 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ideab363753559ba0b49352dc9da03a27d7b0dadf Gerrit-PatchSet: 3 Gerrit-Project: osmo-gsm-tester Gerrit-Branch: master Gerrit-Owner: Neels Hofmeyr <nhofm...@sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: Neels Hofmeyr <nhofm...@sysmocom.de> Gerrit-Reviewer: Pau Espin Pedrol <pes...@sysmocom.de>