Fixed qlocale unittest to install subprogram syslocaleapp correctly

- It was trying to install syslocaleapp sub program as TESTDATA
  instead of an application.

Change-Id: I2117d11335bc2fd37a8ccc9a03b0337382f0177f
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
bb10
Kurt Korbatits 2012-03-01 13:33:40 +10:00 committed by Qt by Nokia
parent 41b2992422
commit c5b928207e
2 changed files with 3 additions and 4 deletions

View File

@ -6,6 +6,3 @@ CONFIG -= app_bundle
QT = core
# This app is testdata for tst_qlocale
target.path = $$[QT_INSTALL_TESTS]/tst_qlocale/$$TARGET
INSTALLS += target

View File

@ -12,6 +12,8 @@ win32 {
TARGET = ../../release/tst_qlocale
}
}
TESTDATA += syslocaleapp
load(testcase) # for target.path and installTestHelperApp()
installTestHelperApp("../syslocaleapp/syslocaleapp",syslocaleapp,syslocaleapp)
mac: CONFIG += insignificant_test # QTBUG-22769