summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2017-11-15 09:11:15 +0100
committerLiang Qi <liang.qi@qt.io>2017-11-15 09:11:15 +0100
commit4f94bae73ccabfc714d248c6371f1883aacc1aa8 (patch)
treef95ae03bdcc0be49747614da2294d5986f43fd72 /tests
parent2143fd3362cc294c3076f879ef20c70ed3683f33 (diff)
parent3d23818472e371745f4ad4bd4b6c92de3d119e34 (diff)
Merge remote-tracking branch 'origin/5.9' into 5.10
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/parser/tst_parser.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/parser/tst_parser.cpp b/tests/auto/parser/tst_parser.cpp
index 13eed5a..22b9059 100644
--- a/tests/auto/parser/tst_parser.cpp
+++ b/tests/auto/parser/tst_parser.cpp
@@ -67,6 +67,9 @@ void tst_Parser::error()
const QStringList expectedErrors =
QString::fromUtf8(errorFile.readAll()).split('\n', QString::SkipEmptyParts);
+ if (!expectedErrors.isEmpty())
+ QTest::ignoreMessage(QtWarningMsg, "SCXML document has errors");
+
QScopedPointer<QScxmlStateMachine> stateMachine(QScxmlStateMachine::fromFile(scxmlFileName));
QVERIFY(!stateMachine.isNull());