# HG changeset patch # User Markus Mützel # Date 1694183448 -7200 # Node ID 557f0edeb210af2f45137ec8fc74cb94ceccc753 # Parent a81a6fb82c0e31ff2822a295d8b3603b7bf8c44a test: Avoid test suite error when configured with `--disable-64`. * test/compile/bytecode.tst: As suggested by @jwe on Discourse, adapt pattern to match for 64-bit and 32-bit Octave indices. See: https://octave.discourse.group/t/wip-stack-vm-for-octave/2884/144 diff -r a81a6fb82c0e -r 557f0edeb210 test/compile/bytecode.tst --- a/test/compile/bytecode.tst Fri Sep 08 15:33:36 2023 +0200 +++ b/test/compile/bytecode.tst Fri Sep 08 16:30:48 2023 +0200 @@ -432,7 +432,7 @@ %! fail ("bytecode_errors (6)", ... %! 'a\(3\): out of bound 2 \(dimensions are 1x2\)'); %! fail ("bytecode_errors (7)", ... -%! 'a\(-1\): subscripts must be either integers 1 to \(2\^63\)-1 or logicals'); +%! 'a\(-1\): subscripts must be either integers 1 to \(2\^(31|63)\)-1 or logicals'); %! fail ("bytecode_errors (8)", ... %! 'operator \+: nonconformant arguments \(op1 is 1x3, op2 is 1x2\)'); %! @@ -454,7 +454,7 @@ %! fail ("bytecode_errors (6)", ... %! 'a\(3\): out of bound 2 \(dimensions are 1x2\)'); %! fail ("bytecode_errors (7)", ... -%! 'a\(-1\): subscripts must be either integers 1 to \(2\^63\)-1 or logicals'); +%! 'a\(-1\): subscripts must be either integers 1 to \(2\^(31|63)\)-1 or logicals'); %! fail ("bytecode_errors (8)", ... %! 'operator \+: nonconformant arguments \(op1 is 1x3, op2 is 1x2\)');