diff options
author | Rohan McGovern <rohan.mcgovern@nokia.com> | 2009-07-09 07:03:58 (GMT) |
---|---|---|
committer | Rohan McGovern <rohan.mcgovern@nokia.com> | 2009-07-09 07:03:58 (GMT) |
commit | c365e7e91feab7d07653e0086ba297bb1f8a6234 (patch) | |
tree | d38edbf7722d653478268f8ce0eddf47a5433ce5 /tools/qtestlib/wince/cetest/main.cpp | |
parent | 458c547aefcb529fe807a220109e2a7ce6bd9105 (diff) | |
download | Qt-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/cetest/main.cpp')
-rw-r--r-- | tools/qtestlib/wince/cetest/main.cpp | 1 |
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; } |