diff options
author | Rohan McGovern <rohan.mcgovern@nokia.com> | 2009-07-06 06:40:59 (GMT) |
---|---|---|
committer | Rohan McGovern <rohan.mcgovern@nokia.com> | 2009-07-09 04:21:56 (GMT) |
commit | 87df094ed204c237393eac1dd0b2fb907e642dcb (patch) | |
tree | 854385630599293e20bb2725ef786f278e6c2c7c /tests/auto/qhttpnetworkreply | |
parent | bae8bc5d23946036b2c1079fc6f1b3bceeaa19ca (diff) | |
download | Qt-87df094ed204c237393eac1dd0b2fb907e642dcb.zip Qt-87df094ed204c237393eac1dd0b2fb907e642dcb.tar.gz Qt-87df094ed204c237393eac1dd0b2fb907e642dcb.tar.bz2 |
Disable private unit tests when Qt is configured without
-developer-build, part 2.
Some autotests use private (unexported) code, either because they're
testing private classes or because that's the easiest way to test
the public classes. Configuring Qt with `-developer-build' is needed
for these tests.
This commit fixes the tests so configuring without `-developer-build'
only builds the tests which strictly use public API.
Diffstat (limited to 'tests/auto/qhttpnetworkreply')
-rw-r--r-- | tests/auto/qhttpnetworkreply/qhttpnetworkreply.pro | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/qhttpnetworkreply/qhttpnetworkreply.pro b/tests/auto/qhttpnetworkreply/qhttpnetworkreply.pro index 2e41fcd..f86250a 100644 --- a/tests/auto/qhttpnetworkreply/qhttpnetworkreply.pro +++ b/tests/auto/qhttpnetworkreply/qhttpnetworkreply.pro @@ -2,4 +2,6 @@ load(qttest_p4) SOURCES += tst_qhttpnetworkreply.cpp INCLUDEPATH += $$QT_SOURCE_TREE/src/3rdparty/zlib +requires(contains(QT_CONFIG,private_tests)) + QT = core network |