Skip to content

Commit 270850e

Browse files
authored
Merge pull request #4608 from sysown/v2.6.x-fix_gcov_files
remove empty .gcno files
2 parents 1f4b088 + 644dd93 commit 270850e

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

test/tap/tests/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,9 @@ tests: tests-cpp \
203203
prepare_statement_err3024_async-t \
204204
reg_test_mariadb_stmt_store_result_libmysql-t \
205205
reg_test_mariadb_stmt_store_result_async-t
206+
tests:
207+
@echo "Removing empty .gcno files ..."
208+
find -L . -type f -name '*.gcno' -empty -ls -delete
206209

207210
tests-cpp: $(patsubst %.cpp,%,$(wildcard *-t.cpp))
208211
tests-php: $(patsubst %,php-%,$(wildcard *-t.php))

test/tap/tests_with_deps/deprecate_eof_support/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,9 @@ $(TEST_MYSQL_LDIR)/libmysqlclient.a:
154154

155155
#tests: build_test_deps
156156
tests: $(patsubst %.cpp,%,$(wildcard *-t.cpp)) ok_packet_mixed_queries-t fwd_eof_query fwd_eof_ok_query
157+
tests:
158+
@echo "Removing empty .gcno files ..."
159+
find -L . -type f -name '*.gcno' -empty -ls -delete
157160

158161
COMMONARGS = $(OPT) -Wl,-Bdynamic -ltap -lcpp_dotenv -lcurl -lre2 -lssl -lcrypto -lz -ldl -lpthread -DGITVERSION=\"$(GIT_VERSION)\"
159162

0 commit comments

Comments
 (0)