From a3cdef2b4dd0d1c9618a7990941867032001914a Mon Sep 17 00:00:00 2001 From: Jason Ish Date: Wed, 9 Oct 2019 09:18:31 -0600 Subject: [PATCH] rust: run tests with same features as build Cargo check wasn't being passed --features so could have a different configuration than the build. --- rust/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rust/Makefile.am b/rust/Makefile.am index e4f4a3a8e9..8ede2c81ab 100644 --- a/rust/Makefile.am +++ b/rust/Makefile.am @@ -53,7 +53,8 @@ distclean-local: clean-local rm -rf vendor gen Cargo.lock check: - CARGO_HOME="$(CARGO_HOME)" @rustup_home@ $(CARGO) test + CARGO_HOME="$(CARGO_HOME)" @rustup_home@ + $(CARGO) test --features "$(RUST_FEATURES)" Cargo.lock: Cargo.toml CARGO_HOME="$(CARGO_HOME)" @rustup_home@ $(CARGO) \