diff options
author | Joerg Bornemann <joerg.bornemann@nokia.com> | 2009-11-10 16:00:26 (GMT) |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@nokia.com> | 2009-11-10 16:02:45 (GMT) |
commit | 3e2c214dc217ac677733e2a56ac9f17ff0c3196f (patch) | |
tree | 2e999978604d60df1c96ffbac8dc0a7ce5b1c81f /tests/auto/qdatastream | |
parent | 3569a2c930ee171e4f1e05d0407cee7c971c721d (diff) | |
download | Qt-3e2c214dc217ac677733e2a56ac9f17ff0c3196f.zip Qt-3e2c214dc217ac677733e2a56ac9f17ff0c3196f.tar.gz Qt-3e2c214dc217ac677733e2a56ac9f17ff0c3196f.tar.bz2 |
fix tst_qdatastream for Windows CE
SRCDIR is empty on Windows CE, so it doesn't make sense to prepend a
slash. No other autotest does this.
Also, we must deploy test2.svg.
Reviewed-by: thartman
Diffstat (limited to 'tests/auto/qdatastream')
-rw-r--r-- | tests/auto/qdatastream/qdatastream.pro | 2 | ||||
-rw-r--r-- | tests/auto/qdatastream/tst_qdatastream.cpp | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/tests/auto/qdatastream/qdatastream.pro b/tests/auto/qdatastream/qdatastream.pro index 5b90357..c132073 100644 --- a/tests/auto/qdatastream/qdatastream.pro +++ b/tests/auto/qdatastream/qdatastream.pro @@ -12,7 +12,7 @@ QT += svg wince*: { - addFiles.sources = datastream.q42 gearflowers.svg + addFiles.sources = datastream.q42 tests2.svg addFiles.path = . DEPLOYMENT += addFiles DEFINES += SRCDIR=\\\"\\\" diff --git a/tests/auto/qdatastream/tst_qdatastream.cpp b/tests/auto/qdatastream/tst_qdatastream.cpp index 56fc53a..0269cea 100644 --- a/tests/auto/qdatastream/tst_qdatastream.cpp +++ b/tests/auto/qdatastream/tst_qdatastream.cpp @@ -320,8 +320,7 @@ void tst_QDataStream::getSetCheck() tst_QDataStream::tst_QDataStream() { - svgFile = QLatin1String(SRCDIR) + QLatin1String("/") + - QLatin1String(SVGFILE); + svgFile = QLatin1String(SRCDIR SVGFILE); } tst_QDataStream::~tst_QDataStream() |