nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
adb3180
)
bench: skip pep8analysis if not present
author
Jean Privat
<jean@pryen.org>
Thu, 25 Jul 2013 20:13:38 +0000
(16:13 -0400)
committer
Jean Privat
<jean@pryen.org>
Thu, 25 Jul 2013 20:13:38 +0000
(16:13 -0400)
benchmarks/bench_engines.sh
patch
|
blob
|
history
diff --git
a/benchmarks/bench_engines.sh
b/benchmarks/bench_engines.sh
index
40be4d2
..
ae8cc5b
100755
(executable)
--- a/
benchmarks/bench_engines.sh
+++ b/
benchmarks/bench_engines.sh
@@
-130,8
+130,10
@@
function run_compiler()
bench_command "shoot" "shoot_logic 30" "./shoot.$title.bin" 30
run_command "$@" ../tests/bench_bintree_gen.nit -o "bintrees.$title.bin"
bench_command "bintrees" "bench_bintree_gen 18" "./bintrees.$title.bin" 18
bench_command "shoot" "shoot_logic 30" "./shoot.$title.bin" 30
run_command "$@" ../tests/bench_bintree_gen.nit -o "bintrees.$title.bin"
bench_command "bintrees" "bench_bintree_gen 18" "./bintrees.$title.bin" 18
- run_command "$@" "$pep8analysis/src/pep8analysis.nit" -I "$pep8analysis/lib" -o "pep8a.$title.bin"
- bench_command "pep8analisis" "bench_bintree_gen 18" "./pep8a.$title.bin" "$pep8analysis/tests/privat/"*.pep
+ if test -f "$pep8analysis/src/pep8analysis.nit"; then
+ run_command "$@" "$pep8analysis/src/pep8analysis.nit" -I "$pep8analysis/lib" -o "pep8a.$title.bin"
+ bench_command "pep8analisis" "bench_bintree_gen 18" "./pep8a.$title.bin" "$pep8analysis/tests/privat/"*.pep
+ fi
fi
}
fi
}