Mercurial > octave-nkf
annotate test/Makefile.am @ 16028:85b8a1d435d6
* test/Makefile.am: Use stamp file for bc-overload-tests.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sat, 09 Feb 2013 19:54:05 -0500 |
parents | 98f90d4dca20 |
children | 1af8d21608b7 |
rev | line source |
---|---|
15269
b42167e9d805
maint: Update Makefile.am comments to refer to Octave (program) rather than octave (command).
Rik <rik@octave.org>
parents:
14544
diff
changeset
|
1 # Makefile for Octave's test directory |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
2 # |
14138
72c96de7a403
maint: update copyright notices for 2012
John W. Eaton <jwe@octave.org>
parents:
13814
diff
changeset
|
3 # Copyright (C) 1994-2012 John W. Eaton |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
4 # |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
5 # This file is part of Octave. |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
6 # |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
7 # Octave is free software; you can redistribute it and/or modify it |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
8 # under the terms of the GNU General Public License as published by the |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
9 # Free Software Foundation; either version 3 of the License, or (at |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
10 # your option) any later version. |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
11 # |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
12 # Octave is distributed in the hope that it will be useful, but WITHOUT |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
13 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
14 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
15 # for more details. |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
16 # |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
17 # You should have received a copy of the GNU General Public License |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
18 # along with Octave; see the file COPYING. If not, see |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
19 # <http://www.gnu.org/licenses/>. |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
20 |
12733
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12717
diff
changeset
|
21 include $(top_srcdir)/build-aux/common.mk |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
22 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
23 FCN_FILES = \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
24 fntests.m \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
25 test_args.m \ |
14330 | 26 test_bug_31371.m \ |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
27 test_diag_perm.m \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
28 test_error.m \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
29 test_eval-catch.m \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
30 test_for.m \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
31 test_func.m \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
32 test_global.m \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
33 test_if.m \ |
14163
55d41048ea68
update FCN_FILES list in test/Makefile.am
John W. Eaton <jwe@octave.org>
parents:
14138
diff
changeset
|
34 test_index.m \ |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
35 test_io.m \ |
14163
55d41048ea68
update FCN_FILES list in test/Makefile.am
John W. Eaton <jwe@octave.org>
parents:
14138
diff
changeset
|
36 test_line_continue.m \ |
55d41048ea68
update FCN_FILES list in test/Makefile.am
John W. Eaton <jwe@octave.org>
parents:
14138
diff
changeset
|
37 test_logical_index.m \ |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
38 test_null_assign.m \ |
11217
521373e25613
correctly parse {1 2 {3 4}}
John W. Eaton <jwe@octave.org>
parents:
10837
diff
changeset
|
39 test_parser.m \ |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
40 test_prefer.m \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
41 test_range.m \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
42 test_recursion.m \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
43 test_return.m \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
44 test_slice.m \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
45 test_struct.m \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
46 test_switch.m \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
47 test_system.m \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
48 test_transpose.m \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
49 test_try.m \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
50 test_unwind.m \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
51 test_while.m |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
52 |
14329
8d1ae996c122
also save and restore symbol table context in parser (bug #35448)
John W. Eaton <jwe@octave.org>
parents:
14163
diff
changeset
|
53 include bug-35448/module.mk |
14507
3f21c0c34b8f
check for function/file name mismatch when parsing class methods
John W. Eaton <jwe@octave.org>
parents:
14330
diff
changeset
|
54 include bug-36025/module.mk |
15998
59715612ea72
add a test for bug #38236
Carlo de Falco <cdf@users.sourceforge.net>
parents:
15269
diff
changeset
|
55 include bug-38236/module.mk |
13192
968e89b45bbf
move tests for classes into subdirectories
John W. Eaton <jwe@octave.org>
parents:
13147
diff
changeset
|
56 include classes/module.mk |
13814
a45535d630bd
new tests for class concatentation
John W. Eaton <jwe@octave.org>
parents:
13193
diff
changeset
|
57 include class-concat/module.mk |
13147
6c952376482d
look for methods before constructors
John W. Eaton <jwe@octave.org>
parents:
13140
diff
changeset
|
58 include ctor-vs-method/module.mk |
13193
a00ff5cedb9b
also look to parent classes for overloaded functions called through handles
John W. Eaton <jwe@octave.org>
parents:
13192
diff
changeset
|
59 include fcn-handle-derived-resolution/module.mk |
14544
be18c9e359bf
Nested function support (bug #35772)
Max Brister <max@2bass.com>
parents:
14507
diff
changeset
|
60 include nest/module.mk |
13147
6c952376482d
look for methods before constructors
John W. Eaton <jwe@octave.org>
parents:
13140
diff
changeset
|
61 |
10090
655ab6f6c369
add tests for built-in class overloads
Jaroslav Hajek <highegg@gmail.com>
parents:
10004
diff
changeset
|
62 check: test_sparse.m test_bc_overloads.m |
10004
e517da95bf98
Eliminate TOPDIR variable in favor of built-in automake variables
Rik <rdrider0-list@yahoo.com>
parents:
9995
diff
changeset
|
63 $(top_builddir)/run-octave --norc --silent --no-history $(srcdir)/fntests.m $(srcdir) |
e517da95bf98
Eliminate TOPDIR variable in favor of built-in automake variables
Rik <rdrider0-list@yahoo.com>
parents:
9995
diff
changeset
|
64 |
e517da95bf98
Eliminate TOPDIR variable in favor of built-in automake variables
Rik <rdrider0-list@yahoo.com>
parents:
9995
diff
changeset
|
65 test_sparse.m: build_sparse_tests.sh |
e517da95bf98
Eliminate TOPDIR variable in favor of built-in automake variables
Rik <rdrider0-list@yahoo.com>
parents:
9995
diff
changeset
|
66 $(srcdir)/build_sparse_tests.sh |
e517da95bf98
Eliminate TOPDIR variable in favor of built-in automake variables
Rik <rdrider0-list@yahoo.com>
parents:
9995
diff
changeset
|
67 |
16019
5b2126a8c84f
install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents:
15998
diff
changeset
|
68 GENERATED_BC_OVERLOADS_DIRS := \ |
5b2126a8c84f
install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents:
15998
diff
changeset
|
69 $(shell $(srcdir)/build_bc_overload_tests.sh --list-dirs) |
5b2126a8c84f
install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents:
15998
diff
changeset
|
70 |
5b2126a8c84f
install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents:
15998
diff
changeset
|
71 GENERATED_BC_OVERLOADS_FILES := \ |
5b2126a8c84f
install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents:
15998
diff
changeset
|
72 $(shell $(srcdir)/build_bc_overload_tests.sh --list-files) |
5b2126a8c84f
install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents:
15998
diff
changeset
|
73 |
16028
85b8a1d435d6
* test/Makefile.am: Use stamp file for bc-overload-tests.
John W. Eaton <jwe@octave.org>
parents:
16024
diff
changeset
|
74 bc-overload-tests.stamp: build_bc_overload_tests.sh bc_overloads_expected |
16024
98f90d4dca20
fix rules for generated test files
John W. Eaton <jwe@octave.org>
parents:
16019
diff
changeset
|
75 $(srcdir)/build_bc_overload_tests.sh $(srcdir)/bc_overloads_expected |
16028
85b8a1d435d6
* test/Makefile.am: Use stamp file for bc-overload-tests.
John W. Eaton <jwe@octave.org>
parents:
16024
diff
changeset
|
76 touch $@ |
16024
98f90d4dca20
fix rules for generated test files
John W. Eaton <jwe@octave.org>
parents:
16019
diff
changeset
|
77 |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
78 EXTRA_DIST = \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
79 build_sparse_tests.sh \ |
10090
655ab6f6c369
add tests for built-in class overloads
Jaroslav Hajek <highegg@gmail.com>
parents:
10004
diff
changeset
|
80 build_bc_overload_tests.sh \ |
655ab6f6c369
add tests for built-in class overloads
Jaroslav Hajek <highegg@gmail.com>
parents:
10004
diff
changeset
|
81 bc_overloads_expected \ |
655ab6f6c369
add tests for built-in class overloads
Jaroslav Hajek <highegg@gmail.com>
parents:
10004
diff
changeset
|
82 build_bc_overloads_expected.m \ |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
83 $(FCN_FILES) |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
84 |
9906 | 85 CLEANFILES = \ |
10090
655ab6f6c369
add tests for built-in class overloads
Jaroslav Hajek <highegg@gmail.com>
parents:
10004
diff
changeset
|
86 test_sparse.m \ |
16024
98f90d4dca20
fix rules for generated test files
John W. Eaton <jwe@octave.org>
parents:
16019
diff
changeset
|
87 $(GENERATED_BC_OVERLOADS_FILES) |
9906 | 88 |
89 DISTCLEANFILES = \ | |
90 fntests.log | |
16019
5b2126a8c84f
install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents:
15998
diff
changeset
|
91 |
5b2126a8c84f
install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents:
15998
diff
changeset
|
92 fixedtestsdir := $(octtestsdir)/fixed |
5b2126a8c84f
install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents:
15998
diff
changeset
|
93 |
5b2126a8c84f
install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents:
15998
diff
changeset
|
94 nobase_fixedtests_DATA = \ |
5b2126a8c84f
install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents:
15998
diff
changeset
|
95 test_sparse.m \ |
5b2126a8c84f
install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents:
15998
diff
changeset
|
96 $(GENERATED_BC_OVERLOADS_FILES) \ |
5b2126a8c84f
install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents:
15998
diff
changeset
|
97 $(filter-out fntests.m, $(FCN_FILES)) |
5b2126a8c84f
install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents:
15998
diff
changeset
|
98 |
10837
6ea0cf31667d
Add Makefile options to clean up build directories and allow 'make distcheck' to finish
Rik <octave@nomad.inbox5.com>
parents:
10096
diff
changeset
|
99 clean-local: |
16019
5b2126a8c84f
install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents:
15998
diff
changeset
|
100 -rm -rf $(GENERATED_BC_OVERLOADS_DIRS) |