aboutsummaryrefslogtreecommitdiff
path: root/autotests/kconfig_compiler/kconfigcompiler_test.cpp
diff options
context:
space:
mode:
authorAlex Richardson <arichardson.kde@gmail.com>2014-05-07 15:59:57 +0200
committerAlex Richardson <arichardson.kde@gmail.com>2014-05-07 15:59:57 +0200
commit69000672e974ad5444b5d6df5187db13eab279de (patch)
treea7f94274048b1c6191766f2dfcf561ce5e04d762 /autotests/kconfig_compiler/kconfigcompiler_test.cpp
parenta1dcaf788ee48b70e6937962e6fc00a148d89bc5 (diff)
downloadkconfig-69000672e974ad5444b5d6df5187db13eab279de.tar.gz
kconfig-69000672e974ad5444b5d6df5187db13eab279de.tar.bz2
fix kconfig_compiler test on windows
We have to generate the files in the same directory as the test executables otherwise QFINDTESTDATA will fail
Diffstat (limited to 'autotests/kconfig_compiler/kconfigcompiler_test.cpp')
-rw-r--r--autotests/kconfig_compiler/kconfigcompiler_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/autotests/kconfig_compiler/kconfigcompiler_test.cpp b/autotests/kconfig_compiler/kconfigcompiler_test.cpp
index fcefcb68..40173ee7 100644
--- a/autotests/kconfig_compiler/kconfigcompiler_test.cpp
+++ b/autotests/kconfig_compiler/kconfigcompiler_test.cpp
@@ -100,11 +100,11 @@ void KConfigCompiler_Test::testBaselineComparison()
QFile fileRef(QFINDTESTDATA(testName + QLatin1String(".ref")));
if (!file.open(QIODevice::ReadOnly)) {
- qWarning() << "Failed to open" << file.fileName();
+ qWarning() << "Failed to open" << file.fileName() << "(" << testName << ")";
QFAIL("Can't open file for comparison");
}
if (!fileRef.open(QIODevice::ReadOnly)) {
- qWarning() << "Failed to open" << fileRef.fileName();
+ qWarning() << "Failed to open" << fileRef.fileName() << "(" << testName << ".ref )";
QFAIL("Can't open file for comparison");
}
QString content = file.readAll();