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(-) diff --git a/Makefile b/Makefile index 37101af..395a526 100644 --- a/Makefile +++ b/Makefile @@ -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: -- 2.43.0
