Skip to content

Commit 10c5f9c

Browse files
Write coverage output to a static path (#1303)
1 parent 16c678e commit 10c5f9c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -365,6 +365,7 @@ unit_test: $(ALL_SRC) ## run all unit tests
365365
go test "$$dir" $(TEST_ARG) -coverprofile=$(COVER_ROOT)/"$$dir"/cover.out || failed=1; \
366366
cat $(COVER_ROOT)/"$$dir"/cover.out | grep -v "mode: atomic" >> $(UT_COVER_FILE); \
367367
done; \
368+
cat $(UT_COVER_FILE) > .build/cover.out;
368369
exit $$failed
369370

370371
integ_test_sticky_off: $(ALL_SRC)

0 commit comments

Comments
 (0)