moved test scripts to tools directory
This commit is contained in:
parent
4a13eebc00
commit
d8f65cf3fa
@ -16,11 +16,11 @@ avg_speed = {}
|
|||||||
avg_top = {}
|
avg_top = {}
|
||||||
total_rescued = {}
|
total_rescued = {}
|
||||||
|
|
||||||
tests = len(listdir('../batch'))-1
|
tests = len(listdir('../../batch'))-1
|
||||||
for file in listdir('../batch'):
|
for file in listdir('../../batch'):
|
||||||
if (file == '.DS_Store'):
|
if (file == '.DS_Store'):
|
||||||
continue
|
continue
|
||||||
f = open('../batch/'+file,'r')
|
f = open('../../batch/'+file,'r')
|
||||||
|
|
||||||
|
|
||||||
'''
|
'''
|
@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
mkdir -p ../batch
|
mkdir -p ../../batch
|
||||||
#tracks='snowmountain city lighthouse olivermath hacienda startrack farm zengarden'
|
#tracks='snowmountain city lighthouse olivermath hacienda startrack farm zengarden'
|
||||||
#karts='gnu tux sara elephpant'
|
#karts='gnu tux sara elephpant'
|
||||||
laps=4
|
laps=4
|
||||||
@ -9,10 +9,10 @@ laps=4
|
|||||||
#for kart in $karts; do
|
#for kart in $karts; do
|
||||||
for run in {901..1500}; do
|
for run in {901..1500}; do
|
||||||
for lap in $laps; do
|
for lap in $laps; do
|
||||||
./cmake_build/bin/supertuxkart.app/Contents/MacOS/supertuxkart -R --mode=3 --numkarts=4 --track=snowmountain --with-profile --profile-laps=4 --kart=gnu --ai=sara,tux,elephpant --no-graphics > /dev/null
|
./../cmake_build/bin/supertuxkart.app/Contents/MacOS/supertuxkart -R --mode=3 --numkarts=4 --track=snowmountain --with-profile --profile-laps=4 --kart=gnu --ai=sara,tux,elephpant --no-graphics > /dev/null
|
||||||
#./cmake_build/bin/supertuxkart.app/Contents/MacOS/supertuxkart -R --mode=3 --numkarts=4 --track=$track --with-profile --profile-laps=$lap --kart=$kart --ai=beastie,beastie,beastie --no-graphics > /dev/null
|
#./cmake_build/bin/supertuxkart.app/Contents/MacOS/supertuxkart -R --mode=3 --numkarts=4 --track=$track --with-profile --profile-laps=$lap --kart=$kart --ai=beastie,beastie,beastie --no-graphics > /dev/null
|
||||||
#grep "profile" ~/Library/Application\ Support/SuperTuxKart/stdout.log > ../batch/$kart.$track.$run.txt
|
#grep "profile" ~/Library/Application\ Support/SuperTuxKart/stdout.log > ../batch/$kart.$track.$run.txt
|
||||||
grep "profile" ~/Library/Application\ Support/SuperTuxKart/stdout.log > ../batch/faceoff.$run.txt
|
grep "profile" ~/Library/Application\ Support/SuperTuxKart/stdout.log > ../../batch/faceoff.$run.txt
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
# done
|
# done
|
Loading…
Reference in New Issue
Block a user