File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change 1+ ifeq ($(origin PROFILE ) , undefined)
2+ else
3+ PROFILE_FLAGS = -C instrument-coverage
4+ endif
5+
16ifeq ($(origin FEDORA_RELEASE ) , undefined)
27else
38 FEDORA_RELEASE_ARGS = --release=${FEDORA_RELEASE}
@@ -46,16 +51,16 @@ fmt-ci:
4651 cd devicemapper-rs-sys && cargo fmt -- --check
4752
4853build :
49- RUSTFLAGS=" ${DENY} " cargo build
54+ RUSTFLAGS=" ${DENY} ${PROFILE_FLAGS} " cargo build
5055
5156build-tests :
52- RUSTFLAGS=" ${DENY} " cargo test --no-run
57+ RUSTFLAGS=" ${DENY} ${PROFILE_FLAGS} " cargo test --no-run
5358
5459test :
55- RUSTFLAGS=" ${DENY} " RUST_BACKTRACE=1 cargo test -- --skip sudo_ --skip loop_
60+ RUSTFLAGS=" ${DENY} ${PROFILE_FLAGS} " RUST_BACKTRACE=1 cargo test -- --skip sudo_ --skip loop_
5661
5762sudo_test :
58- RUSTFLAGS=" ${DENY} " RUST_BACKTRACE=1 RUST_TEST_THREADS=1 CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUNNER=' sudo -E' cargo test
63+ RUSTFLAGS=" ${DENY} ${PROFILE_FLAGS} " RUST_BACKTRACE=1 RUST_TEST_THREADS=1 CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUNNER=' sudo -E' cargo test
5964
6065clippy :
6166 RUSTFLAGS=" ${DENY} " \
You can’t perform that action at this time.
0 commit comments