summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2023-01-26 11:46:22 +0100
committerKlaus Aehlig <klaus.aehlig@huawei.com>2023-01-26 13:03:06 +0100
commitb7c4449a10c588261383328f2ae1a2d40028152b (patch)
treebe86e20b39c70bf61553b9c9b57c993ad38ace9f
parent5d590b2ca23d079ebf436dda037fbf0e13605e3a (diff)
downloadjustbuild-b7c4449a10c588261383328f2ae1a2d40028152b.tar.gz
test/bootstrap: also test bootstrapping with the gnu compiler family
-rw-r--r--test/bootstrap/TARGETS21
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"]
}
}