addition of python script to parse test output
This commit is contained in:
parent
26967a41db
commit
a3c751728b
6
batch.py
Normal file
6
batch.py
Normal file
@ -0,0 +1,6 @@
|
||||
from os import listdir
|
||||
for file in listdir('../batch'):
|
||||
f = open('../batch/'+file,'r')
|
||||
for c in f.readlines():
|
||||
print(c)
|
||||
|
1
test.sh
1
test.sh
@ -10,6 +10,7 @@ for run in {1..50}; 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 > /dev/null
|
||||
grep "profile" ~/Library/Application\ Support/SuperTuxKart/stdout.log > ../batch/$run.$num.$laps.txt
|
||||
python batch.py
|
||||
done
|
||||
done
|
||||
done
|
Loading…
Reference in New Issue
Block a user