fix in testsuite, fflush only known to Octave

Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
pull/1/head
Thorsten Liebig 2012-11-21 16:39:44 +01:00
parent 3dba30c240
commit e77a24ec9c
1 changed files with 3 additions and 1 deletions

View File

@ -42,7 +42,9 @@ for o=1:numel(options)
% execute function
disp( [datestr(now) ' executing: ' folders(f).name '/' scripts(s).name] );
[~,fname] = fileparts( scripts(s).name );
fflush(1); % flush stdout
if isOctave
fflush(1); % flush stdout
end
pass = feval( fname, options{o}, 'run_testsuite' );
end
end