Fixed qlocale unittest to install subprogram syslocaleapp correctly
authorKurt Korbatits <kurt.korbatits@nokia.com>
Thu, 1 Mar 2012 03:33:40 +0000 (13:33 +1000)
committerQt by Nokia <qt-info@nokia.com>
Thu, 1 Mar 2012 04:43:19 +0000 (05:43 +0100)
- 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>
tests/auto/corelib/tools/qlocale/syslocaleapp/syslocaleapp.pro
tests/auto/corelib/tools/qlocale/test/test.pro

index a97350c..b61f51d 100644 (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
index eafd8c1..24dcc06 100644 (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