Skip to content

Commit 8b484d0

Browse files
roypatpb8o
authored andcommitted
test: add test ensuring benchmarks compile
This will be needed if the "benchmarks pass" tests become optional, to ensure that we still block merging if a PR makes a benchmark not compile anymore. Signed-off-by: Patrick Roy <[email protected]>
1 parent 75bae63 commit 8b484d0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/integration_tests/build/test_unittests.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,8 @@ def test_unittests(test_fc_session_root_path):
2020
extra_args = "--release --target {} ".format(TARGET)
2121

2222
host.cargo_test(test_fc_session_root_path, extra_args=extra_args)
23+
24+
25+
def test_benchmarks_compile():
26+
"""Checks that all benchmarks compile"""
27+
host.cargo("bench", f"--all --no-run --target {TARGET}")

0 commit comments

Comments
 (0)