pull/1/head
Sebastian Held 2012-11-16 21:44:46 +01:00
parent c45cd4ab70
commit fdd8f08a7b
3 changed files with 36 additions and 35 deletions

View File

@ -7,10 +7,10 @@ clear
close all close all
drawnow drawnow
Octave = exist('OCTAVE_VERSION','var') ~= 0; if isOctave
if Octave
confirm_recursive_rmdir(0); confirm_recursive_rmdir(0);
page_screen_output(0); % do not buffer output
page_output_immediately(1); % do not buffer output
end end
folder = fileparts( mfilename( 'fullpath' ) ); folder = fileparts( mfilename( 'fullpath' ) );
@ -42,6 +42,7 @@ for o=1:numel(options)
% execute function % execute function
disp( [datestr(now) ' executing: ' folders(f).name '/' scripts(s).name] ); disp( [datestr(now) ' executing: ' folders(f).name '/' scripts(s).name] );
[~,fname] = fileparts( scripts(s).name ); [~,fname] = fileparts( scripts(s).name );
fflush(1); % flush stdout
pass = feval( fname, options{o}, 'run_testsuite' ); pass = feval( fname, options{o}, 'run_testsuite' );
end end
end end