diff options
author | Oliver Wolff <oliver.wolff@qt.io> | 2018-04-13 08:09:26 +0200 |
---|---|---|
committer | Oliver Wolff <oliver.wolff@qt.io> | 2018-04-16 05:23:17 +0000 |
commit | 215e0f35d05d26967711e049965415cc0c2a5796 (patch) | |
tree | c07a28138e966ff2abcd250339586d2b18801ba0 /tests | |
parent | 8d7edf18ebd4bb4cf110000afb1b5a8b1f3887a4 (diff) |
tst_qdir: Fix absoluteFilePath for winrt
The drive has to be defined for every Windows configuration (also
including winrt).
Change-Id: I94a3131b8aec20cda97dc78f55b1d87aa10240e4
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/corelib/io/qdir/tst_qdir.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/corelib/io/qdir/tst_qdir.cpp b/tests/auto/corelib/io/qdir/tst_qdir.cpp index 734b26cd65..83492188a9 100644 --- a/tests/auto/corelib/io/qdir/tst_qdir.cpp +++ b/tests/auto/corelib/io/qdir/tst_qdir.cpp @@ -1387,6 +1387,9 @@ void tst_QDir::absoluteFilePath_data() #if defined(Q_OS_WIN) && !defined(Q_OS_WINRT) QTest::newRow("UNC") << "//machine" << "share" << "//machine/share"; QTest::newRow("Drive") << "c:/side/town" << "/my/way/home" << "c:/my/way/home"; +#endif + +#ifdef Q_OS_WIN #define DRIVE "Q:" #else #define DRIVE |