Mercurial > octave
changeset 28579:713398d4a3c3
update bug status of tests marked with bug numbers
After running make update-bug-status, the following files were
modified: pt-tm-const.cc, Sparse.cc, bug58519.tst, io.tst, nest.tst.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 14 Jul 2020 16:46:37 -0400 |
parents | 2d2bed795727 |
children | c871455e20bc |
files | libinterp/parse-tree/pt-tm-const.cc liboctave/array/Sparse.cc test/fcn-handle/bug58519.tst test/io.tst test/nest/nest.tst |
diffstat | 5 files changed, 21 insertions(+), 21 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/parse-tree/pt-tm-const.cc Tue Jul 14 16:45:22 2020 -0400 +++ b/libinterp/parse-tree/pt-tm-const.cc Tue Jul 14 16:46:37 2020 -0400 @@ -935,11 +935,11 @@ %!shared es %! es = struct ("a", {}); %! -%!assert <58695> ([1; es.a; 3], [1; 3]) -%!test <58695> +%!assert <*58695> ([1; es.a; 3], [1; 3]) +%!test <*58695> %! fail ("undefined element in matrix list", "[1; my_undef(), 3]"); %! -%!assert <58695> ([es.a; es.a; 3], 3) -%!test <58695> +%!assert <*58695> ([es.a; es.a; 3], 3) +%!test <*58695> %! fail ("undefined element in matrix list", "[my_undef(); my_undef(); 3]") */
--- a/liboctave/array/Sparse.cc Tue Jul 14 16:45:22 2020 -0400 +++ b/liboctave/array/Sparse.cc Tue Jul 14 16:46:37 2020 -0400 @@ -651,9 +651,9 @@ } /* -%!assert <51880> (sparse (1:2, 2, 1:2, 2, 2), sparse ([0, 1; 0, 2])) -%!assert <51880> (sparse (1:2, 1, 1:2, 2, 2), sparse ([1, 0; 2, 0])) -%!assert <51880> (sparse (1:2, 2, 1:2, 2, 3), sparse ([0, 1, 0; 0, 2, 0])) +%!assert <*51880> (sparse (1:2, 2, 1:2, 2, 2), sparse ([0, 1; 0, 2])) +%!assert <*51880> (sparse (1:2, 1, 1:2, 2, 2), sparse ([1, 0; 2, 0])) +%!assert <*51880> (sparse (1:2, 2, 1:2, 2, 3), sparse ([0, 1, 0; 0, 2, 0])) */ template <typename T> @@ -2969,10 +2969,10 @@ %!test test_sparse_slice ([2 2], 22, 3); %!test test_sparse_slice ([2 2], 22, 4); -%!assert <35570> (speye (3,1)(3:-1:1), sparse ([0; 0; 1])) +%!assert <*35570> (speye (3,1)(3:-1:1), sparse ([0; 0; 1])) ## Test removing columns -%!test <36656> +%!test <*36656> %! s = sparse (magic (5)); %! s(:,2:4) = []; %! assert (s, sparse (magic (5)(:, [1,5]))); @@ -2983,21 +2983,21 @@ %! assert (s, sparse ([], [], [], 0, 1)); ## Test (bug #37321) -%!test <37321> a=sparse (0,0); assert (all (a) == sparse ([1])); -%!test <37321> a=sparse (0,1); assert (all (a) == sparse ([1])); -%!test <37321> a=sparse (1,0); assert (all (a) == sparse ([1])); -%!test <37321> a=sparse (1,0); assert (all (a,2) == sparse ([1])); -%!test <37321> a=sparse (1,0); assert (size (all (a,1)), [1 0]); -%!test <37321> a=sparse (1,1); +%!test <*37321> a=sparse (0,0); assert (all (a) == sparse ([1])); +%!test <*37321> a=sparse (0,1); assert (all (a) == sparse ([1])); +%!test <*37321> a=sparse (1,0); assert (all (a) == sparse ([1])); +%!test <*37321> a=sparse (1,0); assert (all (a,2) == sparse ([1])); +%!test <*37321> a=sparse (1,0); assert (size (all (a,1)), [1 0]); +%!test <*37321> a=sparse (1,1); %! assert (all (a) == sparse ([0])); %! assert (size (all (a)), [1 1]); -%!test <37321> a=sparse (2,1); +%!test <*37321> a=sparse (2,1); %! assert (all (a) == sparse ([0])); %! assert (size (all (a)), [1 1]); -%!test <37321> a=sparse (1,2); +%!test <*37321> a=sparse (1,2); %! assert (all (a) == sparse ([0])); %! assert (size (all (a)), [1 1]); -%!test <37321> a=sparse (2,2); assert (isequal (all (a), sparse ([0 0]))); +%!test <*37321> a=sparse (2,2); assert (isequal (all (a), sparse ([0 0]))); ## Test assigning row to a column slice %!test <45589>
--- a/test/fcn-handle/bug58519.tst Tue Jul 14 16:45:22 2020 -0400 +++ b/test/fcn-handle/bug58519.tst Tue Jul 14 16:46:37 2020 -0400 @@ -1,4 +1,4 @@ -%!test <58519> +%!test <*58519> %! fieldname = "a"; %! structure = struct (fieldname, 42); %! anonfunc = @ () structure.(fieldname);
--- a/test/io.tst Tue Jul 14 16:45:22 2020 -0400 +++ b/test/io.tst Tue Jul 14 16:46:37 2020 -0400 @@ -923,7 +923,7 @@ %!assert <*53148> (double (sprintf ("B\0B")), [66, 0, 66]) %!assert <*53148> (sscanf ("B\0B 13", "B\0B %d"), 13) -%!test <58055> +%!test <*58055> %! w_modes = {"wb", "wt"}; %! r_modes = {"rb", "rt"}; %! f_texts = {"foo\nbar\nbaz\n", "foo\rbar\rbaz\r", "foo\r\nbar\r\nbaz\r\n"};
--- a/test/nest/nest.tst Tue Jul 14 16:45:22 2020 -0400 +++ b/test/nest/nest.tst Tue Jul 14 16:46:37 2020 -0400 @@ -41,7 +41,7 @@ ## worked. The output of "script_nest" is unassigned. This got ## revealed by fixing bug #58686. -%!xtest <58691> assert (script_nest (), 5) +%!xtest <*58691> assert (script_nest (), 5) %!assert (arg_ret (), 10)