[OSSTEST PATCH] cri-args-hostlists: Add some calls to date(1)

Ian Jackson posted 1 patch 3 years, 8 months ago
Failed in applying to current master (apply log)
cri-args-hostlists | 8 ++++++++
1 file changed, 8 insertions(+)
[OSSTEST PATCH] cri-args-hostlists: Add some calls to date(1)
Posted by Ian Jackson 3 years, 8 months ago
This will make it easier to see perf changes etc.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
---
 cri-args-hostlists | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/cri-args-hostlists b/cri-args-hostlists
index 28d576db..61572c2d 100644
--- a/cri-args-hostlists
+++ b/cri-args-hostlists
@@ -117,17 +117,25 @@ start_email () {
 
 	globallockdir=`getconfig GlobalLockDir`
 
+	date >&2
+
 	with-lock-ex -w $globallockdir/report-lock \
 	  ./sg-report-job-history --html-dir=$job_html_dir --flight=$flight
 
+	date >&2
+
 	./sg-report-flight --html-dir=$flight_html_dir/$flight/ \
 		--allow=allow.all --allow=allow.$branch \
 		$sgr_args $flight >tmp/$flight.report
 	./cr-fold-long-lines tmp/$flight.report
 
+	date >&2
+
 	mkdir -p $host_html_dir
 	with-lock-ex -w $globallockdir/report-lock \
 	  ./sg-report-host-history --html-dir=$host_html_dir flight:$flight
+
+	date >&2
 }
 
 publish_send_email () {
-- 
2.20.1