diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2016-10-25 11:23:38 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2016-11-05 03:17:27 +0530 |
commit | 52b589fd55b9fdd62bc07ebc958b3bea2908ac96 (patch) | |
tree | 2746d51d7553ba557b43aafc84aa55ab25dd516a | |
parent | fd260eac817c80105597149f615b71323602e949 (diff) | |
download | meson-52b589fd55b9fdd62bc07ebc958b3bea2908ac96.zip meson-52b589fd55b9fdd62bc07ebc958b3bea2908ac96.tar.gz meson-52b589fd55b9fdd62bc07ebc958b3bea2908ac96.tar.bz2 |
Test that invalid subproject code in dependency() errors out
-rw-r--r-- | test cases/failing/34 non-root subproject/meson.build | 3 | ||||
-rw-r--r-- | test cases/failing/34 non-root subproject/some/meson.build | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/test cases/failing/34 non-root subproject/meson.build b/test cases/failing/34 non-root subproject/meson.build new file mode 100644 index 0000000..c84dce7 --- /dev/null +++ b/test cases/failing/34 non-root subproject/meson.build @@ -0,0 +1,3 @@ +project('non-root subproject', 'c') + +subdir('some') diff --git a/test cases/failing/34 non-root subproject/some/meson.build b/test cases/failing/34 non-root subproject/some/meson.build new file mode 100644 index 0000000..d82f451 --- /dev/null +++ b/test cases/failing/34 non-root subproject/some/meson.build @@ -0,0 +1 @@ +dependency('definitely-doesnt-exist', fallback : ['someproj', 'some_dep']) |