1

windows tests: move tests, get rid of wine-binfmt

This removes all other Bazel test commands, so all tests can be again
tested with `bazel test ...`.

Also, fixes linux-arm64 glibc tests. Until now they've worked only in
CI. Now they work everywhere I tried.
This commit is contained in:
Motiejus Jakštys
2022-06-02 08:46:16 +03:00
committed by Motiejus Jakštys
parent 86ae317685
commit 3ac217e2cc
8 changed files with 63 additions and 53 deletions

11
ci/test
View File

@@ -1,13 +1,4 @@
#!/bin/bash
set -euo pipefail
set -xeuo pipefail
bazel test ...
# Windows tests
# Unfortunately wine-binfmt breaks within the bazel sandbox, so we disable it
# to run this test.
bazel test //test/c:winver_windows_amd64 \
--spawn_strategy=standalone
# There is no no easy way to run windows_arm64 binaries on Linux, so we just
# cross compile one for testing.
bazel build //test/c:winver_windows_arm64