diff options
author | Aleksandar Sasha Babic <aleksandar.babic@nokia.com> | 2009-09-25 08:36:39 (GMT) |
---|---|---|
committer | Aleksandar Sasha Babic <aleksandar.babic@nokia.com> | 2009-09-25 08:50:41 (GMT) |
commit | 30fffab792fbce4c2d415140e7cf15416f739e60 (patch) | |
tree | bf294ef04dacb7fa3bde861be38d0828eaff68bd /tests/auto/networkselftest/networkselftest.pro | |
parent | 29234e97ad6187f9f7625ef75baaf43a05eeafad (diff) | |
download | Qt-30fffab792fbce4c2d415140e7cf15416f739e60.zip Qt-30fffab792fbce4c2d415140e7cf15416f739e60.tar.gz Qt-30fffab792fbce4c2d415140e7cf15416f739e60.tar.bz2 |
Adding test for line endings
Some network tests depend on reading file and comparing it with
data fetched from network. On Windows, if not set properly, git will
append CRLF when checking out. This makes tests to fail as sizes and
binary content are not as expected.
Reviewed-by: Janne Anttila
Diffstat (limited to 'tests/auto/networkselftest/networkselftest.pro')
-rw-r--r-- | tests/auto/networkselftest/networkselftest.pro | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/auto/networkselftest/networkselftest.pro b/tests/auto/networkselftest/networkselftest.pro index ac610de..b0d537a 100644 --- a/tests/auto/networkselftest/networkselftest.pro +++ b/tests/auto/networkselftest/networkselftest.pro @@ -3,3 +3,18 @@ load(qttest_p4) SOURCES += tst_networkselftest.cpp QT = core network +wince*: { + addFiles.sources = rfc3252.txt + addFiles.path = . + DEPLOYMENT = addFiles + DEFINES += SRCDIR=\\\"\\\" +} else:symbian* { + addFiles.sources = rfc3252.txt + addFiles.path = . + DEPLOYMENT = addFiles +} else:vxworks*: { + DEFINES += SRCDIR=\\\"\\\" +} else { + DEFINES += SRCDIR=\\\"$$PWD/\\\" +} + |