From b66f97c23aa78ea317ec43356f4d607e485e4359 Mon Sep 17 00:00:00 2001 From: Wilmer Paulino Date: Wed, 6 Mar 2019 17:30:28 -0800 Subject: [PATCH] Makefile: fix unit test flakehunter when running on specific package When using the unit test flakehunter and specifying a package, after the first successful run, all of the tests would be run, rather than just the ones within the specified package. --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 26d2cc27..94f3c7c4 100644 --- a/Makefile +++ b/Makefile @@ -151,8 +151,7 @@ flakehunter: build-itest flake-unit: @$(call print, "Flake hunting unit tests.") - GOTRACEBACK=all $(UNIT) -count=1 - while [ $$? -eq 0 ]; do /bin/sh -c "GOTRACEBACK=all $(UNIT) -count=1"; done + while [ $$? -eq 0 ]; do GOTRACEBACK=all $(UNIT) -count=1; done # ========= # UTILITIES