From 99f2788ec0cc13f90f8d037af9eada10a516848a Mon Sep 17 00:00:00 2001 From: rand00 Date: Tue, 20 Dec 2022 21:26:22 +0100 Subject: [PATCH] packaging/perftest/unipi/plot.sh: Skipping build if 'siege.csv' doesn't exist --- packaging/perftest/unipi/plot.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packaging/perftest/unipi/plot.sh b/packaging/perftest/unipi/plot.sh index 42b7229..045b205 100755 --- a/packaging/perftest/unipi/plot.sh +++ b/packaging/perftest/unipi/plot.sh @@ -35,6 +35,11 @@ while read UUID; do BIN_SHA256=$(get_bin_hash "$UUID") 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 echo -n "# Build UUID - " echo $(cat "$CSV" | head -n1 | cut -d, -f"$COLS" \