rta: use callsites in AFor instead re-resolving stuff
[nit.git] / src / ngall.sh
index 79b2033..02e8d53 100755 (executable)
@@ -1,12 +1,11 @@
 #!/bin/bash
-rm nitg nitg.bin hello_world.bin 2>/dev/null
-#test -f nitc_3 || { ./nitc_3 ; exit }
+rm nitg nitg_? hello_world 2>/dev/null
 set -x
 set -e
-time ./nitc_3 -O nitg.nit -v
-time ./nitg nitg.nit -v
-time ./nitg.bin nitg.nit -v
-time ./nitg.bin nitg.nit -v
-./nitg.bin ../examples/hello_world.nit
-./hello_world.bin
+time ../c_src/nitg nitg.nit -v -o nitg
+time ./nitg nitg.nit -v "$@" -o nitg_2
+time ./nitg_2 nitg.nit -v "$@" -o nitg_3
+time ./nitg_3 nitg.nit -v "$@" -o nitg_4
+./nitg_4 ../examples/hello_world.nit "$@" -o hello_world
+./hello_world