aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar murgatroid99 <mlumish@google.com>2016-02-18 15:00:07 -0800
committerGravatar murgatroid99 <mlumish@google.com>2016-02-18 15:00:07 -0800
commit9c5f0b160576ac33147b7386ffe15b01a54eb4dc (patch)
tree8c964f6c241e7f9f277251055dde484f244d7dd4
parent1fd052f43c6d12fa451309264dc7fec2e4faccd7 (diff)
Move Node JUnit reports.xml to repo root
-rwxr-xr-xtools/run_tests/run_node.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/run_tests/run_node.sh b/tools/run_tests/run_node.sh
index 178584ae8e..fb84b79e7f 100755
--- a/tools/run_tests/run_node.sh
+++ b/tools/run_tests/run_node.sh
@@ -44,6 +44,7 @@ root=`pwd`
test_directory='src/node/test'
timeout=8000
+
if [ "$CONFIG" = "gcov" ]
then
./node_modules/.bin/istanbul cover --dir reports/node_coverage \
@@ -58,7 +59,7 @@ then
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/reports.xml JUNIT_REPORT_STACK=1 \
+ JUNIT_REPORT_PATH=reports.xml JUNIT_REPORT_STACK=1 \
./node_modules/.bin/mocha --timeout $timeout \
--reporter mocha-jenkins-reporter $test_directory
fi