diff options
| author | Alex Richardson <arichardson.kde@gmail.com> | 2014-05-07 15:59:57 +0200 | 
|---|---|---|
| committer | Alex Richardson <arichardson.kde@gmail.com> | 2014-05-07 15:59:57 +0200 | 
| commit | 69000672e974ad5444b5d6df5187db13eab279de (patch) | |
| tree | a7f94274048b1c6191766f2dfcf561ce5e04d762 /autotests/kconfig_compiler/test4main.cpp | |
| parent | a1dcaf788ee48b70e6937962e6fc00a148d89bc5 (diff) | |
| download | kconfig-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/test4main.cpp')
| -rw-r--r-- | autotests/kconfig_compiler/test4main.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/autotests/kconfig_compiler/test4main.cpp b/autotests/kconfig_compiler/test4main.cpp index 1df7cc5e..b4569ba9 100644 --- a/autotests/kconfig_compiler/test4main.cpp +++ b/autotests/kconfig_compiler/test4main.cpp @@ -34,7 +34,7 @@ int main(int argc, char **argv)          group.writeEntry(QLatin1String("foo bar"), QStringLiteral("Value"));      }      Test4 *t = Test4::self(); -    bool ok = QFile::exists(QStandardPaths::writableLocation(QStandardPaths::ConfigLocation) + "/test4rc"); +    bool ok = QFile::exists(QStandardPaths::writableLocation(QStandardPaths::GenericConfigLocation) + "/test4rc");      if (!ok) {          qWarning() << "config file was not created!";      }  | 
