diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-07-02 18:10:06 +0200 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-07-03 16:31:28 +0200 |
commit | 7a242a9ddf3174aee39cf2de9fce3d7ccc071d8d (patch) | |
tree | f249b9c0f6adf47cf8903fb6adddfe1bea57cdc8 /etc | |
parent | 41ba7556824b0b0eeac27811b0d1323f2a965a45 (diff) | |
download | bootstrappable-toolchain-7a242a9ddf3174aee39cf2de9fce3d7ccc071d8d.tar.gz |
test rules: use full stage-0 busybox
... and not only the bootstrap one. For tests, it is useful to
have tools like realpath(1) and date(1) that are not needed for
bootstrapping.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/defaults/shell/test.TARGETS | 13 | ||||
-rw-r--r-- | etc/repos.json | 4 |
2 files changed, 16 insertions, 1 deletions
diff --git a/etc/defaults/shell/test.TARGETS b/etc/defaults/shell/test.TARGETS index 7b0f232..55ecb70 100644 --- a/etc/defaults/shell/test.TARGETS +++ b/etc/defaults/shell/test.TARGETS @@ -1,5 +1,16 @@ { "defaults": { "type": "defaults" - , "base": [["@", "stage-0", "shell", "defaults"]] + , "sh": ["shell-busybox/bin/sh"] + , "toolchain": ["shell-busybox"] + , "bin dirs": + [ "shell-busybox/bin" + , "shell-busybox/sbin" + , "shell-busybox/usr/bin" + , "shell-busybox/usr/sbin" + ] + } +, "shell-busybox": + { "type": "install" + , "dirs": [[["@", "busybox", "", "busybox"], "shell-busybox"]] } } diff --git a/etc/repos.json b/etc/repos.json index 51f6f06..67e3e76 100644 --- a/etc/repos.json +++ b/etc/repos.json @@ -725,6 +725,7 @@ { "rules": "rules" , "toolchain": "gcc-latest-native" , "stage-0": "rules/stage-0" + , "busybox": "stage-0/busybox" } } , "test/rules-gcc-musl": @@ -736,6 +737,7 @@ { "rules": "rules" , "toolchain": "gcc-latest-musl" , "stage-0": "rules/stage-0" + , "busybox": "stage-0/busybox" } } , "test/rules-gcc-musl-static": @@ -747,6 +749,7 @@ { "rules": "rules" , "toolchain": "gcc-latest-musl-static" , "stage-0": "rules/stage-0" + , "busybox": "stage-0/busybox" } } , "test/rules-clang-native": @@ -758,6 +761,7 @@ { "rules": "rules" , "toolchain": "clang-latest-native" , "stage-0": "rules/stage-0" + , "busybox": "stage-0/busybox" } } , "test/gcc-native": |