From a3d8d1aa20eb006981994a23c2712d481b428848 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Tue, 5 Aug 2025 07:33:08 +0300 Subject: [PATCH] build(Makefile): allow restricting what tests to run Signed-off-by: Lars Wirzenius --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index b0c7b8d1..bc577cb2 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,5 @@ +TESTS = + all: check build test doc check: @@ -8,10 +10,10 @@ build: cargo build --all-targets fast-test: build - cargo test -- --skip upgrades + cargo test -- --skip upgrades $(TESTS) test: fast-test - cargo test + cargo test -- $(TESTS) .PHONY: doc doc: