From: Brian Norris Date: Thu, 28 Feb 2013 18:47:22 +0000 (-0800) Subject: bench.sh: log more information X-Git-Tag: oopsla2013-final~47 X-Git-Url: http://plrg.eecs.uci.edu/git/?p=model-checker-benchmarks.git;a=commitdiff_plain;h=541768052800ab7fd6c1ace59c974b8ea5def656 bench.sh: log more information We want the whole timing information and git-log info in our log files. --- diff --git a/bench.sh b/bench.sh index 71fff65..9044402 100755 --- a/bench.sh +++ b/bench.sh @@ -40,7 +40,7 @@ function run_test { echo "Running test ${COUNT} (${t}): logging to ${LOG}" echo "ARGS=${ARGS}" echo "*******************************" - time ${RUN} ${t} ${ARGS} 2>&1 | tee ${LOG} + (time ${RUN} ${t} ${ARGS} 2>&1) 2>&1 | tee ${LOG} echo echo "Test done; sleeping for a few seconds" echo @@ -61,4 +61,4 @@ function run_all_tests { } mkdir ${DIR} -(git log --oneline -1; echo; run_all_tests) | tee ${DIR}/timing.log +(cd ..; git log --oneline -1; cd - > /dev/null; git log --oneline -1; echo; run_all_tests) | tee ${DIR}/timing.log