plugins.diff: Allow to strip ids from test names
The test name combines $test_id-$test_name;$variant_id, which prevents
from comparing apples to oranges, but for some jobs we know the
$test_name itself identifies the test well enough and by stripping the
$test_id we can easily compare even tests with different number of
tests.
Example with ids (stock):
-1-passtest.py:PassTest.test: PASS
+1-failtest.py:FailTest.test: FAIL
+2-passtest.py:PassTest.test: PASS
The same without ids (--diff-strip-id):
+failtest.py:FailTest.test: FAIL
passtest.py:PassTest.test: PASS
and it gets more useful with multiple inserted tests.
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
Showing
想要评论请 注册 或 登录