diff options
-rw-r--r-- | tests/auto/styles/tst_styles.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/styles/tst_styles.cpp b/tests/auto/styles/tst_styles.cpp index b45366b6..fad28d85 100644 --- a/tests/auto/styles/tst_styles.cpp +++ b/tests/auto/styles/tst_styles.cpp @@ -62,6 +62,8 @@ int main(int argc, char *argv[]) process.start(argv[0], app.arguments().mid(1)); process.waitForFinished(); + if (process.exitStatus() != QProcess::NormalExit) + return -1; failures += process.exitCode(); } |