From: Guido Kanschat Date: Sun, 7 Nov 2010 21:42:02 +0000 (+0000) Subject: allow for different mail programs. I am sure we did that in earlier versions, but... X-Git-Tag: v8.0.0~5030 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=790092e59ffff978a8e94cc9f21fc1874f0c42cf;p=dealii.git allow for different mail programs. I am sure we did that in earlier versions, but the functuonality must have been sacrificed... now we can test on mashines without working mail again git-svn-id: https://svn.dealii.org/trunk@22627 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/Makefile.rules b/tests/Makefile.rules index 7d10345d74..a21b6f2bbd 100644 --- a/tests/Makefile.rules +++ b/tests/Makefile.rules @@ -18,6 +18,14 @@ WORKDIR = $(notdir $(shell pwd)) verbose = off +# The mail program. Override this by something like +# +# MAIL=mymailprog +# +# on the command line to use a different mail agent or to tunnel through ssh. +# The mail program takes a single argument, which is the mail address for tests +# The contents of the mail will be provided on STDIN +MAIL=mail PLATFORM = $(TARGET)+$(GXX-VERSION:intel_%=%) PLATFORM-HIERARCHY = $(shell $(PERL) ../hierarchy.pl $(PLATFORM)) @@ -179,8 +187,7 @@ report: report+mail: @$(MAKE) report | tee testresults - @cat testresults | \ - mail -s "Regression results from `id -un` on `hostname`" regression-tests@dealii.org + @cat testresults | $(MAIL) regression-tests@dealii.org @rm testresults ######################################################################