From 57198878ba5300aac4cd9e1481c9b8d2e372a267 Mon Sep 17 00:00:00 2001 From: Aaron Kennedy Date: Tue, 12 Jan 2010 11:46:50 +1000 Subject: Always exit on play script failure --- tools/qmlviewer/qfxtester.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/qmlviewer/qfxtester.cpp b/tools/qmlviewer/qfxtester.cpp index 5484771..bd96545 100644 --- a/tools/qmlviewer/qfxtester.cpp +++ b/tools/qmlviewer/qfxtester.cpp @@ -170,7 +170,7 @@ void QmlGraphicsTester::run() testscript = qobject_cast(c.create()); if (testscript) testscript->setParent(this); - else executefailure(); + else { executefailure(); exit(-1); } testscriptidx = 0; } -- cgit v0.12