summaryrefslogtreecommitdiff
path: root/tests/auto/nokia_services
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@digia.com>2013-07-10 16:29:38 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-07-11 17:03:53 +0200
commitc955dcea2df9378a45d53d5556a1f726bcf05306 (patch)
tree3fdf45b683e653157558ac111eed40104155af67 /tests/auto/nokia_services
parenta2bab88a3c5fa89580031d2cee62c67c943dca9d (diff)
downloadqtlocation-c955dcea2df9378a45d53d5556a1f726bcf05306.tar.gz
Fix autotests while shadow building with install path
These tests require test plugins which must be installed. However the CI does not run "make install" when shadow building with install path. Subsequently the plugins are not found. We add the plugin path of the shadow build dir to the library path enabling the various plugin loader cases to find the required plugin binaries. Change-Id: I4df21278f3e28db01b3062b27ccc317ccbab3142 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by: Alex <alexander.blasche@digia.com>
Diffstat (limited to 'tests/auto/nokia_services')
-rw-r--r--tests/auto/nokia_services/routing/tst_routing.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/nokia_services/routing/tst_routing.cpp b/tests/auto/nokia_services/routing/tst_routing.cpp
index 6346f081..fdbb8571 100644
--- a/tests/auto/nokia_services/routing/tst_routing.cpp
+++ b/tests/auto/nokia_services/routing/tst_routing.cpp
@@ -227,7 +227,7 @@ tst_nokia_routing::tst_nokia_routing()
void tst_nokia_routing::loadReply(const QString& filename)
{
- QFile* file = new QFile(filename);
+ QFile* file = new QFile(QFINDTESTDATA(filename));
if (!file->open(QIODevice::ReadOnly)) {
delete file;
file = 0;