diff options
author | Jo Asplin <jo.asplin@nokia.com> | 2011-09-06 13:46:40 +0200 |
---|---|---|
committer | Jo Asplin <jo.asplin@nokia.com> | 2011-09-09 09:32:17 +0200 |
commit | c59f9ad7768a007ca7a49ea11b16617529e86d52 (patch) | |
tree | d481be2a727f8461a76c2b729fc7e93784a3cff1 /tests/auto/network/socket/qlocalsocket/test/test.pro | |
parent | 2d41aff1e8557a43268bce631df834bfa79593cf (diff) |
Moved network autotests into new directory structure
Task-number: QTBUG-21223
Change-Id: I55dbf5c42a1c5d938b9e0c9bf7d90457a6c26bbc
Reviewed-on: http://codereview.qt-project.org/4259
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Sergio Ahumada <sergio.ahumada@nokia.com>
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'tests/auto/network/socket/qlocalsocket/test/test.pro')
-rw-r--r-- | tests/auto/network/socket/qlocalsocket/test/test.pro | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/tests/auto/network/socket/qlocalsocket/test/test.pro b/tests/auto/network/socket/qlocalsocket/test/test.pro new file mode 100644 index 0000000000..b2755b5411 --- /dev/null +++ b/tests/auto/network/socket/qlocalsocket/test/test.pro @@ -0,0 +1,50 @@ +load(qttest_p4) + +DEFINES += QLOCALSERVER_DEBUG +DEFINES += QLOCALSOCKET_DEBUG + +symbian { + # nothing +} else:wince* { + DEFINES += QT_LOCALSOCKET_TCP + DEFINES += SRCDIR=\\\"../\\\" +} else { + DEFINES += SRCDIR=\\\"$$PWD/../\\\" +} + +QT = core network + +SOURCES += ../tst_qlocalsocket.cpp + +TARGET = tst_qlocalsocket +CONFIG(debug_and_release) { + CONFIG(debug, debug|release) { + DESTDIR = ../debug + } else { + DESTDIR = ../release + } +} else { + DESTDIR = .. +} + +wince* { + additionalFiles.files = ../lackey/lackey.exe + additionalFiles.path = lackey +} + +symbian { + additionalFiles.files = lackey.exe + additionalFiles.path = \\sys\\bin + TARGET.UID3 = 0xE0340005 + DEFINES += SYMBIAN_SRCDIR_UID=$$lower($$replace(TARGET.UID3,"0x","")) +} + +wince*|symbian { + scriptFiles.files = ../lackey/scripts/*.js + scriptFiles.path = lackey/scripts + DEPLOYMENT += additionalFiles scriptFiles + QT += script # for easy deployment of QtScript + + requires(contains(QT_CONFIG,script)) +} + |