summaryrefslogtreecommitdiffstats
path: root/test cases/unit/40 featurenew subprojects
diff options
context:
space:
mode:
Diffstat (limited to 'test cases/unit/40 featurenew subprojects')
-rw-r--r--test cases/unit/40 featurenew subprojects/meson.build7
-rw-r--r--test cases/unit/40 featurenew subprojects/subprojects/bar/meson.build3
-rw-r--r--test cases/unit/40 featurenew subprojects/subprojects/baz/meson.build3
-rw-r--r--test cases/unit/40 featurenew subprojects/subprojects/foo/meson.build3
4 files changed, 16 insertions, 0 deletions
diff --git a/test cases/unit/40 featurenew subprojects/meson.build b/test cases/unit/40 featurenew subprojects/meson.build
new file mode 100644
index 0000000..d136bed
--- /dev/null
+++ b/test cases/unit/40 featurenew subprojects/meson.build
@@ -0,0 +1,7 @@
+project('featurenew subproject', meson_version: '>=0.45')
+
+foo = {}
+
+subproject('foo')
+subproject('bar')
+subproject('baz')
diff --git a/test cases/unit/40 featurenew subprojects/subprojects/bar/meson.build b/test cases/unit/40 featurenew subprojects/subprojects/bar/meson.build
new file mode 100644
index 0000000..712a125
--- /dev/null
+++ b/test cases/unit/40 featurenew subprojects/subprojects/bar/meson.build
@@ -0,0 +1,3 @@
+project('foo subproject', meson_version: '>=0.46')
+
+import('python')
diff --git a/test cases/unit/40 featurenew subprojects/subprojects/baz/meson.build b/test cases/unit/40 featurenew subprojects/subprojects/baz/meson.build
new file mode 100644
index 0000000..811e7aa
--- /dev/null
+++ b/test cases/unit/40 featurenew subprojects/subprojects/baz/meson.build
@@ -0,0 +1,3 @@
+project('baz subproject', meson_version: '!=0.40')
+
+disabler()
diff --git a/test cases/unit/40 featurenew subprojects/subprojects/foo/meson.build b/test cases/unit/40 featurenew subprojects/subprojects/foo/meson.build
new file mode 100644
index 0000000..0ef4472
--- /dev/null
+++ b/test cases/unit/40 featurenew subprojects/subprojects/foo/meson.build
@@ -0,0 +1,3 @@
+project('foo subproject', meson_version: '>=0.40')
+
+disabler()