diff options
Diffstat (limited to 'tests/auto/qscriptvaluegenerated/testgen/testgenerator.h')
-rw-r--r-- | tests/auto/qscriptvaluegenerated/testgen/testgenerator.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/qscriptvaluegenerated/testgen/testgenerator.h b/tests/auto/qscriptvaluegenerated/testgen/testgenerator.h index c9169c6..0dc3f18 100644 --- a/tests/auto/qscriptvaluegenerated/testgen/testgenerator.h +++ b/tests/auto/qscriptvaluegenerated/testgen/testgenerator.h @@ -59,7 +59,8 @@ public: void run() { prepareData(); - Q_ASSERT(m_tempFile.size()); + if (!m_tempFile.size()) + qFatal("%s: prepareData failed to generate any data", Q_FUNC_INFO); save(generateTest()); } |