summaryrefslogtreecommitdiffstats
path: root/test cases/warning/7 module without unstable
diff options
context:
space:
mode:
Diffstat (limited to 'test cases/warning/7 module without unstable')
-rw-r--r--test cases/warning/7 module without unstable/meson.build3
-rw-r--r--test cases/warning/7 module without unstable/test.json7
2 files changed, 10 insertions, 0 deletions
diff --git a/test cases/warning/7 module without unstable/meson.build b/test cases/warning/7 module without unstable/meson.build
new file mode 100644
index 0000000..409a236
--- /dev/null
+++ b/test cases/warning/7 module without unstable/meson.build
@@ -0,0 +1,3 @@
+project('module import without unstable', meson_version : '>= 0.55')
+
+import('keyval')
diff --git a/test cases/warning/7 module without unstable/test.json b/test cases/warning/7 module without unstable/test.json
new file mode 100644
index 0000000..62b8aa1
--- /dev/null
+++ b/test cases/warning/7 module without unstable/test.json
@@ -0,0 +1,7 @@
+{
+ "stdout": [
+ {
+ "line": "test cases/warning/7 module without unstable/meson.build:3: WARNING: Project targets '>= 0.55' but uses feature introduced in '0.56.0': module keyval as stable module. Consider either adding \"unstable-\" to the module name, or updating the meson required version to \">= 0.56.0\""
+ }
+ ]
+}