annotate test/bug-53468/bug-53468.tst @ 32632:2e484f9f1f18 stable

maint: update Octave Project Developers copyright for the new year
author John W. Eaton <jwe@octave.org>
date Fri, 22 Dec 2023 12:08:17 -0500
parents 597f3ee61a48
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
27923
bd51beb6205e update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents: 27919
diff changeset
1 ########################################################################
bd51beb6205e update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents: 27919
diff changeset
2 ##
32632
2e484f9f1f18 maint: update Octave Project Developers copyright for the new year
John W. Eaton <jwe@octave.org>
parents: 31706
diff changeset
3 ## Copyright (C) 2018-2024 The Octave Project Developers
27918
b442ec6dda5c use centralized file for copyright info for individual contributors
John W. Eaton <jwe@octave.org>
parents: 26725
diff changeset
4 ##
27923
bd51beb6205e update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents: 27919
diff changeset
5 ## See the file COPYRIGHT.md in the top-level directory of this
bd51beb6205e update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents: 27919
diff changeset
6 ## distribution or <https://octave.org/copyright/>.
26713
7b9a5ab8350f Properly integrate hgload tests in the build system (bug #53468)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents:
diff changeset
7 ##
7b9a5ab8350f Properly integrate hgload tests in the build system (bug #53468)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents:
diff changeset
8 ## This file is part of Octave.
7b9a5ab8350f Properly integrate hgload tests in the build system (bug #53468)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents:
diff changeset
9 ##
7b9a5ab8350f Properly integrate hgload tests in the build system (bug #53468)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents:
diff changeset
10 ## Octave is free software: you can redistribute it and/or modify it
7b9a5ab8350f Properly integrate hgload tests in the build system (bug #53468)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents:
diff changeset
11 ## under the terms of the GNU General Public License as published by
7b9a5ab8350f Properly integrate hgload tests in the build system (bug #53468)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents:
diff changeset
12 ## the Free Software Foundation, either version 3 of the License, or
7b9a5ab8350f Properly integrate hgload tests in the build system (bug #53468)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents:
diff changeset
13 ## (at your option) any later version.
7b9a5ab8350f Properly integrate hgload tests in the build system (bug #53468)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents:
diff changeset
14 ##
7b9a5ab8350f Properly integrate hgload tests in the build system (bug #53468)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents:
diff changeset
15 ## Octave is distributed in the hope that it will be useful, but
7b9a5ab8350f Properly integrate hgload tests in the build system (bug #53468)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents:
diff changeset
16 ## WITHOUT ANY WARRANTY; without even the implied warranty of
7b9a5ab8350f Properly integrate hgload tests in the build system (bug #53468)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents:
diff changeset
17 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7b9a5ab8350f Properly integrate hgload tests in the build system (bug #53468)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents:
diff changeset
18 ## GNU General Public License for more details.
7b9a5ab8350f Properly integrate hgload tests in the build system (bug #53468)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents:
diff changeset
19 ##
7b9a5ab8350f Properly integrate hgload tests in the build system (bug #53468)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents:
diff changeset
20 ## You should have received a copy of the GNU General Public License
7b9a5ab8350f Properly integrate hgload tests in the build system (bug #53468)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents:
diff changeset
21 ## along with Octave; see the file COPYING. If not, see
7b9a5ab8350f Properly integrate hgload tests in the build system (bug #53468)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents:
diff changeset
22 ## <https://www.gnu.org/licenses/>.
27923
bd51beb6205e update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents: 27919
diff changeset
23 ##
bd51beb6205e update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents: 27919
diff changeset
24 ########################################################################
26713
7b9a5ab8350f Properly integrate hgload tests in the build system (bug #53468)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents:
diff changeset
25
7b9a5ab8350f Properly integrate hgload tests in the build system (bug #53468)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents:
diff changeset
26 ## Load an Octave 4.0.3 figure file
30110
9080316864bf update bug status in test suite
John W. Eaton <jwe@octave.org>
parents: 30109
diff changeset
27 %!test <*53468>
26725
b3b78bf83113 Properly close figures after tests on hgload (bug #53468)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 26713
diff changeset
28 %! unwind_protect
b3b78bf83113 Properly close figures after tests on hgload (bug #53468)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 26713
diff changeset
29 %! hf = hgload ("ofig403.ofig");
b3b78bf83113 Properly close figures after tests on hgload (bug #53468)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 26713
diff changeset
30 %! unwind_protect_cleanup
b3b78bf83113 Properly close figures after tests on hgload (bug #53468)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 26713
diff changeset
31 %! if (exist ("hf", "var") && isfigure (hf))
b3b78bf83113 Properly close figures after tests on hgload (bug #53468)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 26713
diff changeset
32 %! close (hf)
b3b78bf83113 Properly close figures after tests on hgload (bug #53468)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 26713
diff changeset
33 %! endif
b3b78bf83113 Properly close figures after tests on hgload (bug #53468)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 26713
diff changeset
34 %! end_unwind_protect
26713
7b9a5ab8350f Properly integrate hgload tests in the build system (bug #53468)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents:
diff changeset
35
7b9a5ab8350f Properly integrate hgload tests in the build system (bug #53468)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents:
diff changeset
36 ## Load an Octave 4.2.1 figure file
30110
9080316864bf update bug status in test suite
John W. Eaton <jwe@octave.org>
parents: 30109
diff changeset
37 %!test <*53468>
26725
b3b78bf83113 Properly close figures after tests on hgload (bug #53468)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 26713
diff changeset
38 %! unwind_protect
b3b78bf83113 Properly close figures after tests on hgload (bug #53468)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 26713
diff changeset
39 %! hf = hgload ("ofig421.ofig");
b3b78bf83113 Properly close figures after tests on hgload (bug #53468)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 26713
diff changeset
40 %! unwind_protect_cleanup
b3b78bf83113 Properly close figures after tests on hgload (bug #53468)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 26713
diff changeset
41 %! if (exist ("hf", "var") && isfigure (hf))
b3b78bf83113 Properly close figures after tests on hgload (bug #53468)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 26713
diff changeset
42 %! close (hf)
b3b78bf83113 Properly close figures after tests on hgload (bug #53468)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 26713
diff changeset
43 %! endif
b3b78bf83113 Properly close figures after tests on hgload (bug #53468)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 26713
diff changeset
44 %! end_unwind_protect
26713
7b9a5ab8350f Properly integrate hgload tests in the build system (bug #53468)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents:
diff changeset
45
7b9a5ab8350f Properly integrate hgload tests in the build system (bug #53468)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents:
diff changeset
46 ## Load an Octave 5.1 figure file
30110
9080316864bf update bug status in test suite
John W. Eaton <jwe@octave.org>
parents: 30109
diff changeset
47 %!test <*53468>
26725
b3b78bf83113 Properly close figures after tests on hgload (bug #53468)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 26713
diff changeset
48 %! unwind_protect
b3b78bf83113 Properly close figures after tests on hgload (bug #53468)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 26713
diff changeset
49 %! hf = hgload ("ofig51.ofig");
b3b78bf83113 Properly close figures after tests on hgload (bug #53468)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 26713
diff changeset
50 %! unwind_protect_cleanup
b3b78bf83113 Properly close figures after tests on hgload (bug #53468)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 26713
diff changeset
51 %! if (exist ("hf", "var") && isfigure (hf))
b3b78bf83113 Properly close figures after tests on hgload (bug #53468)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 26713
diff changeset
52 %! close (hf)
b3b78bf83113 Properly close figures after tests on hgload (bug #53468)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 26713
diff changeset
53 %! endif
b3b78bf83113 Properly close figures after tests on hgload (bug #53468)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 26713
diff changeset
54 %! end_unwind_protect