Commit e5883b9 1 parent 851c634 commit e5883b9 Copy full SHA for e5883b9
File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -260,7 +260,7 @@ build-tests:
260
260
261
261
unit-test : clean-test-results
262
262
@printf $(COLOR ) " Run unit tests..."
263
- @go test $(UNIT_TEST_DIRS ) -timeout=$(TEST_TIMEOUT ) $(TEST_DIRS ) -race | tee -a test.log
263
+ @go test $(UNIT_TEST_DIRS ) -timeout=$(TEST_TIMEOUT ) $(TEST_TAG ) -race | tee -a test.log
264
264
@! grep -q " ^--- FAIL" test.log
265
265
266
266
integration-test : clean-test-results
@@ -293,7 +293,7 @@ $(COVER_ROOT):
293
293
unit-test-coverage : $(COVER_ROOT )
294
294
@printf $(COLOR ) " Run unit tests with coverage..."
295
295
@echo " mode: atomic" > $(UNIT_COVER_PROFILE )
296
- @go test ./$(UNIT_TEST_DIRS ) -timeout=$(TEST_TIMEOUT ) -race -tags=unittest -coverprofile=$(UNIT_COVER_PROFILE ) || exit 1;
296
+ @go test ./$(UNIT_TEST_DIRS ) -timeout=$(TEST_TIMEOUT ) -race $( TEST_TAG ) -coverprofile=$(UNIT_COVER_PROFILE ) || exit 1;
297
297
298
298
integration-test-coverage : $(COVER_ROOT )
299
299
@printf $(COLOR ) " Run integration tests with coverage..."
You can’t perform that action at this time.
0 commit comments