diff --git a/Makefile b/Makefile index 0bc646d9..112ab011 100644 --- a/Makefile +++ b/Makefile @@ -103,18 +103,14 @@ cover_profile: lint bins @echo "mode: atomic" > $(BUILD)/cover.out @echo Running integration tests: - @number=1 ; while [[ $$number -le 100 ]] ; do \ - echo Running times: $$number ; \ - time for dir in $(INTEG_TEST_DIRS); do \ - mkdir -p $(BUILD)/"$$dir"; \ - go test $(EMBED) "$$dir" $(TEST_ARG) $(GOCOVERPKG_ARG) -coverprofile=$(BUILD)/"$$dir"/coverage.out || exit 1; \ - cat $(BUILD)/"$$dir"/coverage.out | grep -v "mode: atomic" >> $(BUILD)/cover.out; \ - done ; \ - ((number = number + 1)) ; \ + @time for dir in $(INTEG_TEST_DIRS); do \ + mkdir -p $(BUILD)/"$$dir"; \ + go test $(EMBED) "$$dir" $(TEST_ARG) $(GOCOVERPKG_ARG) -coverprofile=$(BUILD)/"$$dir"/coverage.out || exit 1; \ + cat $(BUILD)/"$$dir"/coverage.out | grep -v "mode: atomic" >> $(BUILD)/cover.out; \ done -# @echo Running tests: -# @time for dir in $(PKG_TEST_DIRS); do \ + @echo Running tests: + @time for dir in $(PKG_TEST_DIRS); do \ mkdir -p $(BUILD)/"$$dir"; \ go test $(EMBED) "$$dir" $(TEST_ARG) -coverprofile=$(BUILD)/"$$dir"/coverage.out || exit 1; \ cat $(BUILD)/"$$dir"/coverage.out | grep -v "mode: atomic" >> $(BUILD)/cover.out; \