Skip to content

Commit 2efd395

Browse files
committed
Ensure make testacc only ever runs TestAcc prefixed tests
Signed-off-by: Timo Sand <timo.sand@f-secure.com>
1 parent e6007fe commit 2efd395

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

GNUmakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ test:
5959
testacc:
6060
@branch=$$(git rev-parse --abbrev-ref HEAD); \
6161
printf "==> Running acceptance tests on branch: \033[1m%s\033[0m...\n" "🌿 $$branch 🌿"
62-
TF_ACC=1 CGO_ENABLED=0 go test $(TEST) -v $(RUNARGS) $(TESTARGS) -timeout 120m -count=1
62+
TF_ACC=1 CGO_ENABLED=0 go test $(TEST) -v -run '^TestAcc' $(RUNARGS) $(TESTARGS) -timeout 120m -count=1
6363

6464
test-compile:
6565
@if [ "$(TEST)" = "./..." ]; then \

0 commit comments

Comments
 (0)