1 2 3 4 5 6 7 8 9 10 11 12
#!/bin/sh set -eu if [ $# != 1 ]; then echo "usage: $0 <num-tests>" exit 1 fi CPUS=2 make -j $CPUS \ $(for i in $(seq 0 $1); do echo test.$i.report; done) -k