Instead of using FeatureNew/FeatureDeprecated in the module. The goal here is to be able to handle information about modules in a single place, instead of having to handle it separately. Each module simply defines some metadata, and then the interpreter handles the rest.pull/10702/head
parent
2801ead6d3
commit
6843f56f6b
27 changed files with 128 additions and 54 deletions
@ -0,0 +1,4 @@ |
||||
project('module warnings', meson_version : '>= 0.56') |
||||
|
||||
import('python3') # deprecated module |
||||
import('java') # new module |
@ -0,0 +1,10 @@ |
||||
{ |
||||
"stdout": [ |
||||
{ |
||||
"line": "test cases/common/253 module warnings/meson.build:3: WARNING: Project targets '>= 0.56' but uses feature deprecated since '0.48.0': module python3." |
||||
}, |
||||
{ |
||||
"line": "test cases/common/253 module warnings/meson.build:4: WARNING: Project targets '>= 0.56' but uses feature introduced in '0.60.0': module java." |
||||
} |
||||
] |
||||
} |
Loading…
Reference in new issue