diff options
author | David Faure <faure@kde.org> | 2015-05-02 13:59:50 +0200 |
---|---|---|
committer | David Faure <faure@kde.org> | 2015-05-02 13:59:50 +0200 |
commit | 4998789ef1a6ae1e50a66e03dd3d50993ec71575 (patch) | |
tree | 29b74bcf50488a2c11246d519d58ed3496e5aba3 | |
parent | 76e5b4412782b9c1757c8cdb3984f99566a57b96 (diff) | |
download | kconfig-4998789ef1a6ae1e50a66e03dd3d50993ec71575.tar.gz kconfig-4998789ef1a6ae1e50a66e03dd3d50993ec71575.tar.bz2 |
improve error message when binary is not found
-rw-r--r-- | autotests/kconfig_compiler/kconfigcompiler_test.cpp | 1 |
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); |