diff test/bug-53579.tst @ 32068:13362cd35b72

Suppress unexpected warning messages when running .tst files in test/ dir (bug #64123) * bug-53579.tst: Temporarily disable 'Octave:global-local-conflict' warning. * leftdiv.tst: Change 4 %!assert tests to %!warning tests looking for 'Octave:singular-matrix' warning. * parser.tst: Temporarily disable 'Octave:colon-nonscalar-argument' warning. * range.tst: Temporarily disable 'Octave:colon-complex-argument' warning. * struct.tst: Temporarily disable 'Octave:empty-index' warning.
author Rik <rik@octave.org>
date Sun, 30 Apr 2023 15:44:32 -0700
parents 332a6ccac881
children
line wrap: on
line diff
--- a/test/bug-53579.tst	Sun Apr 30 16:55:20 2023 +0200
+++ b/test/bug-53579.tst	Sun Apr 30 15:44:32 2023 -0700
@@ -13,6 +13,7 @@
 %! assert (isglobal ("bb"));
 %! aa = 3;
 %! xx = 5;
+%! warning ('off', 'Octave:global-local-conflict', 'local');
 %! [raa, rbb, igaa, igbb] = sub1 (aa, xx);
 %! assert (raa, 1);
 %! assert (rbb, []);