summaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorAndrei Vagin <avagin@google.com>2020-12-30 01:28:26 -0800
committerAndrei Vagin <avagin@gmail.com>2021-01-07 17:41:43 -0800
commit8de562b79942f5383ffbe67873df07509ca7fcb0 (patch)
tree319862c9742914020a08a6087d1f5054c3040b4e /Makefile
parent599a3d0fb4cabbe6c56f4ac34dc9381eee365f52 (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--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 8ead2cfb2..44d882838 100644
--- a/Makefile
+++ b/Makefile
@@ -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