From 69000672e974ad5444b5d6df5187db13eab279de Mon Sep 17 00:00:00 2001 From: Alex Richardson Date: Wed, 7 May 2014 15:59:57 +0200 Subject: fix kconfig_compiler test on windows We have to generate the files in the same directory as the test executables otherwise QFINDTESTDATA will fail --- autotests/kconfig_compiler/kconfigcompiler_test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'autotests/kconfig_compiler/kconfigcompiler_test.cpp') 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(); -- cgit v1.2.1