fix: run chmod +x to make script executable

This commit is contained in:
Dustin Goodman 2022-06-14 09:04:59 -05:00
parent d9d91bb9b3
commit 910870e2ac

6
scripts/run-with-cachegrind.sh Normal file → Executable file
View file

@ -100,10 +100,10 @@ for i in "${!TOTALS_ARRAY[@]}"; do
if [[ $OPS_PER_SEC =~ ^[+-]?[0-9]*$ ]]
then # $OPS_PER_SEC is integer
printf "%s#%s x %.0f %s ±%s (%d runs sampled)\n" \
"$3" "$EVENT_NAME" "$OPS_PER_SEC" "$UNIT" "$STD_DEV" "$RUNS"
"$3" "$EVENT_NAME" "$OPS_PER_SEC" "$UNIT" "$STD_DEV" "$RUNS"
else # $OPS_PER_SEC is float
printf "%s#%s x %.10f %s ±%s (%d runs sampled)\n" \
"$3" "$EVENT_NAME" "$OPS_PER_SEC" "$UNIT" "$STD_DEV" "$RUNS"
"$3" "$EVENT_NAME" "$OPS_PER_SEC" "$UNIT" "$STD_DEV" "$RUNS"
fi
done