changeset 26713:7b9a5ab8350f stable

Properly integrate hgload tests in the build system (bug #53468) * test/bug-53468: New directory with its module.mk. * test/figure_files: Move contents to bug-53468 and remove directory * test/hgload.tst: Rename bug-53468.tst and move to bug-53468.
author Pantxo Diribarne <pantxo.diribarne@gmail.com>
date Sat, 09 Feb 2019 21:23:14 +0100
parents 496e7abe1662
children b3b78bf83113
files test/bug-53468/bug-53468.tst test/bug-53468/module.mk test/bug-53468/ofig403.ofig test/bug-53468/ofig421.ofig test/bug-53468/ofig51.ofig test/figure_files/ofig403.ofig test/figure_files/ofig421.ofig test/figure_files/ofig51.ofig test/hgload.tst test/module.mk
diffstat 10 files changed, 38 insertions(+), 29 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test/bug-53468/bug-53468.tst	Sat Feb 09 21:23:14 2019 +0100
@@ -0,0 +1,29 @@
+## Copyright (C) 2018 Pantxo Diribarne
+##
+## This file is part of Octave.
+##
+## Octave is free software: you can redistribute it and/or modify it
+## under the terms of the GNU General Public License as published by
+## the Free Software Foundation, either version 3 of the License, or
+## (at your option) any later version.
+##
+## Octave is distributed in the hope that it will be useful, but
+## WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+## GNU General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with Octave; see the file COPYING.  If not, see
+## <https://www.gnu.org/licenses/>.
+
+## Load an Octave 4.0.3 figure file
+%!test
+%! hgload ("ofig403.ofig");
+
+## Load an Octave 4.2.1 figure file
+%!test
+%! hgload ("ofig421.ofig");
+
+## Load an Octave 5.1 figure file
+%!test
+%! hgload ("ofig51.ofig");
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test/bug-53468/module.mk	Sat Feb 09 21:23:14 2019 +0100
@@ -0,0 +1,8 @@
+bug_53468_TEST_FILES = \
+  %reldir%/bug-53468.tst \
+  %reldir%/ofig403.ofig \
+  %reldir%/ofig421.ofig \
+  %reldir%/ofig51.ofig
+
+TEST_FILES += $(bug_53468_TEST_FILES)
+
Binary file test/bug-53468/ofig403.ofig has changed
Binary file test/bug-53468/ofig421.ofig has changed
Binary file test/bug-53468/ofig51.ofig has changed
Binary file test/figure_files/ofig403.ofig has changed
Binary file test/figure_files/ofig421.ofig has changed
Binary file test/figure_files/ofig51.ofig has changed
--- a/test/hgload.tst	Fri Feb 08 15:59:21 2019 -0800
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,29 +0,0 @@
-## Copyright (C) 2018 Pantxo Diribarne
-##
-## This file is part of Octave.
-##
-## Octave is free software: you can redistribute it and/or modify it
-## under the terms of the GNU General Public License as published by
-## the Free Software Foundation, either version 3 of the License, or
-## (at your option) any later version.
-##
-## Octave is distributed in the hope that it will be useful, but
-## WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-## GNU General Public License for more details.
-##
-## You should have received a copy of the GNU General Public License
-## along with Octave; see the file COPYING.  If not, see
-## <https://www.gnu.org/licenses/>.
-
-## Load an Octave 4.0.3 figure file
-%!test
-%! hgload (fullfile ("figure_files", "ofig403.ofig"));
-
-## Load an Octave 4.2.1 figure file
-%!test
-%! hgload (fullfile ("figure_files", "ofig421.ofig"));
-
-## Load an Octave 5.1 figure file
-%!test
-%! hgload (fullfile ("figure_files", "ofig51.ofig"));
--- a/test/module.mk	Fri Feb 08 15:59:21 2019 -0800
+++ b/test/module.mk	Sat Feb 09 21:23:14 2019 +0100
@@ -75,6 +75,7 @@
 include %reldir%/bug-52075/module.mk
 include %reldir%/bug-52722/module.mk
 include %reldir%/bug-53027/module.mk
+include %reldir%/bug-53468/module.mk
 include %reldir%/bug-54995/module.mk
 include %reldir%/class-concat/module.mk
 include %reldir%/classdef/module.mk