aboutsummaryrefslogtreecommitdiff
path: root/test cases
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2016-12-04 01:06:39 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2016-12-04 01:06:39 +0200
commit2168860a1ed9bb6744622d9d097c347e0193fee0 (patch)
treeac3487655f729c69e6e991510af058775608fd40 /test cases
parentd2802a595b952c42b90263db12d12346e9d60fb2 (diff)
downloadmeson-2168860a1ed9bb6744622d9d097c347e0193fee0.zip
meson-2168860a1ed9bb6744622d9d097c347e0193fee0.tar.gz
meson-2168860a1ed9bb6744622d9d097c347e0193fee0.tar.bz2
Added unit test for rewriter.
Diffstat (limited to 'test cases')
-rw-r--r--test cases/rewrite/1 basic/added.txt5
-rw-r--r--test cases/rewrite/1 basic/meson.build5
-rw-r--r--test cases/rewrite/1 basic/removed.txt5
3 files changed, 15 insertions, 0 deletions
diff --git a/test cases/rewrite/1 basic/added.txt b/test cases/rewrite/1 basic/added.txt
new file mode 100644
index 0000000..657dd42
--- /dev/null
+++ b/test cases/rewrite/1 basic/added.txt
@@ -0,0 +1,5 @@
+project('rewritetest', 'c')
+
+sources = ['trivial.c']
+
+exe = executable('trivialprog', 'notthere.c', sources)
diff --git a/test cases/rewrite/1 basic/meson.build b/test cases/rewrite/1 basic/meson.build
new file mode 100644
index 0000000..a0485d0
--- /dev/null
+++ b/test cases/rewrite/1 basic/meson.build
@@ -0,0 +1,5 @@
+project('rewritetest', 'c')
+
+sources = ['trivial.c', 'notthere.c']
+
+exe = executable('trivialprog', sources)
diff --git a/test cases/rewrite/1 basic/removed.txt b/test cases/rewrite/1 basic/removed.txt
new file mode 100644
index 0000000..5519214
--- /dev/null
+++ b/test cases/rewrite/1 basic/removed.txt
@@ -0,0 +1,5 @@
+project('rewritetest', 'c')
+
+sources = ['trivial.c']
+
+exe = executable('trivialprog', sources)