From e815b93d12c560dcf91bd48eb06ff5822a570876 Mon Sep 17 00:00:00 2001 From: Rohan McGovern Date: Thu, 8 Sep 2011 15:18:42 +1000 Subject: tests: use contains(QT_CONFIG,private_tests) consistently These tests used requires(contains(QT_CONFIG,private_tests)) in their .pro file, but did not subtract themselves from their parent project SUBDIRS when private_tests weren't enabled. In the best case, this wastes a little time as qmake iterates over these projects which won't be built. In some worse esoteric cases, this may break compilation or packaging. Change-Id: I189c108ee9943b15114becf9d6b04f78dbabbe31 Reviewed-on: http://codereview.qt-project.org/4389 Reviewed-by: Qt Sanity Bot Reviewed-by: Toby Tomkins --- tests/auto/dbus.pro | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/auto/dbus.pro') diff --git a/tests/auto/dbus.pro b/tests/auto/dbus.pro index 6dd8ce325c..cd845d7043 100644 --- a/tests/auto/dbus.pro +++ b/tests/auto/dbus.pro @@ -18,3 +18,6 @@ SUBDIRS=\ qdbusthreading \ qdbusxmlparser \ +!contains(QT_CONFIG,private_tests): SUBDIRS -= \ + qdbusmarshall \ + -- cgit v1.2.3