diff options
author | murgatroid99 <mlumish@google.com> | 2016-04-01 14:11:55 -0700 |
---|---|---|
committer | murgatroid99 <mlumish@google.com> | 2016-04-01 14:13:04 -0700 |
commit | 1014a4ef98f3e821ef34b1e5baab145995f9d28b (patch) | |
tree | 591d6616d1f6bc6713594adb324125e3746764cf /tools | |
parent | a5dc80d22ae03f76525f030fb1bfd47c0d8266a2 (diff) |
Flatten Node coverage reports by one level to avoid issues with redirects
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/run_tests/run_node.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/run_tests/run_node.sh b/tools/run_tests/run_node.sh index b94dc3ec62..f00bd1a5af 100755 --- a/tools/run_tests/run_node.sh +++ b/tools/run_tests/run_node.sh @@ -48,6 +48,7 @@ if [ "$CONFIG" = "gcov" ] then ./node_modules/.bin/istanbul cover --dir reports/node_coverage \ -x **/interop/* ./node_modules/.bin/_mocha -- --timeout $timeout $test_directory + cp -r reports/node_coverage/lcov-report/* reports/node_coverage/ cd build gcov Release/obj.target/grpc/ext/*.o lcov --base-directory . --directory . -c -o coverage.info @@ -55,8 +56,6 @@ then genhtml -o ../reports/node_ext_coverage --num-spaces 2 \ -t 'Node gRPC test coverage' coverage.info --rc genhtml_hi_limit=95 \ --rc genhtml_med_limit=80 --no-prefix - echo '<html><head><meta http-equiv="refresh" content="0;URL=lcov-report/index.html"></head></html>' > \ - ../reports/node_coverage/index.html else JUNIT_REPORT_PATH=src/node/report.xml JUNIT_REPORT_STACK=1 \ ./node_modules/.bin/mocha --timeout $timeout \ |