Commit 38d3ddcd authored by Bill King's avatar Bill King
Browse files

Autotests: change to make tests run in-place

This change sets the path temporarily on win32 so that the testcases when
executed with "make check" find the necessary dll's in the main build directory.
parent 7962ca0b
include(../../qtcreator.pri)
include(qttestrpath.pri)
isEmpty(TEMPLATE):TEMPLATE=app
CONFIG += qt warn_on console depend_includepath testcase qtestlib
......@@ -11,7 +12,12 @@ symbian:{
RSS_RULES ="group_name=\"QtTests\";"
}
include(qttestrpath.pri)
# prefix test binary with tst_
!contains(TARGET, ^tst_.*):TARGET = $$join(TARGET,,"tst_")
win32 {
lib = $$IDE_LIBRARY_PATH;$$IDE_PLUGIN_PATH/Nokia
lib ~= s,/,\\,g
# the below gets added to later by testcase.prf
check.commands = cd . & set PATH=$$lib;%PATH%& cmd /c
}
Markdown is supported
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