diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2023-01-26 11:46:22 +0100 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2023-01-26 13:03:06 +0100 |
commit | b7c4449a10c588261383328f2ae1a2d40028152b (patch) | |
tree | be86e20b39c70bf61553b9c9b57c993ad38ace9f | |
parent | 5d590b2ca23d079ebf436dda037fbf0e13605e3a (diff) | |
download | justbuild-b7c4449a10c588261383328f2ae1a2d40028152b.tar.gz |
test/bootstrap: also test bootstrapping with the gnu compiler family
-rw-r--r-- | test/bootstrap/TARGETS | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/test/bootstrap/TARGETS b/test/bootstrap/TARGETS index 259dbb3e..1bbf365f 100644 --- a/test/bootstrap/TARGETS +++ b/test/bootstrap/TARGETS @@ -25,6 +25,24 @@ , "body": {"type": "env", "vars": ["TEST_ENV", "SUFFIX"]} } } +, "bundled-test-gnu": + { "type": "configure" + , "tainted": ["test"] + , "target": "bundled-test" + , "config": + { "type": "let*" + , "bindings": + [ ["SUFFIX", "-gnu"] + , [ "TEST_ENV" + , { "type": "singleton_map" + , "key": "JUST_BUILD_CONFIG" + , "value": "{\"COMPILER_FAMILY\": \"gnu\", \"CC\": \"gcc\", \"CXX\": \"g++\"}" + } + ] + ] + , "body": {"type": "env", "vars": ["TEST_ENV", "SUFFIX"]} + } + } , "well_known_protos": { "type": ["@", "rules", "data", "staged"] , "srcs": [["@", "protoc", "", "well_known_protos"]] @@ -66,6 +84,7 @@ , "TESTS": { "type": "install" , "tainted": ["test"] - , "deps": ["bundled-test", "bundled-test-debug", "prebuilt-test"] + , "deps": + ["bundled-test", "bundled-test-debug", "bundled-test-gnu", "prebuilt-test"] } } |