comparison scripts/testfun/runtests.m @ 10635:d1978e7364ad

Print name of function in error() string messages.
author Rik <octave@nomad.inbox5.com>
date Sun, 16 May 2010 22:26:54 -0700
parents 95c3e38098bf
children fa56fd98c0c5
comparison
equal deleted inserted replaced
10634:60542efcfa2c 10635:d1978e7364ad
85 break; 85 break;
86 endif 86 endif
87 endwhile 87 endwhile
88 fclose (fid); 88 fclose (fid);
89 else 89 else
90 error ("fopen failed: %s", f); 90 error ("runtests: fopen failed: %s", f);
91 endif 91 endif
92 endfunction 92 endfunction
93 93
94 function print_pass_fail (n, p) 94 function print_pass_fail (n, p)
95 if (n > 0) 95 if (n > 0)