test: add missing implementation-plan test targets
Co-authored-by: Eriyc <50216491+Eriyc@users.noreply.github.com>
This commit is contained in:
@@ -50,3 +50,10 @@ sh_test(
|
||||
"//conditions:default": ["@bun_linux_x64//:bun"],
|
||||
}),
|
||||
)
|
||||
|
||||
sh_test(
|
||||
name = "toolchain_resolution_matrix_test",
|
||||
srcs = ["toolchain_resolution_matrix.sh"],
|
||||
args = ["$(location //tests/toolchain_test:BUILD.bazel)"],
|
||||
data = ["//tests/toolchain_test:BUILD.bazel"],
|
||||
)
|
||||
|
||||
11
tests/toolchain_test/toolchain_resolution_matrix.sh
Executable file
11
tests/toolchain_test/toolchain_resolution_matrix.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
build_file="$1"
|
||||
|
||||
grep -Eq 'name = "linux_x86_64"' "${build_file}"
|
||||
grep -Eq 'name = "linux_aarch64"' "${build_file}"
|
||||
grep -Eq 'name = "darwin_x86_64"' "${build_file}"
|
||||
grep -Eq 'name = "darwin_aarch64"' "${build_file}"
|
||||
grep -Eq 'name = "bun_version_test"' "${build_file}"
|
||||
grep -Eq 'select\(' "${build_file}"
|
||||
Reference in New Issue
Block a user