summaryrefslogtreecommitdiffstats
path: root/tests/auto/qcopchannel
diff options
context:
space:
mode:
authorRohan McGovern <rohan.mcgovern@nokia.com>2009-08-06 01:04:23 (GMT)
committerRohan McGovern <rohan.mcgovern@nokia.com>2009-08-06 03:39:12 (GMT)
commit56b349951a70f3ab95e334e41e37f017e91cf481 (patch)
tree76c37ddbf800b6a5186bda53aa7e00ebd768322c /tests/auto/qcopchannel
parent90480b9a25568858d1383e0aab6f5708a7dabd4f (diff)
downloadQt-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/qcopchannel')
-rw-r--r--tests/auto/qcopchannel/qcopchannel.pro1
-rw-r--r--tests/auto/qcopchannel/test/test.pro8
-rw-r--r--tests/auto/qcopchannel/testSend/testSend.pro1
3 files changed, 2 insertions, 8 deletions
diff --git a/tests/auto/qcopchannel/qcopchannel.pro b/tests/auto/qcopchannel/qcopchannel.pro
index 29f7834..427430f 100644
--- a/tests/auto/qcopchannel/qcopchannel.pro
+++ b/tests/auto/qcopchannel/qcopchannel.pro
@@ -3,4 +3,5 @@ SUBDIRS = testSend
SUBDIRS += test
+requires(embedded)
diff --git a/tests/auto/qcopchannel/test/test.pro b/tests/auto/qcopchannel/test/test.pro
index 48a218e..8c7cc5b 100644
--- a/tests/auto/qcopchannel/test/test.pro
+++ b/tests/auto/qcopchannel/test/test.pro
@@ -3,12 +3,4 @@ load(qttest_p4)
SOURCES += ../tst_qcopchannel.cpp
TARGET = ../tst_qcopchannel
-win32 {
- CONFIG(debug, debug|release) {
- TARGET = ../../debug/tst_qcopchannel
-} else {
- TARGET = ../../release/tst_qcopchannel
- }
-}
-
diff --git a/tests/auto/qcopchannel/testSend/testSend.pro b/tests/auto/qcopchannel/testSend/testSend.pro
index f78341c..ebce3dd 100644
--- a/tests/auto/qcopchannel/testSend/testSend.pro
+++ b/tests/auto/qcopchannel/testSend/testSend.pro
@@ -2,4 +2,5 @@ load(qttest_p4)
SOURCES = main.cpp
TARGET = testSend
+requires(embedded)