add Makefile target for Rust bch_bindgen tests
PATCH 1/1 add Makefile target for Rust bch_bindgen tests
Use:
$ make rust_tests or $ make tests
to run the bindgen tests.
Currently there are no Rust tests under src/. However, if any are added, they can be added to this Make target.
Signed-off-by Thomas Bertschinger <[email protected]>
--- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
Makefile +5 -1
@@ -153,7 +153,11 @@ debug: CFLAGS+=-Werror -DCONFIG_BCACHEFS_DEBUG=y -DCONFIG_VALGRIND=y debug: bcachefs .PHONY: tests -tests: tests/test_helper +tests: tests/test_helper rust_tests + +rust_tests: + $(Q)$(CARGO) test -p bch_bindgen + .PHONY: TAGS tags TAGS:
Signature · 1 line
2.43.0