From 07e3af1247b6a0b1e1d69539be835cfcd577c3ba Mon Sep 17 00:00:00 2001 From: "Sean T. Allen" Date: Mon, 13 Jul 2026 23:57:49 -0400 Subject: [PATCH] Shuffle test order Randomizing test order surfaces hidden dependencies between tests. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index aab42df..40103f4 100644 --- a/Makefile +++ b/Makefile @@ -48,13 +48,13 @@ EXAMPLES_BINARIES := $(addprefix $(BUILD_DIR)/,$(EXAMPLES)) test: unit-tests integration-tests examples unit-tests: $(tests_binary) - $^ --exclude=integration/ --sequential + $^ --exclude=integration/ --sequential --shuffle test-one: $(tests_binary) $^ --only="$(t)" integration-tests: $(tests_binary) - $^ --only=integration/ --sequential + $^ --only=integration/ --sequential --shuffle $(tests_binary): $(SOURCE_FILES) | $(BUILD_DIR) $(GET_DEPENDENCIES_WITH)