summaryrefslogtreecommitdiffstats
path: root/tools/qml
diff options
context:
space:
mode:
Diffstat (limited to 'tools/qml')
-rw-r--r--tools/qml/qdeclarativetester.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/tools/qml/qdeclarativetester.cpp b/tools/qml/qdeclarativetester.cpp
index a0ef4a1..67ea03d 100644
--- a/tools/qml/qdeclarativetester.cpp
+++ b/tools/qml/qdeclarativetester.cpp
@@ -128,10 +128,8 @@ void QDeclarativeTester::executefailure()
{
hasFailed = true;
- if (options & QDeclarativeViewer::ExitOnFailure){
- testSkip();
- exit(hasFailed?-1:0);
- }
+ if (options & QDeclarativeViewer::ExitOnFailure)
+ exit(-1);
}
void QDeclarativeTester::imagefailure()