diff options
Diffstat (limited to 'tools/qml/qdeclarativetester.cpp')
-rw-r--r-- | tools/qml/qdeclarativetester.cpp | 6 |
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() |