#!/bin/bash for f in [0-9]* do echo "=== $f" ./build_and_test_until $f || exit 0 done