diff options
author | Bernd Weimer <bernd.weimer@pelagicore.com> | 2018-01-10 09:20:33 +0100 |
---|---|---|
committer | Dominik Holland <dominik.holland@pelagicore.com> | 2018-01-10 08:40:25 +0000 |
commit | 31023e65dd115ec05d1c2a8993901702346d1452 (patch) | |
tree | aaa65c60706cf351a99fe29db9a443059f422ff5 /qmake-features | |
parent | 5e854f43cec14960a189db58fcb8a0d78ddff2c0 (diff) | |
download | qtapplicationmanager-31023e65dd115ec05d1c2a8993901702346d1452.tar.gz |
Execute QML auto tests within source folder
Change-Id: I82098b4b3765015ebbd0104951e1ddf27fc1053e
Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
Diffstat (limited to 'qmake-features')
-rw-r--r-- | qmake-features/am-qml-testcase.prf | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qmake-features/am-qml-testcase.prf b/qmake-features/am-qml-testcase.prf index ac97d1fa..05c663e1 100644 --- a/qmake-features/am-qml-testcase.prf +++ b/qmake-features/am-qml-testcase.prf @@ -7,8 +7,8 @@ load(am-config) QT_TOOL_NAME = appman-qmltestrunner !isEmpty(TEST_FILES): qtAddTargetEnv(COMMAND, QT) -# If the test ends up in a different directory, we should cd to that directory. -TESTRUN_CWD = $$DESTDIR +# Execute test in source folder in order to find any assets. +TESTRUN_CWD = $$_PRO_FILE_PWD_ debug_and_release:debug_and_release_target { # But in debug-and-release-target mode we don't want to cd into the debug/release |