diff options
author | Christian Stenger <christian.stenger@qt.io> | 2018-06-01 10:30:15 +0200 |
---|---|---|
committer | Christian Stenger <christian.stenger@qt.io> | 2018-06-04 04:52:27 +0000 |
commit | f1881ac2fc2671be4ce11c381abfcea852feb8e7 (patch) | |
tree | 44416dd607a8d7fe1a7beb59683d4f6c7b24d762 | |
parent | 4539acce04f9c9403382c2bf3677895d748a8b10 (diff) |
Tests: Fix defining path to sdktoolv4.7.0-beta1
Replace backslashes with normal slashes as Qt handles them
inside paths correctly itself. Otherwise we might end up
using unknown escape sequences which leads to not executing
anything and a passing test.
Escaping the blanks is not necessary as they are handled
correctly automatically.
Change-Id: Ib1a81949c54d41b7864e30a1371de2e148f96bb8
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
-rw-r--r-- | tests/auto/sdktool/sdktool.pro | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/auto/sdktool/sdktool.pro b/tests/auto/sdktool/sdktool.pro index b83c78847f..fe78c49f27 100644 --- a/tests/auto/sdktool/sdktool.pro +++ b/tests/auto/sdktool/sdktool.pro @@ -1,5 +1,8 @@ include(../qttest.pri) -DEFINES += "SDKTOOL_DIR=\\\"$$replace(IDE_LIBEXEC_PATH, " ", "\\ ")\\\"" +TMP_ILP = $$IDE_LIBEXEC_PATH +win32: TMP_ILP = $$replace(TMP_ILP, \\\\, /) + +DEFINES += SDKTOOL_DIR=\\\"$$TMP_ILP\\\" SOURCES += tst_sdktool.cpp |