From 05eb0ab7cdede9cbac061c1152bf15fd220efd52 Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Mon, 2 Jun 2025 12:59:06 +0200 Subject: Use quoting for literals ... to improve readability of target files. --- test/bootstrap/TARGETS | 26 ++++++++------------------ 1 file changed, 8 insertions(+), 18 deletions(-) (limited to 'test') diff --git a/test/bootstrap/TARGETS b/test/bootstrap/TARGETS index 6910a7ed..9b83291d 100644 --- a/test/bootstrap/TARGETS +++ b/test/bootstrap/TARGETS @@ -17,30 +17,20 @@ , "tainted": ["test"] , "target": "bundled-test" , "config": - { "type": "let*" - , "bindings": - [ ["SUFFIX", "-debug"] - , ["TEST_ENV", {"type": "singleton_map", "key": "DEBUG", "value": "YES"}] - ] - , "body": {"type": "env", "vars": ["TEST_ENV", "SUFFIX"]} - } + {"type": "'", "$1": {"SUFFIX": "-debug", "TEST_ENV": {"DEBUG": "YES"}}} } , "bundled-test-gnu": { "type": "configure" , "tainted": ["test"] , "target": "bundled-test" , "config": - { "type": "let*" - , "bindings": - [ ["SUFFIX", "-gnu"] - , [ "TEST_ENV" - , { "type": "singleton_map" - , "key": "JUST_BUILD_CONF" - , "value": "{\"TOOLCHAIN_CONFIG\":{\"FAMILY\": \"gnu\"}, \"CC\": \"gcc\", \"CXX\": \"g++\"}" - } - ] - ] - , "body": {"type": "env", "vars": ["TEST_ENV", "SUFFIX"]} + { "type": "'" + , "$1": + { "SUFFIX": "-gnu" + , "TEST_ENV": + { "JUST_BUILD_CONF": "{\"TOOLCHAIN_CONFIG\":{\"FAMILY\": \"gnu\"}, \"CC\": \"gcc\", \"CXX\": \"g++\"}" + } + } } } , "distro-bootstrap-deps": -- cgit v1.2.3