summaryrefslogtreecommitdiffstats
path: root/tools/qtestlib/wince
diff options
context:
space:
mode:
authorRohan McGovern <rohan.mcgovern@nokia.com>2009-07-09 07:03:58 (GMT)
committerRohan McGovern <rohan.mcgovern@nokia.com>2009-07-09 07:03:58 (GMT)
commitc365e7e91feab7d07653e0086ba297bb1f8a6234 (patch)
treed38edbf7722d653478268f8ce0eddf47a5433ce5 /tools/qtestlib/wince
parent458c547aefcb529fe807a220109e2a7ce6bd9105 (diff)
downloadQt-c365e7e91feab7d07653e0086ba297bb1f8a6234.zip
Qt-c365e7e91feab7d07653e0086ba297bb1f8a6234.tar.gz
Qt-c365e7e91feab7d07653e0086ba297bb1f8a6234.tar.bz2
Let cetest return nonzero when it fails to run a test.
Diffstat (limited to 'tools/qtestlib/wince')
-rw-r--r--tools/qtestlib/wince/cetest/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/qtestlib/wince/cetest/main.cpp b/tools/qtestlib/wince/cetest/main.cpp
index ba3ef8d..782f6d9 100644
--- a/tools/qtestlib/wince/cetest/main.cpp
+++ b/tools/qtestlib/wince/cetest/main.cpp
@@ -320,6 +320,7 @@ int main(int argc, char **argv)
cout << endl << "Remote Launch:" << qPrintable(TestConfiguration::remoteExecutable) << " " << qPrintable(launchArguments.join(" ")) << endl;
if (!connection.execute(TestConfiguration::remoteExecutable, launchArguments.join(" "), timeout)) {
cout << "Error: Could not execute target file" << endl;
+ return -1;
}