From b7c4449a10c588261383328f2ae1a2d40028152b Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Thu, 26 Jan 2023 11:46:22 +0100 Subject: test/bootstrap: also test bootstrapping with the gnu compiler family --- test/bootstrap/TARGETS | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) 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"] } } -- cgit v1.2.3