diff --git a/Makefile b/Makefile index a46ad71a176c1..83ff1a9c1836a 100644 --- a/Makefile +++ b/Makefile @@ -578,6 +578,8 @@ test-go: PACKAGES = $(shell go list ./... | grep -v -e integration -e tool/tsh - test-go: CHAOS_FOLDERS = $(shell find . -type f -name '*chaos*.go' | xargs dirname | uniq) test-go: $(VERSRC) $(TEST_LOG_DIR) $(CGOFLAG) go test -cover -json -tags "$(PAM_TAG) $(FIPS_TAG) $(BPF_TAG) $(RDPCLIENT_TAG) $(TOUCHID_TAG) $(PIV_TEST_TAG)" $(PACKAGES) $(FLAGS) $(ADDFLAGS) \ + | tee $(TEST_LOG_DIR)/unit.json \ + | ${RENDER_TESTS} # rdpclient and libfido2 don't play well together, so we run libfido2 tests # separately.