diff options
author | Andrei Vagin <avagin@google.com> | 2020-12-30 01:28:26 -0800 |
---|---|---|
committer | Andrei Vagin <avagin@gmail.com> | 2021-01-07 17:41:43 -0800 |
commit | 8de562b79942f5383ffbe67873df07509ca7fcb0 (patch) | |
tree | 319862c9742914020a08a6087d1f5054c3040b4e /Makefile | |
parent | 599a3d0fb4cabbe6c56f4ac34dc9381eee365f52 (diff) |
Add ARM smoke test
make BAZEL_CONFIG=aarch64 arm-qemu-smoke-test
Signed-off-by: Andrei Vagin <avagin@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -232,6 +232,14 @@ do-tests: @$(call sudo,//runsc,do true) .PHONY: do-tests +arm-qemu-smoke-test: BAZEL_OPTIONS=--config=cross-aarch64 +arm-qemu-smoke-test: load-arm-qemu + export T=$$(mktemp -d --tmpdir release.XXXXXX); \ + mkdir -p $$T/bin/arm64/ && \ + $(call copy,//runsc:runsc,$$T/bin/arm64) && \ + docker run --rm -v $$T/bin/arm64/runsc:/workdir/initramfs/runsc gvisor.dev/images/arm-qemu +.PHONY: arm-qemu-smoke-test + simple-tests: unit-tests # Compatibility target. .PHONY: simple-tests |