From d428124ac9afbee34aac565643fde6f9a01d95a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Adjemian=20=28Charybdis=29?= Date: Thu, 4 Jul 2013 22:12:04 +0200 Subject: [PATCH] Send the report on the web. --- matlab/utilities/tests/build_report_summary.m | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/matlab/utilities/tests/build_report_summary.m b/matlab/utilities/tests/build_report_summary.m index c0adc5516..1b3285050 100644 --- a/matlab/utilities/tests/build_report_summary.m +++ b/matlab/utilities/tests/build_report_summary.m @@ -28,6 +28,9 @@ else if ischar(mailreport) mailto = mailreport; mailreport = 1; + fid = fopen('~/.matlab-send-report'); + system(['scp ' fgetl(fid) reportfile]) + fclose(fid); else if ~isequal(mailreport,0) error('build_report_summary:: Third argument must be an adress email!') @@ -42,7 +45,8 @@ gitlastcommithash = reportfilecontent.gitlastcommithash; str = 'Hi,'; str = char(str,''); -str = char(str,'This is a summary report for the unitary tests in Dynare.'); +str = char(str,'This is a summary report for the unitary tests in Dynare. Full report can be'); +str = char(str,['found at http://www.dynare.org/stepan/dynare/tests/' reportfile]); str = char(str,''); str = char(str,gitinfo(1,:));