Move Node JUnit reports.xml to repo root

pull/5317/head
murgatroid99 9 years ago
parent 1fd052f43c
commit 9c5f0b1605
  1. 3
      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

Loading…
Cancel
Save