X-Git-Url: http://nitlanguage.org diff --git a/benchmarks/markdown/bench_markdown.sh b/benchmarks/markdown/bench_markdown.sh index 7893fa8..485b944 100755 --- a/benchmarks/markdown/bench_markdown.sh +++ b/benchmarks/markdown/bench_markdown.sh @@ -27,14 +27,6 @@ count=2 # Default number of times the input file is transformed during a single run s=200 -### HELPER FUNCTIONS ## - -function die() -{ - echo >&2 "error: $*" - died=1 -} - ## HANDLE OPTIONS ## function usage() @@ -78,6 +70,8 @@ outdir="./out" engdir="./engines" bncdir="./benches/out" mkdir -p $outdir +html="index.html" +echo >"$html" "" function bench_nitmd() { @@ -143,6 +137,8 @@ if test "$#" -gt 0; then plot $outdir/bench_markdown.gnu fi +echo >>"$html" "" + if test -n "$died"; then echo "Some commands failed" exit 1