summaryrefslogtreecommitdiffstats
path: root/tests/auto/tools/qmake/testdata/substitutes
diff options
context:
space:
mode:
authorJo Asplin <jo.asplin@nokia.com>2011-09-12 09:21:12 +0200
committerJo Asplin <jo.asplin@nokia.com>2011-09-12 10:08:29 +0200
commit4c43b60323e88befb08504c1ec67305cc8f57e70 (patch)
treef63216a07d69701e791839d7a9938337792eaf73 /tests/auto/tools/qmake/testdata/substitutes
parent3ade4d260f3afe160bd593e27e18f1dffdbee398 (diff)
Moved autotests in category 'tools' into new directory structure
Task-number: QTBUG-21355 Change-Id: I315d4b1f55d42391524c0e8625952dee1b96fca3 Reviewed-on: http://codereview.qt-project.org/4449 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'tests/auto/tools/qmake/testdata/substitutes')
-rw-r--r--tests/auto/tools/qmake/testdata/substitutes/sub/test2.in1
-rw-r--r--tests/auto/tools/qmake/testdata/substitutes/test.in2
-rw-r--r--tests/auto/tools/qmake/testdata/substitutes/test.pro5
-rw-r--r--tests/auto/tools/qmake/testdata/substitutes/test3.txt1
4 files changed, 9 insertions, 0 deletions
diff --git a/tests/auto/tools/qmake/testdata/substitutes/sub/test2.in b/tests/auto/tools/qmake/testdata/substitutes/sub/test2.in
new file mode 100644
index 0000000000..78a60695ae
--- /dev/null
+++ b/tests/auto/tools/qmake/testdata/substitutes/sub/test2.in
@@ -0,0 +1 @@
+heya
diff --git a/tests/auto/tools/qmake/testdata/substitutes/test.in b/tests/auto/tools/qmake/testdata/substitutes/test.in
new file mode 100644
index 0000000000..2fa05e0110
--- /dev/null
+++ b/tests/auto/tools/qmake/testdata/substitutes/test.in
@@ -0,0 +1,2 @@
+test
+tst
diff --git a/tests/auto/tools/qmake/testdata/substitutes/test.pro b/tests/auto/tools/qmake/testdata/substitutes/test.pro
new file mode 100644
index 0000000000..26b02722e8
--- /dev/null
+++ b/tests/auto/tools/qmake/testdata/substitutes/test.pro
@@ -0,0 +1,5 @@
+QMAKE_SUBSTITUTES += test.in sub/test2.in indirect
+
+indirect.input = $$PWD/test3.txt
+indirect.output = $$OUT_PWD/sub/indirect_test.txt
+
diff --git a/tests/auto/tools/qmake/testdata/substitutes/test3.txt b/tests/auto/tools/qmake/testdata/substitutes/test3.txt
new file mode 100644
index 0000000000..ce01362503
--- /dev/null
+++ b/tests/auto/tools/qmake/testdata/substitutes/test3.txt
@@ -0,0 +1 @@
+hello