From aa0c218fbd40059dcdb26542571be472d6733807 Mon Sep 17 00:00:00 2001 From: Guido Kanschat Date: Mon, 3 Oct 2005 14:22:31 +0000 Subject: [PATCH] log current time, not time of call git-svn-id: https://svn.dealii.org/trunk@11567 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/Makefile | 5 ++--- tests/Makefile.rules | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) 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 -- 2.39.5