aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLev Rumyantsev <levarum@google.com>2024-04-25 23:09:16 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2024-04-25 23:09:16 +0000
commit29b0a3fb9503a12bf35fc50442db6baa5118d6af (patch)
tree2ffdf2807882ade9d23833f4edd5a1c011346ef5
parent792349345448fcd6e832fec89eec8a380e46f18d (diff)
parent78c8b6f752eb3df2fea1e7f618f246172be28935 (diff)
downloadbinary_translation-29b0a3fb9503a12bf35fc50442db6baa5118d6af.tar.gz
Merge "berberis_all: Run tests when target allows" into main
-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)