summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@digia.com>2013-07-24 19:49:38 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-08-20 22:56:12 +0200
commitb4c0d9166e7a8f5dfa5ca052002a5ab318787aa2 (patch)
tree500feb910ebc359e6ea1e702eca5c5b2827893d5 /tests
parent15981b985fa3ae250af22f68ddb50e08bd9ce421 (diff)
change reporting of missing files
use the new parser flags to report all i/o errors directly. as a notable side effect, the "WARNING" prefix is gone (even though it is still treated like that, which is mildly insane to start with). Change-Id: I084375d5e7a3314ae763795f7c318804a9fb84b6 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/tools/qmake/tst_qmake.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/tools/qmake/tst_qmake.cpp b/tests/auto/tools/qmake/tst_qmake.cpp
index 4d3b5983f0..cf5c75a66b 100644
--- a/tests/auto/tools/qmake/tst_qmake.cpp
+++ b/tests/auto/tools/qmake/tst_qmake.cpp
@@ -494,7 +494,7 @@ void tst_qmake::bundle_spaces()
void tst_qmake::includefunction()
{
QString workDir = base_path + "/testdata/include_function";
- QRegExp warningMsg("Include file .* not found");
+ QRegExp warningMsg("Cannot read .*: No such file or directory");
QVERIFY(test_compiler.qmake( workDir, "include_existing_file"));
QVERIFY(!test_compiler.commandOutput().contains(warningMsg));