summaryrefslogtreecommitdiffstats
path: root/tests/auto/tools/qmake/testdata/substitutes
diff options
context:
space:
mode:
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