diff options
author | 2015-10-02 23:52:38 +0200 | |
---|---|---|
committer | 2015-10-03 01:06:35 +0200 | |
commit | 4d97707751dd0912225e14ef469da762b62f6979 (patch) | |
tree | 608f392d58c61869f68fee8690edde2041d06cac /tools/run_tests | |
parent | 7a94236d698477636dd06282f12f706cad527029 (diff) |
Adding crude html report support.
Diffstat (limited to 'tools/run_tests')
-rwxr-xr-x | tools/run_tests/run_node.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/run_tests/run_node.sh b/tools/run_tests/run_node.sh index 1043b447db..e322ab1995 100755 --- a/tools/run_tests/run_node.sh +++ b/tools/run_tests/run_node.sh @@ -43,13 +43,13 @@ export LD_LIBRARY_PATH=$root/libs/$CONFIG if [ "$CONFIG" = "gcov" ] then - ./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha -- \ - --timeout 8000 + ./node_modules/.bin/istanbul cover --dir ../../reports/node_coverage \ + ./node_modules/.bin/_mocha -- --timeout 8000 cd build gcov Release/obj.target/grpc/ext/*.o lcov --base-directory . --directory . -c -o coverage.info - genhtml -o ../ext_coverage --num-spaces 2 -t 'Node gRPC test coverage' \ - coverage.info + genhtml -o ../../../reports/node_ext_coverage --num-spaces 2 \ + -t 'Node gRPC test coverage' coverage.info else ./node_modules/mocha/bin/mocha --timeout 8000 fi |