From 2ba8104b37123c023d6b93a44ce28620e062750f Mon Sep 17 00:00:00 2001 From: winlin Date: Sun, 29 Mar 2020 16:36:49 +0800 Subject: [PATCH] Update coverage script --- trunk/auto/coverage.sh | 2 +- trunk/configure | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/trunk/auto/coverage.sh b/trunk/auto/coverage.sh index 0196fe9d5..55cb7ce46 100644 --- a/trunk/auto/coverage.sh +++ b/trunk/auto/coverage.sh @@ -17,7 +17,7 @@ mkdir -p $workdir && cd $workdir ret=$?; if [[ $ret -ne 0 ]]; then echo "Enter workdir failed, ret=$ret"; exit $ret; fi # Collect all *.gcno and *.gcda to objs/cover. -cd $workdir && (rm -rf src && cp -R ../../src . && cp -R ../src .) +cd $workdir && (rm -rf src && cp -R ../../src . && cp -R ../src/* src/) ret=$?; if [[ $ret -ne 0 ]]; then echo "Collect *.gcno and *.gcda failed, ret=$ret"; exit $ret; fi # Generate *.gcov for coverage. diff --git a/trunk/configure b/trunk/configure index 32cd88ea8..b8d13c3f3 100755 --- a/trunk/configure +++ b/trunk/configure @@ -391,7 +391,7 @@ doclean: clean: clean_srs clean_modules clean_st clean_openssl clean_ffmpeg clean_nginx clean_cherrypy @echo "You can clean each some components, see make help" -destroy: clean +destroy: (cd ${SRS_OBJS_DIR} && rm -rf ${SRS_PLATFORM}) clean_srs: