[PATCH] osmo-gsm-tester[master]: selftest: suite_test: ignore line numbers

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Mon May 8 11:07:22 UTC 2017


Hello Pau Espin Pedrol, Jenkins Builder,

I'd like you to reexamine a change.  Please visit

    https://gerrit.osmocom.org/2518

to look at the new patch set (#3).

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(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-gsm-tester refs/changes/18/2518/3

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: newpatchset
Gerrit-Change-Id: Ideab363753559ba0b49352dc9da03a27d7b0dadf
Gerrit-PatchSet: 3
Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>



More information about the gerrit-log mailing list