From: Guido Kanschat Date: Mon, 3 Oct 2005 14:22:31 +0000 (+0000) Subject: log current time, not time of call X-Git-Tag: v8.0.0~13036 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa0c218fbd40059dcdb26542571be472d6733807;p=dealii.git log current time, not time of call git-svn-id: https://svn.dealii.org/trunk@11567 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/Makefile b/tests/Makefile index 6246d16c4c..31be221b2f 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -28,11 +28,10 @@ report: compare abort.o cd $$i ; $(MAKE) report ; cd .. ; \ done @echo =======Report: all-headers ======= - @today=`date -u +"%Y-%m-%d %H:%M"` ; \ if (($(MAKE) all-headers 2>&1) > /dev/null) ; then \ - echo $$today + all-headers ; \ + echo `date -u +"%Y-%m-%d %H:%M"` + all-headers ; \ else \ - echo $$today - all-headers ; \ + echo `date -u +"%Y-%m-%d %H:%M"` - all-headers ; \ fi report+mail: diff --git a/tests/Makefile.rules b/tests/Makefile.rules index 10367b2db0..c9e42c323e 100644 --- a/tests/Makefile.rules +++ b/tests/Makefile.rules @@ -115,12 +115,11 @@ endif # anywhere anytime ############################################################ report: - @today=`date -u +"%Y-%m-%d %H:%M"` ; \ for test in $(sort $(tests)) ; do \ if (($(MAKE) $$test.OK stop_on_error=on 2>&1) > /dev/null); then \ - echo $$today + $$test ; \ + echo `date -u +"%Y-%m-%d %H:%M"` + $$test ; \ else \ - echo $$today - $$test ; \ + echo `date -u +"%Y-%m-%d %H:%M"` - $$test ; \ fi ; \ done