mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-08 05:26:58 +02:00
27 lines
761 B
Bash
Executable File
27 lines
761 B
Bash
Executable File
#!/bin/bash
|
|
#
|
|
# Copyright (c) 2021 The Flatcar Maintainers.
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
# Helper script for test.sh to update the test failures text file.
|
|
# test.sh uses this to determine which tests need to re-run.
|
|
# This script is run within the SDK container.
|
|
|
|
set -euo pipefail
|
|
|
|
arch="$1"
|
|
vernum="$2"
|
|
image="$3"
|
|
retry="$4"
|
|
tapfile="$5"
|
|
failfile="$6"
|
|
merged_summary="$7"
|
|
merged_detailed="$8"
|
|
|
|
source ci-automation/tapfile_helper_lib.sh
|
|
tap_ingest_tapfile "${tapfile}" "${image}" "${retry}"
|
|
tap_failed_tests_for_vendor "${image}" > "${failfile}"
|
|
tap_generate_report "${arch}" "${vernum}" > "${merged_summary}"
|
|
tap_generate_report "${arch}" "${vernum}" "true" > "${merged_detailed}"
|