testlib: Ignore line locations from TAP reporter when running selftests
This is what the other reporters also do, in various forms. Task-number: QTBUG-67351 Change-Id: I16f2c4e0991176145ee0fbcbbfeeda071603a3c2 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
This commit is contained in:
parent
3e91625b58
commit
f69d32b535
@ -868,7 +868,9 @@ bool tst_Selftests::compareOutput(const QString &logger, const QString &subdir,
|
||||
}
|
||||
|
||||
if (logger.endsWith(QLatin1String("tap"))) {
|
||||
if (expectedLine.contains(QLatin1String("at:")) || expectedLine.contains(QLatin1String("file:")))
|
||||
if (expectedLine.contains(QLatin1String("at:"))
|
||||
|| expectedLine.contains(QLatin1String("file:"))
|
||||
|| expectedLine.contains(QLatin1String("line:")))
|
||||
actualLine = expectedLine;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user