[LTP] [PATCH v2 2/2] metaparse: Map arrays with designated initializers to JSON objects
Andrea Cervesato
andrea.cervesato@suse.com
Fri Jul 11 14:46:29 CEST 2025
Hi!
Now docs seem to be broken for tst_test.filesystems. This patch will
solve the issue and it needs to be added to the patch-set:
diff --git a/doc/conf.py b/doc/conf.py
index da768232b..cadfeb2b3 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -406,13 +406,12 @@ def _generate_setup_table(keys):
else:
values.append(f'{value[0]}, {value[1]}')
elif key == 'filesystems':
- for v in value:
- for item in v:
- if isinstance(item, list):
- continue
-
- if item.startswith('.type'):
- values.append(item.replace('.type=', ''))
+ for params in value:
+ for pkey, pval in params.items():
+ if pkey == "type":
+ values.append(f"- {pval}")
+ else:
+ values.append(f" {pkey}: {pval}")
elif key == "save_restore":
for item in value:
values.append(item[0])
- Andrea
More information about the ltp
mailing list