From 215e0f35d05d26967711e049965415cc0c2a5796 Mon Sep 17 00:00:00 2001 From: Oliver Wolff Date: Fri, 13 Apr 2018 08:09:26 +0200 Subject: [PATCH] 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 --- tests/auto/corelib/io/qdir/tst_qdir.cpp | 3 +++ 1 file changed, 3 insertions(+) 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