From ead9aaf98ad55ab185a198da10800fc85e12e39f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alexis=20Laferri=C3=A8re?= Date: Fri, 3 Oct 2014 17:32:33 -0400 Subject: [PATCH 1/1] tests.sh: remove --quiet option on calls to time MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Alexis Laferrière --- tests/tests.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/tests.sh b/tests/tests.sh index 4d8ad78..4db9d44 100755 --- a/tests/tests.sh +++ b/tests/tests.sh @@ -459,7 +459,7 @@ END echo $NITC --no-color $OPT -o "$ffout" "$i" "$includes" $nocc fi NIT_NO_STACK=1 JNI_LIB_PATH=$JNI_LIB_PATH JAVA_HOME=$JAVA_HOME \ - /usr/bin/time --quiet -f%U -o "$ff.time.out" $TIMEOUT $NITC --no-color $OPT -o "$ffout" "$i" $includes $nocc 2> "$ff.cmp.err" > "$ff.compile.log" + /usr/bin/time -f%U -o "$ff.time.out" $TIMEOUT $NITC --no-color $OPT -o "$ffout" "$i" $includes $nocc 2> "$ff.cmp.err" > "$ff.compile.log" ERR=$? if [ "x$verbose" = "xtrue" ]; then cat "$ff.compile.log" @@ -497,9 +497,9 @@ END if [ "x$verbose" = "xtrue" ]; then echo "" echo "NIT_NO_STACK=1 $ff.bin" $args - fi + fi NIT_NO_STACK=1 LD_LIBRARY_PATH=$JNI_LIB_PATH \ - /usr/bin/time --quiet -f%U -a -o "$ff.time.out" $TIMEOUT "./$ff.bin" $args < "$inputs" > "$ff.res" 2>"$ff.err" + /usr/bin/time -f%U -a -o "$ff.time.out" $TIMEOUT "$ff.bin" $args < "$inputs" > "$ff.res" 2>"$ff.err" mv $ff.time.out $ff.times.out awk '{ SUM += $1} END { print SUM }' $ff.times.out > $ff.time.out @@ -544,7 +544,7 @@ END echo -n "==> $name " echo "$ff.bin $args" > "$fff.bin" chmod +x "$fff.bin" - WRITE="$fff.write" /usr/bin/time --quiet -f%U -o "$fff.time.out" sh -c "NIT_NO_STACK=1 $TIMEOUT ./$fff.bin < $ffinputs > $fff.res 2>$fff.err" + WRITE="$fff.write" /usr/bin/time -f%U -o "$fff.time.out" sh -c "NIT_NO_STACK=1 $TIMEOUT $fff.bin < $ffinputs > $fff.res 2>$fff.err" if [ "x$verbose" = "xtrue" ]; then cat "$fff.res" cat >&2 "$fff.err" -- 1.7.9.5