Przeglądaj źródła

Only run solutions in benchmark script

Taddeus Kroes 7 lat temu
rodzic
commit
dd33b94bac
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      runall.sh

+ 1 - 1
runall.sh

@@ -2,7 +2,7 @@
 interp=${1-python3}
 interp=${1-python3}
 trap exit SIGINT
 trap exit SIGINT
 i=1
 i=1
-for f in *.py
+for f in [012]*.py
 do
 do
     echo "-- problem $i -----------------------------------"
     echo "-- problem $i -----------------------------------"
     cmd="`which time` -f 'elapsed: %E' $interp $f"
     cmd="`which time` -f 'elapsed: %E' $interp $f"