diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2022-07-14 13:12:25 -0700 |
---|---|---|
committer | Eli Schwartz <eschwartz93@gmail.com> | 2022-08-17 16:25:36 -0400 |
commit | a78992dd81b4bd1673e4815ff26acd694ff77f68 (patch) | |
tree | 80c6dfddc3a1c8cfa45903d23c3ff01b3862051a /test cases/keyval | |
parent | c32f83a829b6b10a0cbc191c1368b563d4582c28 (diff) | |
download | meson-a78992dd81b4bd1673e4815ff26acd694ff77f68.zip meson-a78992dd81b4bd1673e4815ff26acd694ff77f68.tar.gz meson-a78992dd81b4bd1673e4815ff26acd694ff77f68.tar.bz2 |
interpreter: move handling of module stability to interpreter
Thanks to `ModuleInfo`, all modules are just named `foo.py` instead of
`unstable_foo.py`, which simplifies the import method a bit. This also
allows for accurate FeatureNew/FeatureDeprecated use, as we know when
the module was added and if/when it was stabilized.
Diffstat (limited to 'test cases/keyval')
-rw-r--r-- | test cases/keyval/1 basic/meson.build | 2 | ||||
-rw-r--r-- | test cases/keyval/1 basic/test.json | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test cases/keyval/1 basic/meson.build b/test cases/keyval/1 basic/meson.build index 4207b8e..a6e023e 100644 --- a/test cases/keyval/1 basic/meson.build +++ b/test cases/keyval/1 basic/meson.build @@ -1,4 +1,4 @@ -project('keyval basic test') +project('keyval basic test', meson_version : '>= 0.55') k = import('keyval') conf = k.load('.config') diff --git a/test cases/keyval/1 basic/test.json b/test cases/keyval/1 basic/test.json index dbdc5af..1f8fd9b 100644 --- a/test cases/keyval/1 basic/test.json +++ b/test cases/keyval/1 basic/test.json @@ -1,7 +1,7 @@ { "stdout": [ { - "line": "WARNING: Module unstable-keyval is now stable, please use the keyval module instead." + "line": "test cases/keyval/1 basic/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\"" } ] } |