Fathi Boudra | 422bf77 | 2019-12-02 11:10:16 +0200 | [diff] [blame^] | 1 | #!/bin/bash |
| 2 | # |
| 3 | # Copyright (c) 2019, Arm Limited. All rights reserved. |
| 4 | # |
| 5 | # SPDX-License-Identifier: BSD-3-Clause |
| 6 | # |
| 7 | |
| 8 | set -e |
| 9 | |
| 10 | # Generate test report |
| 11 | if [ "$CI_ROOT" ]; then |
| 12 | # Gather Coverity scan summary if it was performed as part of this job |
| 13 | if [ "$(find -maxdepth 1 -name '*coverity*.test' -type f | wc -l)" != 0 ]; then |
| 14 | if ! "$CI_ROOT/script/coverity_summary.py" "$BUILD_URL" > coverity.data; then |
| 15 | rm -f coverity.data |
| 16 | fi |
| 17 | fi |
| 18 | |
| 19 | "$CI_ROOT/script/gen_test_report.py" \ |
| 20 | --job "${worker_job:-tf-worker}" \ |
| 21 | --build-job "${lava_job:-tf-build-for-lava}" \ |
| 22 | --meta-data clone.data \ |
| 23 | --meta-data override.data \ |
| 24 | --meta-data inject.data \ |
| 25 | --meta-data html:coverity.data \ |
| 26 | || true |
| 27 | fi |