projects
/
model-checker-benchmarks.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bench.sh: log more information
[model-checker-benchmarks.git]
/
bench.sh
diff --git
a/bench.sh
b/bench.sh
index 71fff6567935bde2732ee29b9ecc3af2aea032b5..904440211e6ee16055a89d970a97a80735e83602 100755
(executable)
--- 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 "*******************************"
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
echo
echo "Test done; sleeping for a few seconds"
echo
@@
-61,4
+61,4
@@
function run_all_tests {
}
mkdir ${DIR}
}
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