diff options
author | Jason McDonald <jason.mcdonald@nokia.com> | 2011-10-12 17:04:45 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-10-12 10:17:19 +0200 |
commit | 4be05bcfb848edc80304434a39573b9ce51d5d06 (patch) | |
tree | 466fb26794413398b890774206a674b2ae4b8219 /tests/auto/auto.pro | |
parent | e82f76b3874a21b9cdfe37197db448036bad7e15 (diff) |
Don't build empty tests.
If the help tools aren't part of the Qt build, avoid building the
associated tests instead of building them as empty tests.
Change-Id: I40a74b464f46dfe0835a55321e1f3dade4e5c9f3
Reviewed-on: http://codereview.qt-project.org/6499
Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'tests/auto/auto.pro')
-rw-r--r-- | tests/auto/auto.pro | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/tests/auto/auto.pro b/tests/auto/auto.pro index 49c179f57..b3140e72e 100644 --- a/tests/auto/auto.pro +++ b/tests/auto/auto.pro @@ -1,10 +1,20 @@ TEMPLATE=subdirs SUBDIRS=\ + linguist \ + host.pro \ qhelpcontentmodel \ qhelpenginecore \ qhelpgenerator \ qhelpindexmodel \ qhelpprojectdata \ -SUBDIRS += linguist -!cross_compile:SUBDIRS += host.pro +# These tests don't make sense for cross-compiled builds +cross_compile:SUBDIRS -= host.pro + +# These tests don't make sense unless the tools will be built. +!contains(QT_BUILD_PARTS, tools): SUBDIRS -= \ + qhelpcontentmodel \ + qhelpenginecore \ + qhelpgenerator \ + qhelpindexmodel \ + qhelpprojectdata \ |