# HG changeset patch # User John W. Eaton # Date 1630597204 14400 # Node ID 9080316864bf5e200ce015f014201662f7f29700 # Parent 2838bbd84b87e008bc85ae692230c197948b1ef3 update bug status in test suite diff -r 2838bbd84b87 -r 9080316864bf libinterp/corefcn/mappers.cc --- a/libinterp/corefcn/mappers.cc Thu Sep 02 11:35:11 2021 -0400 +++ b/libinterp/corefcn/mappers.cc Thu Sep 02 11:40:04 2021 -0400 @@ -135,7 +135,7 @@ %! v = [0, pi, pi/2, pi/2]; %! assert (real (acos (x)), v); -%!test <52627> +%!test <*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 @@ -166,7 +166,7 @@ %! v = [0, pi/2*i, pi*i, pi/2*i]; %! assert (acosh (x), v, sqrt (eps)); -%!test <52627> +%!test <*52627> %! ## Same test code as above, but intended only for test statistics on Mac. %! ## Mac trig/hyperbolic functions have huge tolerances. %! if (! ismac ()), return; endif @@ -189,7 +189,7 @@ %! v = single ([0, pi/2*i, pi*i, pi/2*i]); %! assert (acosh (x), v, sqrt (eps ("single"))); -%!test <52627> +%!test <*52627> %! ## Same test code as above, but intended only for test statistics on Mac. %! ## Mac trig/hyperbolic functions have huge tolerances. %! if (! ismac ()), return; endif @@ -210,7 +210,7 @@ %! v = [0, pi, pi/2, -pi/2]; %! assert (imag (acosh (x)), v); -%!test <52627> +%!test <*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 @@ -344,7 +344,7 @@ %! v = [pi/2, -pi/2, 0, -0]; %! assert (real (asin (x)), v); -%!test <52627> +%!test <*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 @@ -387,7 +387,7 @@ %! v = [0, 0, pi/2, -pi/2]; %! assert (imag (asinh (x)), v); -%!test <52627> +%!test <*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 diff -r 2838bbd84b87 -r 9080316864bf test/bug-31371.tst --- a/test/bug-31371.tst Thu Sep 02 11:35:11 2021 -0400 +++ b/test/bug-31371.tst Thu Sep 02 11:40:04 2021 -0400 @@ -23,7 +23,7 @@ ## ######################################################################## -%!test <31371> +%!test <*31371> %! % Work around MATLAB bug where f(x)(y) is invalid syntax %! % (This bug does not apply to Octave) %! diff -r 2838bbd84b87 -r 9080316864bf test/bug-35448/bug-35448.tst --- a/test/bug-35448/bug-35448.tst Thu Sep 02 11:35:11 2021 -0400 +++ b/test/bug-35448/bug-35448.tst Thu Sep 02 11:40:04 2021 -0400 @@ -23,14 +23,14 @@ ## ######################################################################## -%!test <35448> +%!test <*35448> %! global gfun %! gfun = @fB; %! y = fA (e); %! assert (y, e); %! clear -global gfun; # cleanup after test -%!test <35448> +%!test <*35448> %! global gfun %! gfun = @fC; %! y = fA (e); diff -r 2838bbd84b87 -r 9080316864bf test/bug-35881/bug-35881.tst --- a/test/bug-35881/bug-35881.tst Thu Sep 02 11:35:11 2021 -0400 +++ b/test/bug-35881/bug-35881.tst Thu Sep 02 11:40:04 2021 -0400 @@ -23,7 +23,7 @@ ## ######################################################################## -%!test <35881> +%!test <*35881> %! global _tstvar_; # Final test does "clear all" which removes this var. %! %! _tstvar_ = struct ("init1",-1, "a1",-1, "init2",-1, "a2",-1); diff -r 2838bbd84b87 -r 9080316864bf test/bug-36025/bug-36025.tst --- a/test/bug-36025/bug-36025.tst Thu Sep 02 11:35:11 2021 -0400 +++ b/test/bug-36025/bug-36025.tst Thu Sep 02 11:40:04 2021 -0400 @@ -23,7 +23,7 @@ ## ######################################################################## -%!test <36025> +%!test <*36025> %! warning ("off", "Octave:function-name-clash", "local"); %! f = testclass (1, 2); %! assert (one (f), 1); diff -r 2838bbd84b87 -r 9080316864bf test/bug-38691/bug-38691.tst --- a/test/bug-38691/bug-38691.tst Thu Sep 02 11:35:11 2021 -0400 +++ b/test/bug-38691/bug-38691.tst Thu Sep 02 11:40:04 2021 -0400 @@ -23,7 +23,7 @@ ## ######################################################################## -%!test <38691> +%!test <*38691> %! path_orig = path (); %! unwind_protect %! addpath dir1; diff -r 2838bbd84b87 -r 9080316864bf test/bug-44940/bug-44940.tst --- a/test/bug-44940/bug-44940.tst Thu Sep 02 11:35:11 2021 -0400 +++ b/test/bug-44940/bug-44940.tst Thu Sep 02 11:40:04 2021 -0400 @@ -23,7 +23,7 @@ ## ######################################################################## -%!test <44940> +%!test <*44940> %! a = class_bug44940 (); %! b = a; %! c = a (); diff -r 2838bbd84b87 -r 9080316864bf test/bug-45969.tst --- a/test/bug-45969.tst Thu Sep 02 11:35:11 2021 -0400 +++ b/test/bug-45969.tst Thu Sep 02 11:40:04 2021 -0400 @@ -1,4 +1,4 @@ -%!test <45969> +%!test <*45969> %! text_filename = tempname (); %! binary_filename = tempname (); %! a = 2; @@ -20,7 +20,7 @@ %! unlink (binary_filename); %! end_unwind_protect -%!testif HAVE_HDF5 <45969> +%!testif HAVE_HDF5 <*45969> %! hdf5_filename = tempname (); %! a = 2; %! b = 10; diff -r 2838bbd84b87 -r 9080316864bf test/bug-45972.tst --- a/test/bug-45972.tst Thu Sep 02 11:35:11 2021 -0400 +++ b/test/bug-45972.tst Thu Sep 02 11:40:04 2021 -0400 @@ -1,4 +1,4 @@ -%!test <45972> +%!test <*45972> %! ascii_filename = tempname (); %! binary_filename = tempname (); %! f = @ (x, y, varargin) x + y + varargin{1}; @@ -14,7 +14,7 @@ %! unlink (binary_filename); %! end_unwind_protect -%!testif HAVE_HDF5 <45972> +%!testif HAVE_HDF5 <*45972> %! hdf5_filename = tempname (); %! f = @ (x, y, varargin) x + y + varargin{1}; %! unwind_protect diff -r 2838bbd84b87 -r 9080316864bf test/bug-46660/bug-46660.tst --- a/test/bug-46660/bug-46660.tst Thu Sep 02 11:35:11 2021 -0400 +++ b/test/bug-46660/bug-46660.tst Thu Sep 02 11:40:04 2021 -0400 @@ -23,7 +23,7 @@ ## ######################################################################## -%!test <46660> +%!test <*46660> %! a(1) = class_bug46660 (); %! a(2) = class_bug46660 (); %! a(2).x = 123; diff -r 2838bbd84b87 -r 9080316864bf test/bug-49904.tst --- a/test/bug-49904.tst Thu Sep 02 11:35:11 2021 -0400 +++ b/test/bug-49904.tst Thu Sep 02 11:40:04 2021 -0400 @@ -6,12 +6,12 @@ %! 0.34986-0.03335i, -0.43847-0.38619i, -0.34734-0.40728i, 0.98356+0.00000i]; %! -%!test <49904> +%!test <*49904> %! [Ainv, rcond] = inv (A); %! assert (ishermitian (Ainv)); %! assert (A * Ainv, eye (4, 'double'), eps ('double') / rcond) -%!test <49904> +%!test <*49904> %! [Ainv, rcond] = inv (single (A)); %! assert (ishermitian (Ainv)); %! assert (A * Ainv, eye (4, 'single'), eps ('single') / rcond) diff -r 2838bbd84b87 -r 9080316864bf test/bug-50014/bug-50014.tst --- a/test/bug-50014/bug-50014.tst Thu Sep 02 11:35:11 2021 -0400 +++ b/test/bug-50014/bug-50014.tst Thu Sep 02 11:40:04 2021 -0400 @@ -26,7 +26,7 @@ %!error %! duplicate_nested_function () -%!assert <50014> (duplicate_nested_in_subfunction_ok (), 3) +%!assert <*50014> (duplicate_nested_in_subfunction_ok (), 3) %!error %! duplicate_nested_parent_function () @@ -52,4 +52,4 @@ %!error %! duplicate_subfunction_old_syntax () -%!assert <50014> (duplicate_subfunction_separate_scope_ok (), 3) +%!assert <*50014> (duplicate_subfunction_separate_scope_ok (), 3) diff -r 2838bbd84b87 -r 9080316864bf test/bug-50035/bug-50035.tst --- a/test/bug-50035/bug-50035.tst Thu Sep 02 11:35:11 2021 -0400 +++ b/test/bug-50035/bug-50035.tst Thu Sep 02 11:40:04 2021 -0400 @@ -23,7 +23,7 @@ ## ######################################################################## -%!test <50035> +%!test <*50035> %! global in_name; %! in_name = ""; %! x = bug50035 () diff -r 2838bbd84b87 -r 9080316864bf test/bug-50831/bug-50831.tst --- a/test/bug-50831/bug-50831.tst Thu Sep 02 11:35:11 2021 -0400 +++ b/test/bug-50831/bug-50831.tst Thu Sep 02 11:40:04 2021 -0400 @@ -1,4 +1,4 @@ -%!test <50831> +%!test <*50831> %! filename = tempname (); %! s.("a-b") = "bad fieldname"; %! unwind_protect diff -r 2838bbd84b87 -r 9080316864bf test/bug-51192/bug-51192.tst --- a/test/bug-51192/bug-51192.tst Thu Sep 02 11:35:11 2021 -0400 +++ b/test/bug-51192/bug-51192.tst Thu Sep 02 11:40:04 2021 -0400 @@ -23,7 +23,7 @@ ## ######################################################################## -%!test <51192> +%!test <*51192> %! a = class_bug51192 (); %! a.foo ("asd") %! class_bug51192.foo ("asd"); diff -r 2838bbd84b87 -r 9080316864bf test/bug-51532/bug-51532.tst --- a/test/bug-51532/bug-51532.tst Thu Sep 02 11:35:11 2021 -0400 +++ b/test/bug-51532/bug-51532.tst Thu Sep 02 11:40:04 2021 -0400 @@ -24,7 +24,7 @@ ######################################################################## ## Test for value returned from a +package function -%!test <51532> +%!test <*51532> %! r = package_bug51532.foo ("asdf"); %! assert (ischar (r)); %! assert (r, "asdf"); diff -r 2838bbd84b87 -r 9080316864bf test/bug-51534/bug-51534.tst --- a/test/bug-51534/bug-51534.tst Thu Sep 02 11:35:11 2021 -0400 +++ b/test/bug-51534/bug-51534.tst Thu Sep 02 11:40:04 2021 -0400 @@ -23,6 +23,6 @@ ## ######################################################################## -%!test <51534> +%!test <*51534> %! a = child_bug51534 ("asd"); %! assert (a.prop, "asd"); diff -r 2838bbd84b87 -r 9080316864bf test/bug-51599/bug-51599.tst --- a/test/bug-51599/bug-51599.tst Thu Sep 02 11:35:11 2021 -0400 +++ b/test/bug-51599/bug-51599.tst Thu Sep 02 11:40:04 2021 -0400 @@ -25,7 +25,7 @@ ## Check if a function handle to a local function of a classdef class ## can be called from an instance of that class. -%!test <51599> +%!test <*51599> %! a = class_bug51599 (); %! a.foo (); %! assert (a.bar (0), 2); diff -r 2838bbd84b87 -r 9080316864bf test/bug-52075/bug-52075.tst --- a/test/bug-52075/bug-52075.tst Thu Sep 02 11:35:11 2021 -0400 +++ b/test/bug-52075/bug-52075.tst Thu Sep 02 11:40:04 2021 -0400 @@ -23,7 +23,7 @@ ## ######################################################################## -%!test <52075> +%!test <*52075> %! a = class_bug52075 (); %! assert (a.duplicate, 'method'); %! assert (a.call_local_dup, 'local_foo'); diff -r 2838bbd84b87 -r 9080316864bf test/bug-52722/bug-52722.tst --- a/test/bug-52722/bug-52722.tst Thu Sep 02 11:35:11 2021 -0400 +++ b/test/bug-52722/bug-52722.tst Thu Sep 02 11:40:04 2021 -0400 @@ -1,3 +1,3 @@ -%!test <52722> +%!test <*52722> %! include_globals %! clear -global a b c; # cleanup after test diff -r 2838bbd84b87 -r 9080316864bf test/bug-53468/bug-53468.tst --- a/test/bug-53468/bug-53468.tst Thu Sep 02 11:35:11 2021 -0400 +++ b/test/bug-53468/bug-53468.tst Thu Sep 02 11:40:04 2021 -0400 @@ -24,7 +24,7 @@ ######################################################################## ## Load an Octave 4.0.3 figure file -%!test <53468> +%!test <*53468> %! unwind_protect %! hf = hgload ("ofig403.ofig"); %! unwind_protect_cleanup @@ -34,7 +34,7 @@ %! end_unwind_protect ## Load an Octave 4.2.1 figure file -%!test <53468> +%!test <*53468> %! unwind_protect %! hf = hgload ("ofig421.ofig"); %! unwind_protect_cleanup @@ -44,7 +44,7 @@ %! end_unwind_protect ## Load an Octave 5.1 figure file -%!test <53468> +%!test <*53468> %! unwind_protect %! hf = hgload ("ofig51.ofig"); %! unwind_protect_cleanup diff -r 2838bbd84b87 -r 9080316864bf test/bug-53599.tst --- a/test/bug-53599.tst Thu Sep 02 11:35:11 2021 -0400 +++ b/test/bug-53599.tst Thu Sep 02 11:40:04 2021 -0400 @@ -7,7 +7,7 @@ %! endif %!endfunction -%!test <53599> +%!test <*53599> %! global gval %! assert (isempty (gval)) %! sggval (13); diff -r 2838bbd84b87 -r 9080316864bf test/bug-54490.tst --- a/test/bug-54490.tst Thu Sep 02 11:35:11 2021 -0400 +++ b/test/bug-54490.tst Thu Sep 02 11:40:04 2021 -0400 @@ -4,7 +4,7 @@ %! out = 3; %!endfunction -%!test <54490> +%!test <*54490> %! global k; %! k = 2; %! a = [5, 6]; diff -r 2838bbd84b87 -r 9080316864bf test/bug-55308.tst --- a/test/bug-55308.tst Thu Sep 02 11:35:11 2021 -0400 +++ b/test/bug-55308.tst Thu Sep 02 11:40:04 2021 -0400 @@ -23,7 +23,7 @@ ## ######################################################################## -%!test <55308> +%!test <*55308> %! hf = figure ("visible", "off"); %! unwind_protect %! hg = hggroup (); diff -r 2838bbd84b87 -r 9080316864bf test/bug-55321.tst --- a/test/bug-55321.tst Thu Sep 02 11:35:11 2021 -0400 +++ b/test/bug-55321.tst Thu Sep 02 11:40:04 2021 -0400 @@ -29,7 +29,7 @@ %! set (hl, "userdata", isequal (color, [1 0 0])); %!endfunction -%!test <55321> +%!test <*55321> %! hf = figure ("visible", "off"); %! unwind_protect %! hax = axes ("parent", hf); diff -r 2838bbd84b87 -r 9080316864bf test/bug-55322.tst --- a/test/bug-55322.tst Thu Sep 02 11:35:11 2021 -0400 +++ b/test/bug-55322.tst Thu Sep 02 11:40:04 2021 -0400 @@ -23,7 +23,7 @@ ## ######################################################################## -%!test <55322> +%!test <*55322> %! hf = figure ("visible", "off"); %! unwind_protect %! hax = axes ("parent", hf); diff -r 2838bbd84b87 -r 9080316864bf test/bug-55758/bug-55758.tst --- a/test/bug-55758/bug-55758.tst Thu Sep 02 11:35:11 2021 -0400 +++ b/test/bug-55758/bug-55758.tst Thu Sep 02 11:40:04 2021 -0400 @@ -1,4 +1,4 @@ -%!test <55758> +%!test <*55758> %! global class_bug_55758_dtor_called %! class_bug_55758_dtor_called = false; %! diff -r 2838bbd84b87 -r 9080316864bf test/bug-56068/bug-56068.tst --- a/test/bug-56068/bug-56068.tst Thu Sep 02 11:35:11 2021 -0400 +++ b/test/bug-56068/bug-56068.tst Thu Sep 02 11:40:04 2021 -0400 @@ -1,4 +1,4 @@ -%!test <56068> +%!test <*56068> %! res = textscan (evalc ("bug_56068"), "%s", "delimiter", "\n"); %! f_cell = textscan (fileread ("bug_56068.m"), "%s", "delimiter", "\n"); %! f_echo = cellfun (@(x) sprintf ([PS4 "%s"], x), ... diff -r 2838bbd84b87 -r 9080316864bf test/bug-58572/bug-58572.tst --- a/test/bug-58572/bug-58572.tst Thu Sep 02 11:35:11 2021 -0400 +++ b/test/bug-58572/bug-58572.tst Thu Sep 02 11:40:04 2021 -0400 @@ -1,4 +1,4 @@ -%!test <58572> +%!test <*58572> %! obj = bug58572 (); %! assert (use_num (obj), false); %! assert (obj.use_num (), false); diff -r 2838bbd84b87 -r 9080316864bf test/bug-59617/bug-59617.tst --- a/test/bug-59617/bug-59617.tst Thu Sep 02 11:35:11 2021 -0400 +++ b/test/bug-59617/bug-59617.tst Thu Sep 02 11:40:04 2021 -0400 @@ -1,4 +1,4 @@ -%!test <59617> +%!test <*59617> %! obj = bug59617 (); %! assert (max (@() 1, obj), "@bug59617/max") %! assert (max (obj, @() 2), "@bug59617/max") diff -r 2838bbd84b87 -r 9080316864bf test/bug-59661/bug-59661.tst --- a/test/bug-59661/bug-59661.tst Thu Sep 02 11:35:11 2021 -0400 +++ b/test/bug-59661/bug-59661.tst Thu Sep 02 11:40:04 2021 -0400 @@ -1,4 +1,4 @@ -%!test <59661> +%!test <*59661> %! a = bug59661 (1); %! b = bug59661 (1, 2); %! assert (a == b, [true, false]) diff -r 2838bbd84b87 -r 9080316864bf test/bug-59704/bug-59704.tst --- a/test/bug-59704/bug-59704.tst Thu Sep 02 11:35:11 2021 -0400 +++ b/test/bug-59704/bug-59704.tst Thu Sep 02 11:40:04 2021 -0400 @@ -1,9 +1,9 @@ -%!test <59704> +%!test <*59704> %! o = bug59704_1 (); %! o.test (); %! assert (o.p, []) -%!test <59704> +%!test <*59704> %! o = bug59704_2 (); %! [~, o(1)] = size (rand (2, 5)); %! assert (o(1), 5) diff -r 2838bbd84b87 -r 9080316864bf test/bug-59937/bug-59937.tst --- a/test/bug-59937/bug-59937.tst Thu Sep 02 11:35:11 2021 -0400 +++ b/test/bug-59937/bug-59937.tst Thu Sep 02 11:40:04 2021 -0400 @@ -1,4 +1,4 @@ -%!test <59973> +%!test <*59973> %! eval_global_script %! assert (isglobal (new_var_name)); %! assert (__varval__ (new_var_name), []); diff -r 2838bbd84b87 -r 9080316864bf test/bug-60237/bug-60237.tst --- a/test/bug-60237/bug-60237.tst Thu Sep 02 11:35:11 2021 -0400 +++ b/test/bug-60237/bug-60237.tst Thu Sep 02 11:40:04 2021 -0400 @@ -1,1 +1,1 @@ -%!assert <60237> (bug_60237 (), 5) +%!assert <*60237> (bug_60237 (), 5) diff -r 2838bbd84b87 -r 9080316864bf test/bug-61105/bug-61105.tst --- a/test/bug-61105/bug-61105.tst Thu Sep 02 11:35:11 2021 -0400 +++ b/test/bug-61105/bug-61105.tst Thu Sep 02 11:40:04 2021 -0400 @@ -23,10 +23,10 @@ ## ######################################################################## -%!assert <61105> (nested_test_1 (2), 24) +%!assert <*61105> (nested_test_1 (2), 24) -%!assert <61105> (nested_test_2 (), 24) +%!assert <*61105> (nested_test_2 (), 24) -%!test <61105> +%!test <*61105> %! fh = nested_test_3 (); %! assert (fh (2), 24); diff -r 2838bbd84b87 -r 9080316864bf test/classdef/classdef.tst --- a/test/classdef/classdef.tst Thu Sep 02 11:35:11 2021 -0400 +++ b/test/classdef/classdef.tst Thu Sep 02 11:40:04 2021 -0400 @@ -206,7 +206,7 @@ %! props = {"notahiddentestprop"; "publictestprop"; "testprop"}; %! assert (properties (x), props); -%!test <60763> +%!test <*60763> %! x = bug_60763 (); %! assert (x.foobar (), {"some_property"}); %! assert (x.methods (), 42); diff -r 2838bbd84b87 -r 9080316864bf test/fcn-handle/handle-to-sibling.tst --- a/test/fcn-handle/handle-to-sibling.tst Thu Sep 02 11:35:11 2021 -0400 +++ b/test/fcn-handle/handle-to-sibling.tst Thu Sep 02 11:40:04 2021 -0400 @@ -23,4 +23,4 @@ ## ######################################################################## -%!assert <60845> (bug60845 (), true) +%!assert <*60845> (bug60845 (), true)