summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2025-06-02 12:59:06 +0200
committerKlaus Aehlig <klaus.aehlig@huawei.com>2025-06-02 14:31:37 +0200
commit05eb0ab7cdede9cbac061c1152bf15fd220efd52 (patch)
tree56d5ec812e3e2ea42d0ebb7820c04516b1e33ec1 /test
parentd1dc5cce32ba20c0dae13aecf63e88fe8ead899f (diff)
downloadjustbuild-05eb0ab7cdede9cbac061c1152bf15fd220efd52.tar.gz
Use quoting for literals
... to improve readability of target files.
Diffstat (limited to 'test')
-rw-r--r--test/bootstrap/TARGETS26
1 files changed, 8 insertions, 18 deletions
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":