~ chicken-core (chicken-5) 914aa091a79ed9fe3fc9e60a6aa413befd54a08d
commit 914aa091a79ed9fe3fc9e60a6aa413befd54a08d Author: felix <felix@call-with-current-continuation.org> AuthorDate: Tue Jun 1 13:36:15 2010 +0200 Commit: felix <felix@call-with-current-continuation.org> CommitDate: Tue Jun 1 13:36:15 2010 +0200 fix in runbench script diff --git a/tests/runbench.sh b/tests/runbench.sh index 95c8a1d9..c4927146 100644 --- a/tests/runbench.sh +++ b/tests/runbench.sh @@ -21,12 +21,12 @@ fi case `uname -s` in *BSD*|*bsd*) timeopts="-c";; Darwin) timeopts="";; - *) timeopts="-f '%E elapsed, %U user, %S system'" + *) timeopts='-f "%E elapsed, %U user, %S system"' esac run() { - /usr/bin/time $timeopts ./a.out + /usr/bin/time "$timeopts" ./a.out } echo @@ -39,7 +39,7 @@ $compile null.scm -O5 run echo -n "compilation ... " -/usr/bin/time $timeopts $compile compiler.scm +/usr/bin/time "$timeopts" $compile compiler.scm echo -n "compiler ... " runTrap