diff --git a/src/build_report_summary.m b/src/build_report_summary.m index 6c1f619c1b244b497d4c00cf31495793ade428be..502a080896f765e3884a97c8f4cc42fee8060630 100644 --- a/src/build_report_summary.m +++ b/src/build_report_summary.m @@ -93,7 +93,7 @@ if sendmail fid = fopen('~/.matlab-send-mail-info','r'); else disp(['build_report_summary:: I Cannot send the report to ' mailto ' because the sender and the smtp server are not defined!']) - disp([' You probably need to add a ''.matlab-send-mail-info'' in your root directory...']) + disp(' You probably need to add a ''.matlab-send-mail-info'' in your root directory...') return end setpref('Internet','SMTP_Server',fgetl(fid)); diff --git a/src/mtest.m b/src/mtest.m index b165a0f4223d123a5c172723d4c679daa566d7d1..6bc841de6cefb40af4d40dececba47294c9a54dd 100644 --- a/src/mtest.m +++ b/src/mtest.m @@ -85,7 +85,7 @@ for i=1:nn % Write the temporary test routine. tid = fopen([FNAME '_test_' int2str(i) '.m'],'w'); fprintf(tid,['function [T,t,LOG] = ' FNAME '_test_' int2str(i) '()\n']); - fprintf(tid,['try\n']); + fprintf(tid,'try\n'); if (length(file{b1(i)+1})>2 && isequal(file{b1(i)+1}(1:3), '%$ ')) || (length(file{b1(i)+1})>1 && isequal(file{b1(i)+1}(1:2), '%$')) remove_first_columns = true; else @@ -100,25 +100,25 @@ for i=1:nn str = regexprep(str, '%', '%%'); fprintf(tid,str); end - fprintf(tid,['LOG = NaN;\n']); + fprintf(tid,'LOG = NaN;\n'); if isoctave fprintf(tid,'catch\n'); fprintf(tid,'exception = lasterror;\n'); fprintf(tid, 'LOG = ''%s'';\n','The Log output is not available with Octave!'); else fprintf(tid,'catch exception\n'); - fprintf(tid,['LOG = getReport(exception,''extended'');\n']); + fprintf(tid,'LOG = getReport(exception,''extended'');\n'); end - fprintf(tid,['T = NaN;\n']); - fprintf(tid,['t = NaN;\n']); - fprintf(tid,['end\n']); + fprintf(tid,'T = NaN;\n'); + fprintf(tid,'t = NaN;\n'); + fprintf(tid,'end\n'); fclose(tid); % Call the temporary test routine. tic; [TestFlag,TestDetails,LOG] = feval([FNAME '_test_' int2str(i)]); time = toc; if isnan(TestFlag) - fprintf(['\n']) + fprintf('\n') fprintf(['Call to ' FNAME ' test routine n°' int2str(i) ' failed (' datestr(now) ')!\n']) fprintf(['\n']) if ~isoctave