We want the whole timing information and git-log info in our log files.
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
}
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