packaging/perftest/unipi/plot.sh: Skipping build if 'siege.csv' doesn't exist
This commit is contained in:
parent
f9375f0828
commit
99f2788ec0
1 changed files with 5 additions and 0 deletions
|
@ -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" \
|
||||||
|
|
Loading…
Reference in a new issue