aboutsummaryrefslogtreecommitdiff
path: root/autotests/kconfig_compiler/kconfigcompiler_test.cpp
diff options
context:
space:
mode:
authorDavid Faure <faure@kde.org>2015-05-02 13:59:50 +0200
committerDavid Faure <faure@kde.org>2015-05-02 13:59:50 +0200
commit4998789ef1a6ae1e50a66e03dd3d50993ec71575 (patch)
tree29b74bcf50488a2c11246d519d58ed3496e5aba3 /autotests/kconfig_compiler/kconfigcompiler_test.cpp
parent76e5b4412782b9c1757c8cdb3984f99566a57b96 (diff)
downloadkconfig-4998789ef1a6ae1e50a66e03dd3d50993ec71575.tar.gz
kconfig-4998789ef1a6ae1e50a66e03dd3d50993ec71575.tar.bz2
improve error message when binary is not found
Diffstat (limited to 'autotests/kconfig_compiler/kconfigcompiler_test.cpp')
-rw-r--r--autotests/kconfig_compiler/kconfigcompiler_test.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/autotests/kconfig_compiler/kconfigcompiler_test.cpp b/autotests/kconfig_compiler/kconfigcompiler_test.cpp
index aaf2d025..77a31a3e 100644
--- a/autotests/kconfig_compiler/kconfigcompiler_test.cpp
+++ b/autotests/kconfig_compiler/kconfigcompiler_test.cpp
@@ -141,6 +141,7 @@ void KConfigCompiler_Test::testRunning()
#endif
QString program = QFINDTESTDATA(testName);
+ QVERIFY2(!program.isEmpty(), qPrintable(testName + QLatin1String(" must exist!")));
QVERIFY2(QFile::exists(program), qPrintable(program + QLatin1String(" must exist!")));
QProcess process;
process.start(program, QIODevice::ReadOnly);