Script to run batch profile tests

This commit is contained in:
Bart Cools 2014-05-17 16:54:43 +02:00
parent 76b76c6872
commit 79727500c0

14
test.sh Executable file
View File

@ -0,0 +1,14 @@
#!/bin/bash
#TODO test multiple tracks
#TODO fix escape characters
mkdir -p ../batch
for run in {1..50}; do
for num in {1..4}; do
for laps in {2..7}; do
./cmake_build/bin/supertuxkart.app/Contents/MacOS/supertuxkart -R --mode=3 --numkarts=$num --with-profile --profile-laps=$laps --no-graphics | grep "profile" > ../batch/$run.$num.$laps.txt
done
done
done