flow/contrib/test_race.sh
CJ van den Berg 09be9b3774
build: add simple test_race.sh script
Useful for triggering startup races and can be used with git bisect.
2025-04-30 11:32:56 +02:00

13 lines
235 B
Bash
Executable file

#!/bin/bash
set -e
if [ "$1" == "--build" ]; then
shift
echo "building..."
zig build -freference-trace --prominent-compile-errors
fi
for i in {1..60}; do
echo "running $i ..."
flow --exec quit "$@" || exit 1
done