From dbc90a5c0da3dcb9454ef60df16c77920d2ae875 Mon Sep 17 00:00:00 2001 From: Eval EXEC Date: Sat, 7 Oct 2023 16:35:01 +0800 Subject: [PATCH] Add cargo-nextest entry to Makefile Signed-off-by: Eval EXEC --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index 7a1c1c0..e2aad0b 100644 --- a/Makefile +++ b/Makefile @@ -5,6 +5,12 @@ GRCOV_EXCL_START = ^\s*((log::)?(trace|debug|info|warn|error)|(debug_)?assert(_e GRCOV_EXCL_STOP = ^\s*\)(;)?$$ GRCOV_EXCL_LINE = \s*((log::)?(trace|debug|info|warn|error)|(debug_)?assert(_eq|_ne|_error_eq))!\(.*\)(;)?$$ +test: + cargo nextest run --hide-progress-bar --success-output immediate --failure-output immediate + +test-portable: + cargo nextest run --features portable --hide-progress-bar --success-output immediate --failure-output immediate + coverage-clean: rm -rf "${CARGO_TARGET_DIR}/*.profraw" "${GRCOV_OUTPUT}" "${GRCOV_OUTPUT:.info=}"