From 9d6da7edf32b8e5eb6924fca30c35bf5a38231f5 Mon Sep 17 00:00:00 2001 From: kanschat Date: Sun, 7 Nov 2010 21:42:02 +0000 Subject: [PATCH] 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 --- tests/Makefile.rules | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) 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 ###################################################################### -- 2.39.5