aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/run_tests/dockerize
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@users.noreply.github.com>2018-11-20 17:34:58 +0100
committerGravatar GitHub <noreply@github.com>2018-11-20 17:34:58 +0100
commitedea79c0142ec16c593c232b4b52737318e004e2 (patch)
treef199158922454ff7c53407a5ee1f19d90dc7367c /tools/run_tests/dockerize
parenta0912d5f1b067faf8e53f88be6bfbbaef5071634 (diff)
parent2108c0b6a78170118a542875daa3857b932bb29f (diff)
Merge pull request #17245 from jtattermusch/coverage_split_up
Split up test coverage runs by language
Diffstat (limited to 'tools/run_tests/dockerize')
-rwxr-xr-xtools/run_tests/dockerize/docker_run_tests.sh12
1 files changed, 2 insertions, 10 deletions
diff --git a/tools/run_tests/dockerize/docker_run_tests.sh b/tools/run_tests/dockerize/docker_run_tests.sh
index c41734c92d..b7686e48ba 100755
--- a/tools/run_tests/dockerize/docker_run_tests.sh
+++ b/tools/run_tests/dockerize/docker_run_tests.sh
@@ -38,16 +38,8 @@ exit_code=0
$RUN_TESTS_COMMAND || exit_code=$?
-cd reports
-echo '<html><head></head><body>' > index.html
-find . -maxdepth 1 -mindepth 1 -type d | sort | while read d ; do
- d=${d#*/}
- n=${d//_/ }
- echo "<a href='$d/index.html'>$n</a><br />" >> index.html
-done
-echo '</body></html>' >> index.html
-cd ..
-
+# The easiest way to copy all the reports files from inside of
+# the docker container is to zip them and then copy the zip.
zip -r reports.zip reports
find . -name report.xml -print0 | xargs -0 -r zip reports.zip
find . -name sponge_log.xml -print0 | xargs -0 -r zip reports.zip