annotate test/Makefile.am @ 33608:5fba13104493 bytecode-interpreter tip

maint: merge default to bytecode-interpreter.
author Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
date Sat, 18 May 2024 22:40:00 -0400
parents 5565b3e6eb60
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
30808
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
1 BUILT_SOURCES =
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
2 DIRSTAMP_FILES =
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
3 EXTRA_DIST =
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
4 CLEANFILES =
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
5 DISTCLEANFILES =
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
6 MAINTAINERCLEANFILES =
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
7 TEST_FILES =
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
8 noinst_TEST_FILES =
20366
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20330
diff changeset
9
30812
c62c8717ebf6 ensure test subdirectories are created
John W. Eaton <jwe@octave.org>
parents: 30808
diff changeset
10 octave_dirstamp = $(am__leading_dot)octave-dirstamp
c62c8717ebf6 ensure test subdirectories are created
John W. Eaton <jwe@octave.org>
parents: 30808
diff changeset
11
c62c8717ebf6 ensure test subdirectories are created
John W. Eaton <jwe@octave.org>
parents: 30808
diff changeset
12 DIRSTAMP_FILES += $(octave_dirstamp)
c62c8717ebf6 ensure test subdirectories are created
John W. Eaton <jwe@octave.org>
parents: 30808
diff changeset
13
c62c8717ebf6 ensure test subdirectories are created
John W. Eaton <jwe@octave.org>
parents: 30808
diff changeset
14 $(DIRSTAMP_FILES):
c62c8717ebf6 ensure test subdirectories are created
John W. Eaton <jwe@octave.org>
parents: 30808
diff changeset
15 $(AM_V_GEN)$(MKDIR_P) $(@D) && \
c62c8717ebf6 ensure test subdirectories are created
John W. Eaton <jwe@octave.org>
parents: 30808
diff changeset
16 : > $@
c62c8717ebf6 ensure test subdirectories are created
John W. Eaton <jwe@octave.org>
parents: 30808
diff changeset
17
20310
c7f9fcff42f2 test/module.mk: New file missing from changeset bacaec9b5535.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
18 TEST_FILES += \
30808
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
19 fntests.m \
32902
a575aa730d84 anonymous-function.tst: New file for anonymous function BIST tests.
Rik <rik@octave.org>
parents: 32862
diff changeset
20 anonymous-function.tst \
30808
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
21 args.tst \
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
22 bug-31371.tst \
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
23 bug-40117.tst \
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
24 bug-45969.tst \
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
25 bug-45972.tst \
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
26 bug-46330.tst \
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
27 bug-49904.tst \
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
28 bug-53579.tst \
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
29 bug-53599.tst \
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
30 bug-54490.tst \
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
31 bug-55308.tst \
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
32 bug-55321.tst \
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
33 bug-55322.tst \
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
34 bug-59950.tst \
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
35 bug-61201.tst \
32780
e96e2f9f9f37 avoid error with ignored values returned from function calls (bug #65153)
John W. Eaton <jwe@octave.org>
parents: 32546
diff changeset
36 bug-65153.tst \
30808
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
37 colormaps.tst \
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
38 command.tst \
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
39 complex.tst \
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
40 deprecate-props.tst \
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
41 diag-perm.tst \
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
42 error.tst \
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
43 eval-catch.tst \
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
44 eval-command.tst \
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
45 for.tst \
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
46 func.tst \
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
47 global.tst \
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
48 if.tst \
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
49 index.tst \
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
50 inline-fcn.tst \
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
51 integer.tst \
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
52 io.tst \
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
53 leftdiv.tst \
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
54 line-continue.tst \
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
55 logical-index.tst \
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
56 null-assign.tst \
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
57 parser.tst \
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
58 prefer.tst \
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
59 range.tst \
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
60 recursion.tst \
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
61 return.tst \
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
62 single-index.tst \
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
63 slice.tst \
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
64 sparse-assign.tst \
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
65 struct.tst \
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
66 switch.tst \
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
67 system.tst \
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
68 transpose.tst \
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
69 try.tst \
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
70 unwind.tst \
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
71 while.tst
20310
c7f9fcff42f2 test/module.mk: New file missing from changeset bacaec9b5535.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
72
30808
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
73 include bug-35448/module.mk
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
74 include bug-35881/module.mk
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
75 include bug-36025/module.mk
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
76 include bug-38236/module.mk
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
77 include bug-38691/module.mk
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
78 include bug-41723/module.mk
32853
ff21351709dc new tests for bug #44643
John W. Eaton <jwe@octave.org>
parents: 32781
diff changeset
79 include bug-44643/module.mk
30808
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
80 include bug-44940/module.mk
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
81 include bug-45351/module.mk
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
82 include bug-46660/module.mk
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
83 include bug-47680/module.mk
32417
2e949fd64073 Add forgotten makefile for bug-48693 folder (bug #48693)
Petter T. <petter.vilhelm@gmail.com>
parents: 32411
diff changeset
84 include bug-48693/module.mk
30808
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
85 include bug-49379/module.mk
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
86 include bug-50014/module.mk
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
87 include bug-50035/module.mk
32854
917e72ee8cbb new tests for bug #50395
John W. Eaton <jwe@octave.org>
parents: 32853
diff changeset
88 include bug-50395/module.mk
30808
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
89 include bug-50716/module.mk
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
90 include bug-50831/module.mk
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
91 include bug-51192/module.mk
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
92 include bug-51532/module.mk
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
93 include bug-51534/module.mk
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
94 include bug-51599/module.mk
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
95 include bug-52075/module.mk
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
96 include bug-52722/module.mk
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
97 include bug-52851/module.mk
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
98 include bug-53027/module.mk
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
99 include bug-53468/module.mk
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
100 include bug-53956/module.mk
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
101 include bug-54995/module.mk
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
102 include bug-55758/module.mk
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
103 include bug-56068/module.mk
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
104 include bug-58572/module.mk
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
105 include bug-58593/module.mk
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
106 include bug-59451/module.mk
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
107 include bug-59617/module.mk
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
108 include bug-59661/module.mk
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
109 include bug-59704/module.mk
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
110 include bug-59937/module.mk
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
111 include bug-60237/module.mk
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
112 include bug-60882/module.mk
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
113 include bug-61105/module.mk
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
114 include bug-61191/module.mk
32411
768df05d04f3 add tests for bug 63841
A.R. Burgers <arburgers@gmail.com> and Fernando Alvarruiz <feralber@upvnet.upv.es>
parents: 32395
diff changeset
115 include bug-63841/module.mk
32862
833f3d9bdf1a Don't treat parent class constructor as inherited class method (bug #65037)
John W. Eaton <jwe@octave.org>
parents: 32780
diff changeset
116 include bug-65037/module.mk
30808
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
117 include class-concat/module.mk
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
118 include classdef/module.mk
32279
fbd7e00d3e6e Add support for classdef breakpoints (bug #46451).
paulo <paulo.fernando.silva@gmail.com>
parents: 32149
diff changeset
119 include classdef-debug/module.mk
30808
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
120 include classdef-multiple-inheritance/module.mk
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
121 include classes/module.mk
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
122 include colon-op/module.mk
32149
6e6e99e8a4de tests for the new VM
Petter T. <petter.vilhelm@gmail.com>
parents: 31588
diff changeset
123 include compile-bench/module.mk
6e6e99e8a4de tests for the new VM
Petter T. <petter.vilhelm@gmail.com>
parents: 31588
diff changeset
124 include compile/module.mk
30808
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
125 include ctor-vs-method/module.mk
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
126 include fcn-handle/module.mk
31144
f125ddb46055 dir_encoding: Use encoding from .oct-config file in current directory (bug #62761).
Markus Mützel <markus.muetzel@gmx.de>
parents: 30986
diff changeset
127 include file-encoding/module.mk
33232
c5dc54712378 update help function tests
John W. Eaton <jwe@octave.org>
parents: 33165
diff changeset
128 include help/module.mk
30808
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
129 include json/module.mk
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
130 include jupyter-notebook/module.mk
33164
b4f8f14dc1fb Refresh fcn-info on current directory change (bug #65406).
Markus Mützel <markus.muetzel@gmx.de>
parents: 32933
diff changeset
131 include load-path/module.mk
30808
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
132 include local-functions/module.mk
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
133 include mex/module.mk
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
134 include nest/module.mk
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
135 include private-functions/module.mk
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
136 include publish/module.mk
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
137 include pkg/module.mk
20310
c7f9fcff42f2 test/module.mk: New file missing from changeset bacaec9b5535.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
138
32373
07e7a87dbeea build: Add target "check-vm" to run test suite with enabled VM.
Markus Mützel <markus.muetzel@gmx.de>
parents: 32279
diff changeset
139 # run-octave (optional-prepare-commands)
07e7a87dbeea build: Add target "check-vm" to run test suite with enabled VM.
Markus Mützel <markus.muetzel@gmx.de>
parents: 32279
diff changeset
140
23278
eb19c1545fb8 display fntests.log at end of make check if V=1
John W. Eaton <jwe@octave.org>
parents: 23048
diff changeset
141 define run-octave-tests
32680
25e8f63da459 Prefer --quiet to --silent in Octave.
Rik <rik@octave.org>
parents: 32546
diff changeset
142 ( $(SHELL) ../run-octave $(RUN_OCTAVE_OPTIONS) --no-init-file --quiet \
32373
07e7a87dbeea build: Add target "check-vm" to run test suite with enabled VM.
Markus Mützel <markus.muetzel@gmx.de>
parents: 32279
diff changeset
143 --no-history -p $(abs_top_builddir)/test/mex \
07e7a87dbeea build: Add target "check-vm" to run test suite with enabled VM.
Markus Mützel <markus.muetzel@gmx.de>
parents: 32279
diff changeset
144 $(abs_top_srcdir)/test/fntests.m $(abs_top_srcdir)/test "$(1)" ) && \
23278
eb19c1545fb8 display fntests.log at end of make check if V=1
John W. Eaton <jwe@octave.org>
parents: 23048
diff changeset
145 if $(AM_V_P); then \
eb19c1545fb8 display fntests.log at end of make check if V=1
John W. Eaton <jwe@octave.org>
parents: 23048
diff changeset
146 echo ""; \
30808
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
147 if [ -f fntests.log ]; then \
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
148 echo "Contents of test/fntests.log:"; \
23278
eb19c1545fb8 display fntests.log at end of make check if V=1
John W. Eaton <jwe@octave.org>
parents: 23048
diff changeset
149 echo ""; \
30808
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
150 $(AWK) -f $(srcdir)/show-failures.awk fntests.log; \
23278
eb19c1545fb8 display fntests.log at end of make check if V=1
John W. Eaton <jwe@octave.org>
parents: 23048
diff changeset
151 else \
30808
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
152 echo "fntests.log is missing!"; \
23278
eb19c1545fb8 display fntests.log at end of make check if V=1
John W. Eaton <jwe@octave.org>
parents: 23048
diff changeset
153 fi; \
eb19c1545fb8 display fntests.log at end of make check if V=1
John W. Eaton <jwe@octave.org>
parents: 23048
diff changeset
154 fi
eb19c1545fb8 display fntests.log at end of make check if V=1
John W. Eaton <jwe@octave.org>
parents: 23048
diff changeset
155 endef
eb19c1545fb8 display fntests.log at end of make check if V=1
John W. Eaton <jwe@octave.org>
parents: 23048
diff changeset
156
30808
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
157 check-local: $(GENERATED_TEST_FILES) $(MEX_TEST_FUNCTIONS) | $(OCTAVE_INTERPRETER_TARGETS) $(octave_dirstamp)
23883
b3b136bc7ce2 shorten messages displayed at end of make check
John W. Eaton <jwe@octave.org>
parents: 23852
diff changeset
158 $(AM_V_at)$(call run-octave-tests)
20310
c7f9fcff42f2 test/module.mk: New file missing from changeset bacaec9b5535.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
159
32530
23b20195a0a4 restore option to disable bytecode evaluator removed in cset 6efda6ed0d17
John W. Eaton <jwe@octave.org>
parents: 32425
diff changeset
160 if AMCOND_ENABLE_BYTECODE_EVALUATOR
23b20195a0a4 restore option to disable bytecode evaluator removed in cset 6efda6ed0d17
John W. Eaton <jwe@octave.org>
parents: 32425
diff changeset
161 check-bytecode-evaluator: $(BUILT_SOURCES) $(GENERATED_TEST_FILES) $(MEX_TEST_FUNCTIONS) | $(OCTAVE_INTERPRETER_TARGETS) $(octave_dirstamp)
32423
8d34d9b8b6ee VM: Rename VM functions with leading and trailing underscores.
Arun Giridhar <arungiridhar@gmail.com>
parents: 32417
diff changeset
162 $(AM_V_at)$(call run-octave-tests,__vm_enable__ (1))
32606
b31991b5c361 build: Add target check-tree-evaluator (bug #64977).
Markus Mützel <markus.muetzel@gmx.de>
parents: 32530
diff changeset
163
b31991b5c361 build: Add target check-tree-evaluator (bug #64977).
Markus Mützel <markus.muetzel@gmx.de>
parents: 32530
diff changeset
164 check-tree-evaluator: $(BUILT_SOURCES) $(GENERATED_TEST_FILES) $(MEX_TEST_FUNCTIONS) | $(OCTAVE_INTERPRETER_TARGETS) $(octave_dirstamp)
b31991b5c361 build: Add target check-tree-evaluator (bug #64977).
Markus Mützel <markus.muetzel@gmx.de>
parents: 32530
diff changeset
165 $(AM_V_at)$(call run-octave-tests,__vm_enable__ (0))
32530
23b20195a0a4 restore option to disable bytecode evaluator removed in cset 6efda6ed0d17
John W. Eaton <jwe@octave.org>
parents: 32425
diff changeset
166 endif
32373
07e7a87dbeea build: Add target "check-vm" to run test suite with enabled VM.
Markus Mützel <markus.muetzel@gmx.de>
parents: 32279
diff changeset
167
30808
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
168 COVERAGE_DIR = coverage
22109
57ca47db75ec build: add 'make coverage' target to build code coverage report
Mike Miller <mtmiller@octave.org>
parents: 22085
diff changeset
169 COVERAGE_INFO = $(COVERAGE_DIR)/$(PACKAGE).info
57ca47db75ec build: add 'make coverage' target to build code coverage report
Mike Miller <mtmiller@octave.org>
parents: 22085
diff changeset
170
57ca47db75ec build: add 'make coverage' target to build code coverage report
Mike Miller <mtmiller@octave.org>
parents: 22085
diff changeset
171 ## FIXME: To get something useful out of 'make coverage', you should use gcc
57ca47db75ec build: add 'make coverage' target to build code coverage report
Mike Miller <mtmiller@octave.org>
parents: 22085
diff changeset
172 ## and configure with compiler flags set to '-g --coverage'. Adding the
57ca47db75ec build: add 'make coverage' target to build code coverage report
Mike Miller <mtmiller@octave.org>
parents: 22085
diff changeset
173 ## --coverage option to either WARN_CXXFLAGS or XTRA_CXXFLAGS resulted in
57ca47db75ec build: add 'make coverage' target to build code coverage report
Mike Miller <mtmiller@octave.org>
parents: 22085
diff changeset
174 ## link errors, so some work still needed to get a '--enable-coverage-flags'
57ca47db75ec build: add 'make coverage' target to build code coverage report
Mike Miller <mtmiller@octave.org>
parents: 22085
diff changeset
175 ## option working.
57ca47db75ec build: add 'make coverage' target to build code coverage report
Mike Miller <mtmiller@octave.org>
parents: 22085
diff changeset
176
57ca47db75ec build: add 'make coverage' target to build code coverage report
Mike Miller <mtmiller@octave.org>
parents: 22085
diff changeset
177 coverage: all
57ca47db75ec build: add 'make coverage' target to build code coverage report
Mike Miller <mtmiller@octave.org>
parents: 22085
diff changeset
178 lcov --directory . --zerocounters
57ca47db75ec build: add 'make coverage' target to build code coverage report
Mike Miller <mtmiller@octave.org>
parents: 22085
diff changeset
179 $(MAKE) $(AM_MAKEFLAGS) check
57ca47db75ec build: add 'make coverage' target to build code coverage report
Mike Miller <mtmiller@octave.org>
parents: 22085
diff changeset
180 $(MKDIR_P) $(COVERAGE_DIR)
57ca47db75ec build: add 'make coverage' target to build code coverage report
Mike Miller <mtmiller@octave.org>
parents: 22085
diff changeset
181 lcov --directory . --capture --output-file $(COVERAGE_INFO)
57ca47db75ec build: add 'make coverage' target to build code coverage report
Mike Miller <mtmiller@octave.org>
parents: 22085
diff changeset
182 genhtml --output-directory $(COVERAGE_DIR) $(COVERAGE_INFO)
57ca47db75ec build: add 'make coverage' target to build code coverage report
Mike Miller <mtmiller@octave.org>
parents: 22085
diff changeset
183 @echo ""
57ca47db75ec build: add 'make coverage' target to build code coverage report
Mike Miller <mtmiller@octave.org>
parents: 22085
diff changeset
184 @echo "Code coverage report successfully built. Open the file"
57ca47db75ec build: add 'make coverage' target to build code coverage report
Mike Miller <mtmiller@octave.org>
parents: 22085
diff changeset
185 @echo ""
57ca47db75ec build: add 'make coverage' target to build code coverage report
Mike Miller <mtmiller@octave.org>
parents: 22085
diff changeset
186 @echo " $(abs_top_builddir)/$(COVERAGE_DIR)/index.html"
57ca47db75ec build: add 'make coverage' target to build code coverage report
Mike Miller <mtmiller@octave.org>
parents: 22085
diff changeset
187 @echo ""
57ca47db75ec build: add 'make coverage' target to build code coverage report
Mike Miller <mtmiller@octave.org>
parents: 22085
diff changeset
188 @echo "in a web browser to view the results."
57ca47db75ec build: add 'make coverage' target to build code coverage report
Mike Miller <mtmiller@octave.org>
parents: 22085
diff changeset
189 @echo ""
57ca47db75ec build: add 'make coverage' target to build code coverage report
Mike Miller <mtmiller@octave.org>
parents: 22085
diff changeset
190 .PHONY: coverage
57ca47db75ec build: add 'make coverage' target to build code coverage report
Mike Miller <mtmiller@octave.org>
parents: 22085
diff changeset
191
30808
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
192 conv.tst: mk-conv-tst.sh | $(octave_dirstamp)
23852
9f05f5afff45 maint: sort lists of files in test makefile snippets
Mike Miller <mtmiller@octave.org>
parents: 23842
diff changeset
193 $(AM_V_GEN)rm -f $@-t $@ && \
30808
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
194 $(SHELL) $(srcdir)/mk-conv-tst.sh > $@-t && \
23852
9f05f5afff45 maint: sort lists of files in test makefile snippets
Mike Miller <mtmiller@octave.org>
parents: 23842
diff changeset
195 mv $@-t $@
9f05f5afff45 maint: sort lists of files in test makefile snippets
Mike Miller <mtmiller@octave.org>
parents: 23842
diff changeset
196
30808
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
197 sparse.tst: mk-sparse-tst.sh | $(octave_dirstamp)
20310
c7f9fcff42f2 test/module.mk: New file missing from changeset bacaec9b5535.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
198 $(AM_V_GEN)rm -f $@-t $@ && \
30808
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
199 $(SHELL) $(srcdir)/mk-sparse-tst.sh > $@-t && \
20310
c7f9fcff42f2 test/module.mk: New file missing from changeset bacaec9b5535.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
200 mv $@-t $@
c7f9fcff42f2 test/module.mk: New file missing from changeset bacaec9b5535.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
201
c7f9fcff42f2 test/module.mk: New file missing from changeset bacaec9b5535.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
202 GENERATED_BC_OVERLOADS_DIRS := \
30813
c3d7c1ede44c use absolute name of test directory in rules that generate files
John W. Eaton <jwe@octave.org>
parents: 30812
diff changeset
203 $(shell $(SHELL) $(srcdir)/mk-bc-overloads-tst.sh $(abs_top_builddir)/test --list-dirs)
20310
c7f9fcff42f2 test/module.mk: New file missing from changeset bacaec9b5535.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
204
c7f9fcff42f2 test/module.mk: New file missing from changeset bacaec9b5535.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
205 GENERATED_BC_OVERLOADS_FILES := \
30813
c3d7c1ede44c use absolute name of test directory in rules that generate files
John W. Eaton <jwe@octave.org>
parents: 30812
diff changeset
206 $(shell $(SHELL) $(srcdir)/mk-bc-overloads-tst.sh $(abs_top_builddir)/test --list-files)
20310
c7f9fcff42f2 test/module.mk: New file missing from changeset bacaec9b5535.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
207
30808
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
208 $(GENERATED_BC_OVERLOADS_FILES): mk-bc-overloads-tst-stamp
20311
3373f2f760bc fix dependencies for generated overload operator tests
John W. Eaton <jwe@octave.org>
parents: 20310
diff changeset
209
30808
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
210 .bc-overload-tests-stamp: mk-bc-overloads-tst.sh bc-overloads-expected | $(octave_dirstamp)
20310
c7f9fcff42f2 test/module.mk: New file missing from changeset bacaec9b5535.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
211 $(AM_V_GEN)rm -f $@ && \
30813
c3d7c1ede44c use absolute name of test directory in rules that generate files
John W. Eaton <jwe@octave.org>
parents: 30812
diff changeset
212 $(SHELL) $(srcdir)/mk-bc-overloads-tst.sh $(abs_top_builddir)/test $(srcdir)/bc-overloads-expected && \
20310
c7f9fcff42f2 test/module.mk: New file missing from changeset bacaec9b5535.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
213 touch $@
c7f9fcff42f2 test/module.mk: New file missing from changeset bacaec9b5535.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
214
20366
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20330
diff changeset
215 GENERATED_TEST_FILES = \
30808
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
216 conv.tst \
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
217 sparse.tst \
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
218 .bc-overload-tests-stamp
20310
c7f9fcff42f2 test/module.mk: New file missing from changeset bacaec9b5535.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
219
c7f9fcff42f2 test/module.mk: New file missing from changeset bacaec9b5535.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
220 fixedtestsdir := $(octtestsdir)/fixed
c7f9fcff42f2 test/module.mk: New file missing from changeset bacaec9b5535.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
221
20373
3c70050faa1e Fix install paths of fixed and generated test files
Mike Miller <mtmiller@octave.org>
parents: 20368
diff changeset
222 TEST_INST_FILES = \
30808
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
223 conv.tst \
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
224 sparse.tst \
20310
c7f9fcff42f2 test/module.mk: New file missing from changeset bacaec9b5535.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
225 $(GENERATED_BC_OVERLOADS_FILES) \
30808
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
226 $(filter-out fntests.m, $(TEST_FILES))
20366
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20330
diff changeset
227
20373
3c70050faa1e Fix install paths of fixed and generated test files
Mike Miller <mtmiller@octave.org>
parents: 20368
diff changeset
228 install-data-local: install-test-files
3c70050faa1e Fix install paths of fixed and generated test files
Mike Miller <mtmiller@octave.org>
parents: 20368
diff changeset
229
3c70050faa1e Fix install paths of fixed and generated test files
Mike Miller <mtmiller@octave.org>
parents: 20368
diff changeset
230 uninstall-local: uninstall-test-files
3c70050faa1e Fix install paths of fixed and generated test files
Mike Miller <mtmiller@octave.org>
parents: 20368
diff changeset
231
3c70050faa1e Fix install paths of fixed and generated test files
Mike Miller <mtmiller@octave.org>
parents: 20368
diff changeset
232 install-test-files:
3c70050faa1e Fix install paths of fixed and generated test files
Mike Miller <mtmiller@octave.org>
parents: 20368
diff changeset
233 for f in $(TEST_INST_FILES); do \
3c70050faa1e Fix install paths of fixed and generated test files
Mike Miller <mtmiller@octave.org>
parents: 20368
diff changeset
234 if test -f "$$f"; then d=; else d="$(srcdir)/"; fi; \
30808
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
235 $(MKDIR_P) $(DESTDIR)$(fixedtestsdir)/`echo $$f | $(SED) 's,/*[^/]*$$,,'`; \
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
236 $(INSTALL_DATA) $$d$$f $(DESTDIR)$(fixedtestsdir)/$$f; \
20373
3c70050faa1e Fix install paths of fixed and generated test files
Mike Miller <mtmiller@octave.org>
parents: 20368
diff changeset
237 done
3c70050faa1e Fix install paths of fixed and generated test files
Mike Miller <mtmiller@octave.org>
parents: 20368
diff changeset
238 .PHONY: install-test-files
3c70050faa1e Fix install paths of fixed and generated test files
Mike Miller <mtmiller@octave.org>
parents: 20368
diff changeset
239
3c70050faa1e Fix install paths of fixed and generated test files
Mike Miller <mtmiller@octave.org>
parents: 20368
diff changeset
240 uninstall-test-files:
3c70050faa1e Fix install paths of fixed and generated test files
Mike Miller <mtmiller@octave.org>
parents: 20368
diff changeset
241 for f in $(TEST_INST_FILES); do \
30808
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
242 rm -f $(DESTDIR)$(fixedtestsdir)/$$f; \
20373
3c70050faa1e Fix install paths of fixed and generated test files
Mike Miller <mtmiller@octave.org>
parents: 20368
diff changeset
243 done
3c70050faa1e Fix install paths of fixed and generated test files
Mike Miller <mtmiller@octave.org>
parents: 20368
diff changeset
244 .PHONY: uninstall-test-files
3c70050faa1e Fix install paths of fixed and generated test files
Mike Miller <mtmiller@octave.org>
parents: 20368
diff changeset
245
30986
30e2a7ca6729 build: Remove .dirstamp files from test/ directory with "maintainer-clean" target.
Rik <rik@octave.org>
parents: 30813
diff changeset
246 BUILT_SOURCES += \
30e2a7ca6729 build: Remove .dirstamp files from test/ directory with "maintainer-clean" target.
Rik <rik@octave.org>
parents: 30813
diff changeset
247 $(GENERATED_TEST_FILES) \
30e2a7ca6729 build: Remove .dirstamp files from test/ directory with "maintainer-clean" target.
Rik <rik@octave.org>
parents: 30813
diff changeset
248 $(DIRSTAMP_FILES)
20366
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20330
diff changeset
249
30808
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
250 EXTRA_DIST += \
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
251 bc-overloads-expected \
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
252 mk-bc-overloads-tst.sh \
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
253 mk-conv-tst.sh \
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
254 mk-sparse-tst.sh \
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
255 mk_bc_overloads_expected.m \
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
256 show-failures.awk \
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
257 $(addprefix $(srcdir)/, $(TEST_FILES)) \
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
258 $(addprefix $(srcdir)/, $(noinst_TEST_FILES)) \
25453
e255f09dc70e initial framework for testing MEX files
John W. Eaton <jwe@octave.org>
parents: 25381
diff changeset
259 $(MEX_TEST_SRC)
20366
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20330
diff changeset
260
30808
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
261 CLEANFILES += \
20366
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20330
diff changeset
262 $(GENERATED_BC_OVERLOADS_FILES) \
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20330
diff changeset
263 $(GENERATED_TEST_FILES)
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20330
diff changeset
264
30808
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
265 DISTCLEANFILES += \
31588
7c020b18e299 build: Change Makefile rules to get 'make distcheck' to pass.
Rik <rik@octave.org>
parents: 31144
diff changeset
266 fntests.log \
7c020b18e299 build: Change Makefile rules to get 'make distcheck' to pass.
Rik <rik@octave.org>
parents: 31144
diff changeset
267 $(DIRSTAMP_FILES)
20366
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20330
diff changeset
268
22043
7d28674f6ff0 build: delete generated @class subdirectories for test suite on 'make clean'
Mike Miller <mtmiller@octave.org>
parents: 21964
diff changeset
269 clean-local: test-clean
7d28674f6ff0 build: delete generated @class subdirectories for test suite on 'make clean'
Mike Miller <mtmiller@octave.org>
parents: 21964
diff changeset
270
20366
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20330
diff changeset
271 test-clean:
30808
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
272 rm -f $(CLEANFILES)
22043
7d28674f6ff0 build: delete generated @class subdirectories for test suite on 'make clean'
Mike Miller <mtmiller@octave.org>
parents: 21964
diff changeset
273 rm -rf $(GENERATED_BC_OVERLOADS_DIRS)
22109
57ca47db75ec build: add 'make coverage' target to build code coverage report
Mike Miller <mtmiller@octave.org>
parents: 22085
diff changeset
274 rm -rf $(COVERAGE_DIR)
25468
e959d4b33eb1 * test/module.mk (test-clean): Also remove .mex files.
John W. Eaton <jwe@octave.org>
parents: 25453
diff changeset
275 rm -rf $(MEX_TEST_FUNCTIONS)
20366
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20330
diff changeset
276
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20330
diff changeset
277 test-distclean: test-clean
30808
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
278 rm -f $(DISTCLEANFILES)
20366
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20330
diff changeset
279
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20330
diff changeset
280 test-maintainer-clean: test-distclean
30808
2637e294ea6b fix botched file rename from previous change
John W. Eaton <jwe@octave.org>
parents: 30203
diff changeset
281 rm -f $(MAINTAINERCLEANFILES)