[bazel] We only have test_rom at runtime so query for compatible tests
Signed-off-by: Drew Macrae <drewmacrae@google.com>
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 3d378fd..fffb34a 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -450,7 +450,8 @@
--define DISABLE_VERILATOR_BUILD=true \
--test_tag_filters=cw310,-broken \
--build_tests_only \
- //sw/...
+ $(./bazelisk.sh query 'rdeps(//sw/...,@bitstreams//:bitstream_test_rom)') \
+ # All the tests that depend on the test rom
displayName: Execute tests
- job: deploy_release_artifacts