aboutsummaryrefslogtreecommitdiff
path: root/run_project_tests.py
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2020-02-07 01:55:27 +0100
committerJussi Pakkanen <jpakkane@gmail.com>2020-05-08 20:56:14 +0300
commit7e1529501883ce8741d8689c150f589ab68a814f (patch)
tree407e0c6b075a1b8872f7f9896948d79cbe5846ed /run_project_tests.py
parenta535ef6719816b23085da492dbcdcc4b7bfa8d2b (diff)
downloadmeson-7e1529501883ce8741d8689c150f589ab68a814f.zip
meson-7e1529501883ce8741d8689c150f589ab68a814f.tar.gz
meson-7e1529501883ce8741d8689c150f589ab68a814f.tar.bz2
rename unstable-kconfig to unstable-keyval
Discussions in #6524 have shown that there are various possible uses of the kconfig module and even disagreements in the exact file format between Python-based kconfiglib and the tools in Linux. Instead of trying to reconcile them, just rename the module to something less suggestive and leave any policy to meson.build files. In the future it may be possible to add some kind of parsing through keyword arguments such as bool_true, quoted_strings, etc. and possibly creation of key-value lists too. For now, configuration_data objects provide an easy way to access quoted strings. Note that Kconfig stores false as "absent" so it was already necessary to write "x.has_key('abc')" rather than the more compact "x['abc']". Therefore, having to use configuration_data does not make things much more verbose.
Diffstat (limited to 'run_project_tests.py')
-rwxr-xr-xrun_project_tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/run_project_tests.py b/run_project_tests.py
index 8cbf989..9da67b2 100755
--- a/run_project_tests.py
+++ b/run_project_tests.py
@@ -50,7 +50,7 @@ from run_tests import ensure_backend_detects_changes
from run_tests import guess_backend
ALL_TESTS = ['cmake', 'common', 'warning-meson', 'failing-meson', 'failing-build', 'failing-test',
- 'kconfig', 'platform-osx', 'platform-windows', 'platform-linux',
+ 'keyval', 'platform-osx', 'platform-windows', 'platform-linux',
'java', 'C#', 'vala', 'rust', 'd', 'objective c', 'objective c++',
'fortran', 'swift', 'cuda', 'python3', 'python', 'fpga', 'frameworks', 'nasm', 'wasm'
]
@@ -845,7 +845,7 @@ def detect_tests_to_run(only: T.List[str], use_tmp: bool) -> T.List[T.Tuple[str,
('failing-meson', 'failing', False),
('failing-build', 'failing build', False),
('failing-test', 'failing test', False),
- ('kconfig', 'kconfig', False),
+ ('keyval', 'keyval', False),
('platform-osx', 'osx', not mesonlib.is_osx()),
('platform-windows', 'windows', not mesonlib.is_windows() and not mesonlib.is_cygwin()),