qt5base-lts/tests/auto/dbus.pro
Rohan McGovern e815b93d12 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 <qt_sanity_bot@ovi.com>
Reviewed-by: Toby Tomkins <toby.tomkins@nokia.com>
2011-09-09 05:46:54 +02:00

24 lines
603 B
Prolog

TEMPLATE=subdirs
SUBDIRS=\
qdbusabstractadaptor \
qdbusabstractinterface \
qdbusconnection \
qdbusconnection_no_bus \
qdbuscontext \
qdbusinterface \
qdbuslocalcalls \
qdbusmarshall \
qdbusmetaobject \
qdbusmetatype \
qdbuspendingcall \
qdbuspendingreply \
qdbusreply \
qdbusservicewatcher \
qdbustype \
qdbusthreading \
qdbusxmlparser \
!contains(QT_CONFIG,private_tests): SUBDIRS -= \
qdbusmarshall \