diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/bootstrap/TARGETS | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/test/bootstrap/TARGETS b/test/bootstrap/TARGETS index 258b006c..62ac3e5d 100644 --- a/test/bootstrap/TARGETS +++ b/test/bootstrap/TARGETS @@ -1,9 +1,26 @@ { "bundled-test": { "type": ["@", "rules", "shell/test", "script"] - , "name": ["bootstrap-test-bundled"] + , "arguments_config": ["SUFFIX"] + , "name": + [ "bootstrap-test-bundled" + , {"type": "var", "name": "SUFFIX", "default": ""} + ] , "test": ["test-bootstrap.sh"] , "deps": [["", "bootstrap-src"], ["@", "just-distfiles", "", "distdir"]] } +, "bundled-test-debug": + { "type": "configure" + , "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"]} + } + } , "well_known_protos": { "type": ["@", "rules", "data", "staged"] , "srcs": [["@", "protoc", "", "well_known_protos"]] @@ -45,6 +62,6 @@ , "TESTS": { "type": "install" , "tainted": ["test"] - , "deps": ["bundled-test", "prebuilt-test"] + , "deps": ["bundled-test", "bundled-test-debug", "prebuilt-test"] } } |