bench.sh: don't 'grep' output
[model-checker-benchmarks.git] / 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