Mercurial > octave
changeset 30322:552239d43c18 stable
update bug status
Modified files: cellfun.cc, mappers.cc, pt-eval.cc, bug-52851.tst,
eval-command.tst, and handle-to-sibling.tst.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 23 Nov 2021 09:51:21 -0500 |
parents | 869dea2b5c91 |
children | f69f749aad9b 7ddb137383f6 |
files | libinterp/corefcn/cellfun.cc libinterp/corefcn/mappers.cc libinterp/parse-tree/pt-eval.cc test/bug-52851/bug-52851.tst test/eval-command.tst test/fcn-handle/handle-to-sibling.tst |
diffstat | 6 files changed, 17 insertions(+), 17 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/corefcn/cellfun.cc Sat Oct 30 10:22:16 2021 -0400 +++ b/libinterp/corefcn/cellfun.cc Tue Nov 23 09:51:21 2021 -0500 @@ -1011,7 +1011,7 @@ %! __errmsg = S.message; %! retval = NaN; %!endfunction -%!test <58411> +%!test <*58411> %! global __errmsg; %! assert (cellfun (@factorial, {1, 2, -3}, "ErrorHandler", @__errfcn), [1, 2, NaN]); %! assert (! isempty (__errmsg));
--- a/libinterp/corefcn/mappers.cc Sat Oct 30 10:22:16 2021 -0400 +++ b/libinterp/corefcn/mappers.cc Tue Nov 23 09:51:21 2021 -0500 @@ -133,7 +133,7 @@ %! v = [0, pi, pi/2, pi/2]; %! assert (real (acos (x)), v); -%!xtest <52627> +%!xtest <*52627> %! ## Same test code as above, but intended only for test statistics on Mac and %! ## Windows. Their trig/hyperbolic functions have huge tolerances. %! if (! ismac () && ! ispc ()), return; endif @@ -208,7 +208,7 @@ %! v = [0, pi, pi/2, -pi/2]; %! assert (imag (acosh (x)), v); -%!xtest <52627> +%!xtest <*52627> %! ## Same test code as above, but intended only for test statistics on Mac and %! ## Windows. Their trig/hyperbolic functions have huge tolerances. %! if (! ismac () && ! ispc ()), return; endif @@ -342,7 +342,7 @@ %! v = [pi/2, -pi/2, 0, -0]; %! assert (real (asin (x)), v); -%!xtest <52627> +%!xtest <*52627> %! ## Same test code as above, but intended only for test statistics on Mac and %! ## Windows. Their trig/hyperbolic functions have huge tolerances. %! if (! ismac () && ! ispc ()), return; endif @@ -385,7 +385,7 @@ %! v = [0, 0, pi/2, -pi/2]; %! assert (imag (asinh (x)), v); -%!xtest <52627> +%!xtest <*52627> %! ## Same test code as above, but intended only for test statistics on Mac and %! ## Windows. Their trig/hyperbolic functions have huge tolerances. %! if (! ismac () && ! ispc ()), return; endif
--- a/libinterp/parse-tree/pt-eval.cc Sat Oct 30 10:22:16 2021 -0400 +++ b/libinterp/parse-tree/pt-eval.cc Tue Nov 23 09:51:21 2021 -0500 @@ -1828,7 +1828,7 @@ %! fail ("__undef_sym__ (end)", %! "invalid use of 'end': may only be used to index existing value"); -%!test <58953> +%!test <*58953> %! x = 1:10; %! assert (x(end), 10); %! assert (x(minus (end, 1)), 9);
--- a/test/bug-52851/bug-52851.tst Sat Oct 30 10:22:16 2021 -0400 +++ b/test/bug-52851/bug-52851.tst Tue Nov 23 09:51:21 2021 -0500 @@ -1,15 +1,15 @@ -%!test <52851> +%!test <*52851> %! script1 %! assert (r11, 1); %! assert (r21, 2); %! assert (r22, 2); -%!test <52851> +%!test <*52851> %! script2 %! assert (r1, 1); %! assert (r2, 2); -%!test <52851> +%!test <*52851> %! flag = true; %! script3 %! assert (r, 1); @@ -17,7 +17,7 @@ %! script3 %! assert (r, 2); -%!test <52851> +%!test <*52851> %! script4 %! assert (r1, 1); %! assert (r2, 2);
--- a/test/eval-command.tst Sat Oct 30 10:22:16 2021 -0400 +++ b/test/eval-command.tst Tue Nov 23 09:51:21 2021 -0500 @@ -175,9 +175,9 @@ %!shared evalin_value %! evalin_value = "this is the caller"; -%!assert <59847> (f_eval_fun (), "this is the caller"); -%!assert <59847> (g_eval_fun (), "this is the caller"); -%!assert <59847> (h_eval_fun (), "this is h_eval_fun"); +%!assert <*59847> (f_eval_fun (), "this is the caller"); +%!assert <*59847> (g_eval_fun (), "this is the caller"); +%!assert <*59847> (h_eval_fun (), "this is h_eval_fun"); %!function r = f_asgn_fun () %! asgnin_value = "this is f_asgn_fun"; @@ -195,17 +195,17 @@ %! r = asgnin_value; %!endfunction -%!test <59847> +%!test <*59847> %! asgnin_value = "this is the caller"; %! assert (f_asgn_fun (), "this is f_asgn_fun"); %! assert (asgnin_value, "f value"); -%!test <59847> +%!test <*59847> %! asgnin_value = "this is the caller"; %! assert (g_asgn_fun (), "this is g_asgn_fun"); %! assert (asgnin_value, "f value"); -%!test <59847> +%!test <*59847> %! asgnin_value = "this is the caller"; %! assert (h_asgn_fun (), "f value"); %! assert (asgnin_value, "this is the caller");
--- a/test/fcn-handle/handle-to-sibling.tst Sat Oct 30 10:22:16 2021 -0400 +++ b/test/fcn-handle/handle-to-sibling.tst Tue Nov 23 09:51:21 2021 -0500 @@ -23,4 +23,4 @@ ## ######################################################################## -%!assert <60845> (bug60845 (), true) +%!assert <*60845> (bug60845 (), true)