annotate test/bug-52722/include_globals.m @ 31191:bb9d776eafac stable

Fix wrong color in PDF printout of some latex strings (bug #62884) * octave-svgconvert (draw): For "rect" elements only set brush color if necessary and eventually restore to previous color.
author Pantxo Diribarne <pantxo.diribarne@gmail.com>
date Sun, 14 Aug 2022 18:24:07 +0200
parents b728b7ac1601
children 8e4f14837db2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
24459
b728b7ac1601 Add BIST test for bug #52722.
Rik <rik@octave.org>
parents:
diff changeset
1 ## Include script globals.m which defines global variables
b728b7ac1601 Add BIST test for bug #52722.
Rik <rik@octave.org>
parents:
diff changeset
2 define_globals
b728b7ac1601 Add BIST test for bug #52722.
Rik <rik@octave.org>
parents:
diff changeset
3
b728b7ac1601 Add BIST test for bug #52722.
Rik <rik@octave.org>
parents:
diff changeset
4 ## Test for presence of a global variable defined above
b728b7ac1601 Add BIST test for bug #52722.
Rik <rik@octave.org>
parents:
diff changeset
5 if (! isglobal ("c"))
b728b7ac1601 Add BIST test for bug #52722.
Rik <rik@octave.org>
parents:
diff changeset
6 error ("global variable 'c' not defined");
b728b7ac1601 Add BIST test for bug #52722.
Rik <rik@octave.org>
parents:
diff changeset
7 endif
b728b7ac1601 Add BIST test for bug #52722.
Rik <rik@octave.org>
parents:
diff changeset
8