From: Jason Ish Date: Wed, 9 Oct 2019 15:18:31 +0000 (-0600) Subject: rust: run tests with same features as build X-Git-Tag: suricata-5.0.0~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a3cdef2b4dd0d1c9618a7990941867032001914a;p=thirdparty%2Fsuricata.git rust: run tests with same features as build Cargo check wasn't being passed --features so could have a different configuration than the build. --- 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) \