diff test/index.tst @ 32171:4555f9918009

test: Rewrite BIST tests incorrectly using %!shared construct (bug #64531) * error.tst, index.tst: Remove %!shared directive and replace with %!test where appropriate.
author Rik <rik@octave.org>
date Mon, 26 Jun 2023 13:18:15 -0700
parents 47cf72897a06
children 2e484f9f1f18
line wrap: on
line diff
--- a/test/index.tst	Mon Jun 26 11:44:10 2023 -0700
+++ b/test/index.tst	Mon Jun 26 13:18:15 2023 -0700
@@ -247,13 +247,13 @@
 %! x(false,[],false) = [];
 %! assert (x, y);
 
-%!shared x, y
+%!test
 %! y = ones (2, 2, 2);
 %! x = ones (2, 2, 2);
 %! x(false, 1) = [];
 %! assert (x, y);
 
-%!shared x, y
+%!test
 %! y = ones (2, 2, 2);
 %! x = ones (2, 2, 2);
 %! x(false, false) = [];
@@ -414,36 +414,36 @@
 %! x(:, [], false) = [];
 %! assert (x, y);
 
-%!shared x, y
+%!test
 %! y = ones (2, 2);
 %! x = ones (2, 2);
 %!error x(1, 1, []) = []
 
-%!shared x, y
+%!test
 %! y = ones (2, 2);
 %! x = ones (2, 2);
 %! x(false, false, 1) = [];
 %! assert (x, y);
 
-%!shared x, y
+%!test
 %! y = ones (2, 2);
 %! x = ones (2, 2);
 %! x(false, false, []) = [];
 %! assert (x, y);
 
-%!shared x, y
+%!test
 %! y = ones (2, 2);
 %! x = ones (2, 2);
 %! x(false, false, [], false) = [];
 %! assert (x, y);
 
-%!shared x, y
+%!test
 %! y = ones (2, 2);
 %! x = ones (2, 2);
 %! x(1, false, [], false) = [];
 %! assert (x, y);
 
-%!shared x, y
+%!test
 %! y = ones (2, 2);
 %! x = ones (2, 2);
 %! x(:, false, 1) = [];