From 405e74ca388877f8c2a7b10435eb61e4e4e52e71 Mon Sep 17 00:00:00 2001 From: Yufeng Wang Date: Fri, 20 Jan 2023 10:21:55 -0800 Subject: [PATCH] Copy webapp's YAML file to the coverage output directory (#24545) --- scripts/build_coverage.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/build_coverage.sh b/scripts/build_coverage.sh index c8aa555ff264ec..f88129a6c94260 100755 --- a/scripts/build_coverage.sh +++ b/scripts/build_coverage.sh @@ -168,3 +168,6 @@ lcov --initial --capture --directory "$OUTPUT_ROOT/obj/src" --exclude="$PWD"/zzz lcov --capture --directory "$OUTPUT_ROOT/obj/src" --exclude="$PWD"/zzz_generated/* --exclude="$PWD"/third_party/* --exclude=/usr/include/* --output-file "$COVERAGE_ROOT/lcov_test.info" lcov --add-tracefile "$COVERAGE_ROOT/lcov_base.info" --add-tracefile "$COVERAGE_ROOT/lcov_test.info" --output-file "$COVERAGE_ROOT/lcov_final.info" genhtml "$COVERAGE_ROOT/lcov_final.info" --output-directory "$COVERAGE_ROOT/html" + +# Copy webapp's YAML file to the coverage output directory +cp "$CHIP_ROOT/integrations/appengine/webapp_config.yaml" "$COVERAGE_ROOT/webapp_config.yaml"