]> https://gitweb.dealii.org/ - dealii.git/commitdiff
log current time, not time of call
authorGuido Kanschat <dr.guido.kanschat@gmail.com>
Mon, 3 Oct 2005 14:22:31 +0000 (14:22 +0000)
committerGuido Kanschat <dr.guido.kanschat@gmail.com>
Mon, 3 Oct 2005 14:22:31 +0000 (14:22 +0000)
git-svn-id: https://svn.dealii.org/trunk@11567 0785d39b-7218-0410-832d-ea1e28bc413d

tests/Makefile
tests/Makefile.rules

index 6246d16c4ce59d8a05a7cc333c1f88834a6ade6c..31be221b2f3942d9a20cb9bc8a30d6646937b511 100644 (file)
@@ -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:
index 10367b2db077af03b3bac0b71ab7eff28af7f560..c9e42c323ef3d2f59bfa4e9d9a51e0c36bd667e8 100644 (file)
@@ -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
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.