Fixed tst_qlogging app silently not compiled in some -fast builds.
authorRohan McGovern <rohan.mcgovern@nokia.com>
Wed, 22 Feb 2012 00:07:01 +0000 (10:07 +1000)
committerQt by Nokia <qt-info@nokia.com>
Wed, 22 Feb 2012 03:48:36 +0000 (04:48 +0100)
When configuring with -fast on Windows, a directory which contains two
.pro files, one SUBDIRS and one not, will have the SUBDIRS Makefile
silently clobbered by the non-SUBDIRS Makefile.  In practice, this may
cause various subdirectories to be silently excluded from the build.

Rearrange .pro files for this test to avoid triggering this bug.

Task-number: QTBUG-21168
Change-Id: Ic51941db497d7b8fb004f3c50f5ea24d90ff3114
Reviewed-by: Toby Tomkins <toby.tomkins@nokia.com>
tests/auto/corelib/global/qlogging/qlogging.pro
tests/auto/corelib/global/qlogging/test/test.pro [new file with mode: 0644]
tests/auto/corelib/global/qlogging/tst_qlogging.pro [deleted file]

index 1d5e768..4d3823c 100644 (file)
@@ -3,4 +3,4 @@ CONFIG += ordered
 
 SUBDIRS += \
     app \
-    tst_qlogging.pro
+    test
diff --git a/tests/auto/corelib/global/qlogging/test/test.pro b/tests/auto/corelib/global/qlogging/test/test.pro
new file mode 100644 (file)
index 0000000..6e4939f
--- /dev/null
@@ -0,0 +1,4 @@
+CONFIG += testcase parallel_test
+TARGET = ../tst_qlogging
+QT = core testlib
+SOURCES = ../tst_qlogging.cpp
diff --git a/tests/auto/corelib/global/qlogging/tst_qlogging.pro b/tests/auto/corelib/global/qlogging/tst_qlogging.pro
deleted file mode 100644 (file)
index 60377e0..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-CONFIG += testcase parallel_test
-TARGET = tst_qlogging
-QT = core testlib
-SOURCES = tst_qlogging.cpp