diff options
author | Oliver Reiche <oliver.reiche@huawei.com> | 2022-10-10 13:18:19 +0200 |
---|---|---|
committer | Oliver Reiche <oliver.reiche@huawei.com> | 2022-10-10 17:28:26 +0200 |
commit | d0dfeeacba67d34c2adc2a30f44c5db43decf228 (patch) | |
tree | 79fd69c09e1867b1379f559fd154b9612fd54231 /test | |
parent | 5c78fb69d906f791803d183c45f89dbb2371c02f (diff) | |
download | justbuild-d0dfeeacba67d34c2adc2a30f44c5db43decf228.tar.gz |
Replace CC/configure rule by builtin configure
Diffstat (limited to 'test')
-rw-r--r-- | test/TARGETS | 41 |
1 files changed, 29 insertions, 12 deletions
diff --git a/test/TARGETS b/test/TARGETS index 3f572f53..6c1c62e8 100644 --- a/test/TARGETS +++ b/test/TARGETS @@ -15,20 +15,37 @@ ] } , "ALL": - { "type": ["@", "rules", "CC", "configure"] + { "type": "configure" + , "arguments_config": + ["OS", "ARCH", "HOST_ARCH", "TARGET_ARCH", "COMPILER_FAMILY"] , "tainted": ["test"] - , "arguments_config": ["OS", "ARCH"] - , "os": [{"type": "var", "name": "OS", "default": "linux"}] - , "arch": [{"type": "var", "name": "ARCH", "default": "x86_64"}] - , "target_arch": - [ { "type": "var" - , "name": "TARGET_ARCH" - , "default": {"type": "var", "name": "ARCH", "default": "x86_64"} + , "target": "TESTS" + , "config": + { "type": "let*" + , "bindings": + [ ["OS", {"type": "var", "name": "OS", "default": "linux"}] + , ["ARCH", {"type": "var", "name": "ARCH", "default": "x86_64"}] + , [ "HOST_ARCH" + , { "type": "var" + , "name": "HOST_ARCH" + , "default": {"type": "var", "name": "ARCH"} + } + ] + , [ "TARGET_ARCH" + , { "type": "var" + , "name": "TARGET_ARCH" + , "default": {"type": "var", "name": "ARCH"} + } + ] + , [ "COMPILER_FAMILY" + , {"type": "var", "name": "COMPILER_FAMILY", "default": "clang"} + ] + ] + , "body": + { "type": "env" + , "vars": ["OS", "ARCH", "HOST_ARCH", "TARGET_ARCH", "COMPILER_FAMILY"] } - ] - , "compiler_family": - [{"type": "var", "name": "COMPILER_FAMILY", "default": "clang"}] - , "target": ["TESTS"] + } } , "bootstrap-test": { "type": "install" |