summaryrefslogtreecommitdiffstats
path: root/tests/auto/rcc
diff options
context:
space:
mode:
authorDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-11-18 14:05:02 (GMT)
committerDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-11-18 15:15:49 (GMT)
commit41e7781f76432ee821883505d68a89e0aadd56b1 (patch)
tree063c0d5c9684d0876b059e4f7a1e14c21b6c2a5e /tests/auto/rcc
parent22ba574eef8c9412b63efb1126e2f432367c7061 (diff)
downloadQt-41e7781f76432ee821883505d68a89e0aadd56b1.zip
Qt-41e7781f76432ee821883505d68a89e0aadd56b1.tar.gz
Qt-41e7781f76432ee821883505d68a89e0aadd56b1.tar.bz2
Added missing autotests to the tests/auto.pro
Reviewed-by: Olivier Goffart
Diffstat (limited to 'tests/auto/rcc')
-rw-r--r--tests/auto/rcc/rcc.pro6
-rw-r--r--tests/auto/rcc/tst_rcc.cpp2
2 files changed, 7 insertions, 1 deletions
diff --git a/tests/auto/rcc/rcc.pro b/tests/auto/rcc/rcc.pro
index d6a2083..1759b48 100644
--- a/tests/auto/rcc/rcc.pro
+++ b/tests/auto/rcc/rcc.pro
@@ -4,3 +4,9 @@ TARGET = tst_rcc
SOURCES += tst_rcc.cpp
+wince* {
+ DEFINES += SRCDIR=\\\"\\\"
+} else {
+ DEFINES += SRCDIR=\\\"$$PWD/\\\"
+}
+
diff --git a/tests/auto/rcc/tst_rcc.cpp b/tests/auto/rcc/tst_rcc.cpp
index c9e3d76..2fe0dc4 100644
--- a/tests/auto/rcc/tst_rcc.cpp
+++ b/tests/auto/rcc/tst_rcc.cpp
@@ -102,7 +102,7 @@ void tst_rcc::rcc_data()
QTest::addColumn<QString>("qrcfile");
QTest::addColumn<QString>("expected");
- QTest::newRow("images") << "data" << "images.qrc" << "images.expected";
+ QTest::newRow("images") << SRCDIR "data" << "images.qrc" << "images.expected";
}
void tst_rcc::rcc()