Commit 77c42e34 authored by Sergio Ahumada's avatar Sergio Ahumada Committed by Qt by Nokia
Browse files

Changed tests to work from install directory


  - Changed tests to use TESTDATA

Change-Id: Iee07e4a98d2617e1bce4a3caaf67ea581479f3c7
Reviewed-by: default avatarRohan McGovern <rohan.mcgovern@nokia.com>
parent 8f01df64
No related merge requests found
Showing with 6 additions and 0 deletions
...@@ -6,6 +6,8 @@ SOURCES += tst_qabstractxmlnodemodel.cpp \ ...@@ -6,6 +6,8 @@ SOURCES += tst_qabstractxmlnodemodel.cpp \
../qxmlquery/TestFundament.cpp ../qxmlquery/TestFundament.cpp
HEADERS += TestNodeModel.h LoadingModel.h HEADERS += TestNodeModel.h LoadingModel.h
TESTDATA = tree.xml
include (../xmlpatterns.pri) include (../xmlpatterns.pri)
wince*: { wince*: {
......
...@@ -3,6 +3,8 @@ CONFIG += testcase ...@@ -3,6 +3,8 @@ CONFIG += testcase
QT += testlib QT += testlib
SOURCES += tst_qxmlformatter.cpp SOURCES += tst_qxmlformatter.cpp
TESTDATA = baselines/* input/*
include (../xmlpatterns.pri) include (../xmlpatterns.pri)
wince*:{ wince*:{
......
...@@ -11,6 +11,8 @@ RESOURCES = input.qrc ...@@ -11,6 +11,8 @@ RESOURCES = input.qrc
QT += network testlib QT += network testlib
TESTDATA = data/* pushBaselines/* input.xml
wince* { wince* {
DEFINES += SRCDIR=\\\"./\\\" DEFINES += SRCDIR=\\\"./\\\"
} else { } else {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment