summaryrefslogtreecommitdiffstats
path: root/tests/auto/tools/qmakelib/testdata
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/tools/qmakelib/testdata')
-rw-r--r--tests/auto/tools/qmakelib/testdata/cat/file1.txt2
-rw-r--r--tests/auto/tools/qmakelib/testdata/cat/file2.txt5
-rw-r--r--tests/auto/tools/qmakelib/testdata/files/dir/file1.txt0
-rw-r--r--tests/auto/tools/qmakelib/testdata/files/dir/file2.txt0
-rw-r--r--tests/auto/tools/qmakelib/testdata/files/file1.txt0
-rw-r--r--tests/auto/tools/qmakelib/testdata/files/file2.txt0
-rw-r--r--tests/auto/tools/qmakelib/testdata/files/other.txt0
-rw-r--r--tests/auto/tools/qmakelib/testdata/fromfile/badfile.prx1
-rw-r--r--tests/auto/tools/qmakelib/testdata/fromfile/infile.prx1
-rw-r--r--tests/auto/tools/qmakelib/testdata/include/inc.pri8
-rw-r--r--tests/auto/tools/qmakelib/testdata/mkspecs/fake-g++/qmake.conf1
-rw-r--r--tests/auto/tools/qmakelib/testdata/mkspecs/features/default_post.prf1
-rw-r--r--tests/auto/tools/qmakelib/testdata/mkspecs/features/default_pre.prf1
-rw-r--r--tests/auto/tools/qmakelib/testdata/mkspecs/features/spec_post.prf1
-rw-r--r--tests/auto/tools/qmakelib/testdata/mkspecs/features/spec_pre.prf1
-rw-r--r--tests/auto/tools/qmakelib/testdata/mkspecs/features/testfeat.prf1
16 files changed, 23 insertions, 0 deletions
diff --git a/tests/auto/tools/qmakelib/testdata/cat/file1.txt b/tests/auto/tools/qmakelib/testdata/cat/file1.txt
new file mode 100644
index 0000000000..e3e4cd41b6
--- /dev/null
+++ b/tests/auto/tools/qmakelib/testdata/cat/file1.txt
@@ -0,0 +1,2 @@
+"Hello, world."
+foo bar baz
diff --git a/tests/auto/tools/qmakelib/testdata/cat/file2.txt b/tests/auto/tools/qmakelib/testdata/cat/file2.txt
new file mode 100644
index 0000000000..18483311e6
--- /dev/null
+++ b/tests/auto/tools/qmakelib/testdata/cat/file2.txt
@@ -0,0 +1,5 @@
+foo bar baz
+"Hello, ' world." post
+'Hello, " world.' post
+\" \' \\ \a \ nix
+" "
diff --git a/tests/auto/tools/qmakelib/testdata/files/dir/file1.txt b/tests/auto/tools/qmakelib/testdata/files/dir/file1.txt
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/tests/auto/tools/qmakelib/testdata/files/dir/file1.txt
diff --git a/tests/auto/tools/qmakelib/testdata/files/dir/file2.txt b/tests/auto/tools/qmakelib/testdata/files/dir/file2.txt
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/tests/auto/tools/qmakelib/testdata/files/dir/file2.txt
diff --git a/tests/auto/tools/qmakelib/testdata/files/file1.txt b/tests/auto/tools/qmakelib/testdata/files/file1.txt
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/tests/auto/tools/qmakelib/testdata/files/file1.txt
diff --git a/tests/auto/tools/qmakelib/testdata/files/file2.txt b/tests/auto/tools/qmakelib/testdata/files/file2.txt
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/tests/auto/tools/qmakelib/testdata/files/file2.txt
diff --git a/tests/auto/tools/qmakelib/testdata/files/other.txt b/tests/auto/tools/qmakelib/testdata/files/other.txt
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/tests/auto/tools/qmakelib/testdata/files/other.txt
diff --git a/tests/auto/tools/qmakelib/testdata/fromfile/badfile.prx b/tests/auto/tools/qmakelib/testdata/fromfile/badfile.prx
new file mode 100644
index 0000000000..a916f21587
--- /dev/null
+++ b/tests/auto/tools/qmakelib/testdata/fromfile/badfile.prx
@@ -0,0 +1 @@
+error("fail!")
diff --git a/tests/auto/tools/qmakelib/testdata/fromfile/infile.prx b/tests/auto/tools/qmakelib/testdata/fromfile/infile.prx
new file mode 100644
index 0000000000..821cb5cb2c
--- /dev/null
+++ b/tests/auto/tools/qmakelib/testdata/fromfile/infile.prx
@@ -0,0 +1 @@
+DEFINES = QT_DLL
diff --git a/tests/auto/tools/qmakelib/testdata/include/inc.pri b/tests/auto/tools/qmakelib/testdata/include/inc.pri
new file mode 100644
index 0000000000..1f1b3a287f
--- /dev/null
+++ b/tests/auto/tools/qmakelib/testdata/include/inc.pri
@@ -0,0 +1,8 @@
+VAR = val
+.VAR = nope
+
+fake-*: MATCH = 1
+
+defineTest(func) {
+ message("say hi!")
+}
diff --git a/tests/auto/tools/qmakelib/testdata/mkspecs/fake-g++/qmake.conf b/tests/auto/tools/qmakelib/testdata/mkspecs/fake-g++/qmake.conf
new file mode 100644
index 0000000000..d7a17d2429
--- /dev/null
+++ b/tests/auto/tools/qmakelib/testdata/mkspecs/fake-g++/qmake.conf
@@ -0,0 +1 @@
+# Nothing here
diff --git a/tests/auto/tools/qmakelib/testdata/mkspecs/features/default_post.prf b/tests/auto/tools/qmakelib/testdata/mkspecs/features/default_post.prf
new file mode 100644
index 0000000000..d7a17d2429
--- /dev/null
+++ b/tests/auto/tools/qmakelib/testdata/mkspecs/features/default_post.prf
@@ -0,0 +1 @@
+# Nothing here
diff --git a/tests/auto/tools/qmakelib/testdata/mkspecs/features/default_pre.prf b/tests/auto/tools/qmakelib/testdata/mkspecs/features/default_pre.prf
new file mode 100644
index 0000000000..d7a17d2429
--- /dev/null
+++ b/tests/auto/tools/qmakelib/testdata/mkspecs/features/default_pre.prf
@@ -0,0 +1 @@
+# Nothing here
diff --git a/tests/auto/tools/qmakelib/testdata/mkspecs/features/spec_post.prf b/tests/auto/tools/qmakelib/testdata/mkspecs/features/spec_post.prf
new file mode 100644
index 0000000000..d7a17d2429
--- /dev/null
+++ b/tests/auto/tools/qmakelib/testdata/mkspecs/features/spec_post.prf
@@ -0,0 +1 @@
+# Nothing here
diff --git a/tests/auto/tools/qmakelib/testdata/mkspecs/features/spec_pre.prf b/tests/auto/tools/qmakelib/testdata/mkspecs/features/spec_pre.prf
new file mode 100644
index 0000000000..d7a17d2429
--- /dev/null
+++ b/tests/auto/tools/qmakelib/testdata/mkspecs/features/spec_pre.prf
@@ -0,0 +1 @@
+# Nothing here
diff --git a/tests/auto/tools/qmakelib/testdata/mkspecs/features/testfeat.prf b/tests/auto/tools/qmakelib/testdata/mkspecs/features/testfeat.prf
new file mode 100644
index 0000000000..57c9a0d783
--- /dev/null
+++ b/tests/auto/tools/qmakelib/testdata/mkspecs/features/testfeat.prf
@@ -0,0 +1 @@
+VAR = foo bar