diff options
author | Rohan McGovern <rohan.mcgovern@nokia.com> | 2009-08-06 01:04:23 (GMT) |
---|---|---|
committer | Rohan McGovern <rohan.mcgovern@nokia.com> | 2009-08-06 03:39:12 (GMT) |
commit | 56b349951a70f3ab95e334e41e37f017e91cf481 (patch) | |
tree | 76c37ddbf800b6a5186bda53aa7e00ebd768322c /tests/auto/qdbuspendingcall | |
parent | 90480b9a25568858d1383e0aab6f5708a7dabd4f (diff) | |
download | Qt-56b349951a70f3ab95e334e41e37f017e91cf481.zip Qt-56b349951a70f3ab95e334e41e37f017e91cf481.tar.gz Qt-56b349951a70f3ab95e334e41e37f017e91cf481.tar.bz2 |
Cleaned up test naming and platform-specific tests.
When an autotest fails to compile, there's no way to determine which
testcase(s) have been prevented from running.
Our results parsing tools have been guessing, under the assumption that
a directory called `qdogwalker' always contains a testcase named
`tst_qdogwalker'. That wasn't true for all our tests, so let's make it
true.
Also changed the platform-specific tests so that qmake will simply skip
those tests on unsupported platforms, instead of wasting time compiling
a useless QTEST_NOOP_MAIN test.
Diffstat (limited to 'tests/auto/qdbuspendingcall')
-rw-r--r-- | tests/auto/qdbuspendingcall/qdbuspendingcall.pro | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/auto/qdbuspendingcall/qdbuspendingcall.pro b/tests/auto/qdbuspendingcall/qdbuspendingcall.pro index 65e8f13..dd8f141 100644 --- a/tests/auto/qdbuspendingcall/qdbuspendingcall.pro +++ b/tests/auto/qdbuspendingcall/qdbuspendingcall.pro @@ -1,4 +1,5 @@ load(qttest_p4) -QT = core -contains(QT_CONFIG, dbus):QT += dbus +requires(contains(QT_CONFIG, dbus)) +QT = core dbus SOURCES += tst_qdbuspendingcall.cpp + |