aboutsummaryrefslogtreecommitdiff
path: root/unittests
diff options
context:
space:
mode:
authorCharles Brunet <charles.brunet@optelgroup.com>2023-05-01 15:57:13 -0400
committerJussi Pakkanen <jpakkane@gmail.com>2023-05-22 22:12:29 +0300
commit8d30577a2d085a3c0945af80bc99da8557cb9e44 (patch)
treea21ed34cb64844c1a0dfa7bddcfbcf3e8660329c /unittests
parent12a2dc86ca736249b2ea4d47ae36b165225a3fdf (diff)
downloadmeson-8d30577a2d085a3c0945af80bc99da8557cb9e44.zip
meson-8d30577a2d085a3c0945af80bc99da8557cb9e44.tar.gz
meson-8d30577a2d085a3c0945af80bc99da8557cb9e44.tar.bz2
intro: add more details to generated files(part 2)
- add `extra_paths` to intro-tests.json to know paths needed to run a test on Windows; - add `depends` to alias targets in intro-targets.json to know what targets does an alias point to; - add `depends` to intro-dependencies.json to know libraries linked with an internal dependency; - renamed `deps` to `dependencies` in `intro-dependencies.json` for more uniformity.
Diffstat (limited to 'unittests')
-rw-r--r--unittests/allplatformstests.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/unittests/allplatformstests.py b/unittests/allplatformstests.py
index 9d4c66b..b04ee2f 100644
--- a/unittests/allplatformstests.py
+++ b/unittests/allplatformstests.py
@@ -3007,6 +3007,7 @@ class AllPlatformTests(BasePlatformTests):
('depends', list),
('workdir', (str, None)),
('priority', int),
+ ('extra_paths', list),
]
buildoptions_keylist = [
@@ -3039,7 +3040,8 @@ class AllPlatformTests(BasePlatformTests):
('include_directories', list),
('sources', list),
('extra_files', list),
- ('deps', list),
+ ('dependencies', list),
+ ('depends', list),
('meson_variables', list),
]
@@ -3054,6 +3056,7 @@ class AllPlatformTests(BasePlatformTests):
('extra_files', list),
('subproject', (str, None)),
('dependencies', list),
+ ('depends', list),
('install_filename', (list, None)),
('installed', bool),
('vs_module_defs', (str, None)),