From 4bacfa6a8c8af5087cbb566d84121631410c8852 Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Sun, 11 Aug 2013 00:35:55 +0300 Subject: Check that missing subdirs cause an error. --- test cases/failing/3 missing subdir/meson.build | 3 +++ test cases/failing/4 missing meson.build/meson.build | 3 +++ test cases/failing/4 missing meson.build/subdir/dummy.txt | 1 + 3 files changed, 7 insertions(+) create mode 100644 test cases/failing/3 missing subdir/meson.build create mode 100644 test cases/failing/4 missing meson.build/meson.build create mode 100644 test cases/failing/4 missing meson.build/subdir/dummy.txt (limited to 'test cases/failing') diff --git a/test cases/failing/3 missing subdir/meson.build b/test cases/failing/3 missing subdir/meson.build new file mode 100644 index 0000000..fef8c4b --- /dev/null +++ b/test cases/failing/3 missing subdir/meson.build @@ -0,0 +1,3 @@ +project('subdir', 'c') + +subdir('missing') diff --git a/test cases/failing/4 missing meson.build/meson.build b/test cases/failing/4 missing meson.build/meson.build new file mode 100644 index 0000000..18654be --- /dev/null +++ b/test cases/failing/4 missing meson.build/meson.build @@ -0,0 +1,3 @@ +project('missing meson.build', 'c') + +subdir('subdir') diff --git a/test cases/failing/4 missing meson.build/subdir/dummy.txt b/test cases/failing/4 missing meson.build/subdir/dummy.txt new file mode 100644 index 0000000..03327bd --- /dev/null +++ b/test cases/failing/4 missing meson.build/subdir/dummy.txt @@ -0,0 +1 @@ +This needs to be here because Git can't handle empty dirs. -- cgit v1.1