bench: ad --no-cc for nitg test on run_compiler
authorJean Privat <jean@pryen.org>
Mon, 17 Dec 2012 00:16:41 +0000 (19:16 -0500)
committerJean Privat <jean@pryen.org>
Mon, 17 Dec 2012 00:16:41 +0000 (19:16 -0500)
Signed-off-by: Jean Privat <jean@pryen.org>

src/run_bench.sh

index 66967ab..0baf409 100755 (executable)
@@ -198,7 +198,7 @@ function run_compiler()
        shift
        if test -n "$fast"; then
                run_command "$@" nitg.nit -o "nitg.$title.bin"
-               bench_command "nitg" "nitg test_parser.nit" "./nitg.$title.bin" -v test_parser.nit
+               bench_command "nitg" "nitg test_parser.nit" "./nitg.$title.bin" -v --no-cc test_parser.nit
                run_command "$@" nit.nit -o "nit.$title.bin"
                bench_command "nit" "nit test_parser.nit location.nit" "./nit.$title.bin" -v test_parser.nit -- -n location.nit
                run_command "$@" ../examples/shoot/shoot_logic.nit -o "shoot.$title.bin"
@@ -208,7 +208,7 @@ function run_compiler()
        else
                run_command "$@" nitg.nit -o "nitg.$title.bin"
                bench_command "nitg" "nitg --no-cc nitstats.nit" "./nitg.$title.bin" -v --no-cc nitstats.nit
-               bench_command "nitg-s" "nitg --separate nitg.nit" "./nitg.$title.bin" -v --separate nitg.nit
+               bench_command "nitg-s" "nitg --separate nitg.nit" "./nitg.$title.bin" -v --no--cc --separate nitg.nit
                run_command "$@" nit.nit -o "nit.$title.bin"
                bench_command "nit" "nit test_parser.nit rapid_type_analysis.nit" "./nit.$title.bin" -v test_parser.nit -- -n rapid_type_analysis.nit
                run_command "$@" ../examples/shoot/shoot_logic.nit -o "shoot.$title.bin"