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 e74d5c37d3d723e69f8d68c179432a284f26a396..e7efc6dceb72cdd9e016c059010e9259ae017696 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