bench.sh: don't 'grep' output
authorBrian Norris <banorris@uci.edu>
Tue, 11 Dec 2012 08:44:08 +0000 (00:44 -0800)
committerBrian Norris <banorris@uci.edu>
Tue, 11 Dec 2012 08:44:08 +0000 (00:44 -0800)
Model-checker output is concise now, so don't trim it.

bench.sh

index e74d5c3..e7efc6d 100755 (executable)
--- a/bench.sh
+++ b/bench.sh
@@ -40,9 +40,7 @@ function run_test {
        echo "Running test ${COUNT} (${t}): logging to ${LOG}"
        echo "ARGS=${ARGS}"
        echo "*******************************"
        echo "Running test ${COUNT} (${t}): logging to ${LOG}"
        echo "ARGS=${ARGS}"
        echo "*******************************"
-       time ${RUN} ${t} ${ARGS} > ${LOG} 2>&1
-       echo
-       grep -A 2 "Number of executions" ${LOG} | tail -3
+       time ${RUN} ${t} ${ARGS} 2>&1 | tee ${LOG}
        echo
        echo "Test done; sleeping for a few seconds"
        echo
        echo
        echo "Test done; sleeping for a few seconds"
        echo