Improved usage of TESTDATA with relative paths beginning with ".."
authorRohan McGovern <rohan.mcgovern@nokia.com>
Thu, 24 Nov 2011 00:31:24 +0000 (10:31 +1000)
committerQt by Nokia <qt-info@nokia.com>
Thu, 24 Nov 2011 22:42:35 +0000 (23:42 +0100)
commite759f9580ef0a76131c7540015a87968742fce9f
tree452f4c7cc43c511fea8004a8a5dfd0eceac41ff8
parentcc37a8cf414c558c8508de32b3f19bfbdac1a13a
Improved usage of TESTDATA with relative paths beginning with ".."

Support the common construct of a top-level test directory having
a test/test.pro with:

  TARGET = ../tst_sometest
  TESTDATA = ../data1.txt ../data2.txt

Prior to this change, the ".." in TESTDATA would cause the data to
break out of the test's installation directory.

Change-Id: I22860bf3a148f278b3f4e18b476fd151f7f0f775
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
mkspecs/features/testcase.prf