aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLev Rumyantsev <levarum@google.com>2024-04-24 22:15:53 -0700
committerLev Rumyantsev <levarum@google.com>2024-04-25 15:11:41 -0700
commit78c8b6f752eb3df2fea1e7f618f246172be28935 (patch)
tree8ea017356f475803051273d0c3e329a3f1f1171a
parent219fd07374d5290d54c3ef79ae5338171b24aafa (diff)
downloadbinary_translation-78c8b6f752eb3df2fea1e7f618f246172be28935.tar.gz
berberis_all: Run tests when target allows
Test: tree-hugger Bug: 232598137 Change-Id: I7ac17dac516dfe5f2c34b4aec3a0d5fc14e8cfb8
-rw-r--r--tests/run_host_tests.mk9
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/run_host_tests.mk b/tests/run_host_tests.mk
index da086e0a..29906c6d 100644
--- a/tests/run_host_tests.mk
+++ b/tests/run_host_tests.mk
@@ -29,10 +29,11 @@
.PHONY: berberis_run_host_tests
-# TODO(b/295236834): Add berberis_host_tests_result to berberis_all once the tests pass in
-# post-submit. They are currently failing due to unimplemented bit vector instructions in
-# stock builds.
-# berberis_all: berberis_host_tests_result
+# Test binaries are build as native bridge targets. So we only enable test runs when native bridge
+# is configured for riscv64.
+ifeq ($(NATIVE_BRIDGE_ABI),riscv64)
+berberis_all: berberis_host_tests_result
+endif
test_dir := $(call intermediates-dir-for,PACKAGING,berberis_tests)