summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/plugin/qpluginloader/winrt.pri
diff options
context:
space:
mode:
authorMaurice Kalinowski <maurice.kalinowski@theqtcompany.com>2016-01-20 15:04:28 +0100
committerMaurice Kalinowski <maurice.kalinowski@theqtcompany.com>2016-01-29 13:35:48 +0000
commit2515e1eb3d5ccc9da6fdb2a33dd776d4d2d2013e (patch)
tree9b00057e71fa6345d81868af44f31ba92b911650 /tests/auto/corelib/plugin/qpluginloader/winrt.pri
parent7c797b4905cd80a863bbdf635d5e2306ac6b57ef (diff)
winrt: cleanup testcases
We have to make sure that the plugins to be tested are located inside the virtual sandbox / relative to the application binary. Launching via winrtrunner, a test can find those plugins then. It is not possible to those via TESTDATA and extract them to temp, as LoadPackagedLibrary only loads inside the sandbox. Unfortunately this also implies that running those tests inside Visual Studio will fail, as Visual Studio copies the virtual sandbox to another location missing the plugins. For automated testing this should not matter though. Change-Id: I70f5ef2d56b3cf526b731fd885f12583c8f6e103 Reviewed-by: Oliver Wolff <oliver.wolff@theqtcompany.com>
Diffstat (limited to 'tests/auto/corelib/plugin/qpluginloader/winrt.pri')
-rw-r--r--tests/auto/corelib/plugin/qpluginloader/winrt.pri9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/auto/corelib/plugin/qpluginloader/winrt.pri b/tests/auto/corelib/plugin/qpluginloader/winrt.pri
new file mode 100644
index 0000000000..31602634b2
--- /dev/null
+++ b/tests/auto/corelib/plugin/qpluginloader/winrt.pri
@@ -0,0 +1,9 @@
+# We cannot use TESTDATA as plugins have to reside physically
+# inside the package directory
+winrt {
+ CONFIG(debug, debug|release) {
+ DESTDIR = ../debug/bin
+ } else {
+ DESTDIR = ../release/bin
+ }
+}