packaging/perftest/unipi/plot.sh: Skipping build if 'siege.csv' doesn't exist

This commit is contained in:
rand00 2022-12-20 21:26:22 +01:00
parent f9375f0828
commit 99f2788ec0

View file

@ -35,6 +35,11 @@ while read UUID; do
BIN_SHA256=$(get_bin_hash "$UUID") BIN_SHA256=$(get_bin_hash "$UUID")
CSV="${PERFJOB_DIR}/${BIN_SHA256}/siege.csv" CSV="${PERFJOB_DIR}/${BIN_SHA256}/siege.csv"
if [ ! -f "$CSV" ]; then
echo "Skipping build with uuid '$UUID'. Test-data doesn't exist: '$CSV'"
continue
fi
if [ $N = 1 ]; then if [ $N = 1 ]; then
echo -n "# Build UUID - " echo -n "# Build UUID - "
echo $(cat "$CSV" | head -n1 | cut -d, -f"$COLS" \ echo $(cat "$CSV" | head -n1 | cut -d, -f"$COLS" \