[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor-browser-bundle/master] Add a timestamp to the log file after each invokation of make(1).
commit 6a2238b2a607687b501b51a12803e0337d710d7b
Author: Linus Nordberg <linus@xxxxxxxxxxxxxx>
Date: Mon May 15 16:21:50 2017 +0200
Add a timestamp to the log file after each invokation of make(1).
This makes it easier to track build times.
---
tools/continuous-builds/build-tbb.sh | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/continuous-builds/build-tbb.sh b/tools/continuous-builds/build-tbb.sh
index 1c1118d..1075b9c 100755
--- a/tools/continuous-builds/build-tbb.sh
+++ b/tools/continuous-builds/build-tbb.sh
@@ -53,6 +53,7 @@ while [ $status != done ]; do
killall qemu-system-i386 qemu-system-x86_64
make $MAKE_TARGET > build-logs/build-$(date -u +%s).log && status=done
printf "%s: Tried building $MAKE_TARGET %d times. Status: %s.\n" $0 $n $status | tee -a $logfile
+ date -u | tee -a $logfile
MAKE_TARGET=build-$TARGET
[ $n -ge $N ] && break
done
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits