1 test_deps = declare_dependency(compile_args: geany_cflags + [ '-DG_LOG_DOMAIN="Geany"' ],
2 dependencies: [deps, dep_libgeany],
3 include_directories: '..')
6 'ctags/1795612.js.tags',
7 'ctags/1850914.js.tags',
8 'ctags/1878155.js.tags',
9 'ctags/1880687.js.tags',
10 'ctags/2023624.js.tags',
11 'ctags/3184782.sql.tags',
12 'ctags/3470609.js.tags',
13 'ctags/3526726.tex.tags',
14 'ctags/68hc11.asm.tags',
15 'ctags/actionscript/as-first-token.as.tags',
16 'ctags/actionscript/classes.as.tags',
17 'ctags/actionscript/const2.as.tags',
18 'ctags/actionscript/const.as.tags',
19 'ctags/actionscript/method-attributes.as.tags',
20 'ctags/actionscript/packages.as.tags',
21 'ctags/actionscript/sampler.as.tags',
22 'ctags/ada-adb.adb.tags',
23 'ctags/ada-ads.ads.tags',
24 'ctags/ada-expression-function.adb.tags',
25 'ctags/ada-expression-function-generic.adb.tags',
26 'ctags/ada-overriding.ads.tags',
27 'ctags/ada-package-generic.ads.tags',
28 'ctags/ada-task.adb.tags',
29 'ctags/angle_bracket.cpp.tags',
30 'ctags/anonymous_functions.php.tags',
31 'ctags/arraylist.js.tags',
32 'ctags/array_ref_and_out.cs.tags',
33 'ctags/array_spec.f90.tags',
34 'ctags/array-spec.f90.tags',
35 'ctags/attributes.cs.tags',
37 'ctags/backslashes.c.tags',
38 'ctags/bit_field.c.tags',
39 'ctags/block.f90.tags',
40 'ctags/bracematch.js.tags',
41 'ctags/bug1020715.cpp.tags',
42 'ctags/bug1020715.c.tags',
43 'ctags/bug1086609.c.tags',
44 'ctags/bug1093123.cpp.tags',
45 'ctags/bug1111214-j-chan.v.tags',
46 'ctags/bug1111214.v.tags',
47 'ctags/bug1201689.c.tags',
48 'ctags/bug1447756.java.tags',
49 'ctags/bug1458930.c.tags',
50 'ctags/bug1466117.c.tags',
51 'ctags/bug1491666.c.tags',
52 'ctags/bug1515910.cs.tags',
53 'ctags/bug1548443.cpp.tags',
54 'ctags/bug1563476.cpp.tags',
55 'ctags/bug1570779.sql.tags',
56 'ctags/bug1575055.cpp.tags',
57 'ctags/bug1585745.cpp.tags',
58 'ctags/bug1611054.cs.tags',
59 'ctags/bug1691412.java.tags',
60 'ctags/bug1742588.rb.tags',
61 'ctags/bug1743330.v.tags',
62 'ctags/bug1764143.h.tags',
63 'ctags/bug1764148.py.tags',
64 'ctags/bug1770479.cpp.tags',
65 'ctags/bug1773926.cpp.tags',
66 'ctags/bug1777344.java.tags',
67 'ctags/bug1799340.cpp.tags',
68 'ctags/bug1799343-1.cpp.tags',
69 'ctags/bug1799343-2.cpp.tags',
70 'ctags/bug1800065.cs.tags',
71 'ctags/bug1809024.py.tags',
72 'ctags/bug1830343.cs.tags',
73 'ctags/bug1830344.cs.tags',
74 'ctags/bug1856363.py.tags',
75 'ctags/bug1906062.py.tags',
76 'ctags/bug1907083.cpp.tags',
77 'ctags/bug1924919.cpp.tags',
78 'ctags/bug1938565.sql.tags',
79 'ctags/bug1944150.sql.tags',
80 'ctags/bug1950327.js.tags',
81 'ctags/bug1988026.py.tags',
82 'ctags/bug1988027.py.tags',
83 'ctags/bug1988130.py.tags',
84 'ctags/bug2049723.java.tags',
85 'ctags/bug2075402.py.tags',
86 'ctags/bug2117073.java.tags',
87 'ctags/bug2374109.vhd.tags',
88 'ctags/bug2411878.cs.tags',
89 'ctags/bug2747828.v.tags',
90 'ctags/bug2777310.js.tags',
91 'ctags/bug2781264.rb.tags',
92 'ctags/bug2886870.tex.tags',
93 'ctags/bug2888482.js.tags',
94 'ctags/bug3036476.js.tags',
95 'ctags/bug3168705.py.tags',
96 'ctags/bug3571233.js.tags',
97 'ctags/bug507864.c.tags',
98 'ctags/bug538629.asm.tags',
99 'ctags/bug556645.c.tags',
100 'ctags/bug556646.c.tags',
101 'ctags/bug565813.f90.tags',
102 'ctags/bug612019.pas.tags',
103 'ctags/bug612621.pl.tags',
104 'ctags/bug620288.f.tags',
105 'ctags/bug639639.h.tags',
106 'ctags/bug639644.hpp.tags',
107 'ctags/bug665086.cpp.tags',
108 'ctags/bug670433.f90.tags',
109 'ctags/bug699171.py.tags',
110 'ctags/bug722501.sql.tags',
111 'ctags/bug726712.f90.tags',
112 'ctags/bug726875.f90.tags',
113 'ctags/bug734933.f90.tags',
114 'ctags/bug762027.v.tags',
115 'ctags/bug814263.java.tags',
116 'ctags/bug823000.sql.tags',
117 'ctags/bug842077.pl.tags',
118 'ctags/bug849591.cpp.tags',
119 'ctags/bug852368.cpp.tags',
120 'ctags/bug858165.f90.tags',
121 'ctags/bug872494.cpp.tags',
122 'ctags/bug877956.f90.tags',
123 'ctags/bug960316.v.tags',
124 'ctags/bug961001.v.tags',
126 'ctags/c-digraphs.c.tags',
127 'ctags/c-trigraphs.c.tags',
128 'ctags/case_sensitivity.php.tags',
129 'ctags/char-selector.f90.tags',
130 'ctags/classes.php.tags',
131 'ctags/cobol/helloworld.cbl.tags',
132 'ctags/cobol/helloworld2.cbl.tags',
133 'ctags/cobol/levels.cbl.tags',
134 'ctags/cobol/quoted-program-id.cbl.tags',
135 'ctags/cobol/simple.cbl.tags',
136 'ctags/common.f.tags',
137 'ctags/complex-return.js.tags',
138 'ctags/continuation.f90.tags',
139 'ctags/continuation.mak.tags',
140 'ctags/countall.sql.tags',
141 'ctags/cpp_destructor.cpp.tags',
142 'ctags/css-at-rules.css.tags',
143 'ctags/css-at-supports.css.tags',
144 'ctags/css-attribute-selectors.css.tags',
145 'ctags/css-comma-no-space.css.tags',
146 'ctags/css-namespace-selectors.css.tags',
147 'ctags/css-pseudo-classes.css.tags',
148 'ctags/css-simple.css.tags',
149 'ctags/css-singlequote-in-comment-issue2.css.tags',
150 'ctags/css-tag-types.css.tags',
151 'ctags/css-trivial.css.tags',
152 'ctags/cython_sample.pyx.tags',
153 'ctags/cython_sample2.pyx.tags',
154 'ctags/cxx11enum.cpp.tags',
155 'ctags/cxx11-final.cpp.tags',
156 'ctags/cxx11-noexcept.cpp.tags',
157 'ctags/cxx11-override.cpp.tags',
158 'ctags/cxx11-raw-strings.cpp.tags',
159 'ctags/cxx14-combined.cpp.tags',
160 'ctags/db-trig.sql.tags',
161 'ctags/debian_432872.f90.tags',
162 'ctags/directives.c.tags',
163 'ctags/dopbl2.f.tags',
164 'ctags/dotted-names.json.tags',
166 'ctags/enum.f90.tags',
167 'ctags/enum.java.tags',
168 'ctags/enumerators.f90.tags',
169 'ctags/events.cs.tags',
170 'ctags/extern_variable.h.tags',
171 'ctags/forall_module.f90.tags',
172 'ctags/format.pl.tags',
173 'ctags/fortran_associate.f90.tags',
174 'ctags/fortran_line_continuation.f90.tags',
175 'ctags/func_typedef.h.tags',
176 'ctags/geany.nsi.tags',
177 'ctags/general.cs.tags',
178 'ctags/hex2dec.sql.tags',
179 'ctags/implied_program.f.tags',
180 'ctags/indexer.cs.tags',
181 'ctags/infinite_loop.java.tags',
182 'ctags/ingres_procedures.sql.tags',
183 'ctags/initialization.f90.tags',
184 'ctags/interface_indexers.cs.tags',
185 'ctags/interface_properties.cs.tags',
186 'ctags/interfaces.f90.tags',
187 'ctags/internal.cs.tags',
188 'ctags/intro_orig.tex.tags',
189 'ctags/intro.tex.tags',
190 'ctags/invalid_name.f90.tags',
191 'ctags/java_enum.java.tags',
192 'ctags/js-broken-strings.js.tags',
193 'ctags/js-class-related-unterminated.js.tags',
194 'ctags/js-const.js.tags',
195 'ctags/js-implicit-semicolons.js.tags',
196 'ctags/js-let.js.tags',
197 'ctags/js-scope.js.tags',
198 'ctags/js-signature.js.tags',
199 'ctags/js-string-continuation.js.tags',
200 'ctags/js-sub-block-scope.js.tags',
201 'ctags/js-unknown-construct-nesting.js.tags',
202 'ctags/julia-corner_cases.jl.tags',
203 'ctags/jsFunc_tutorial.js.tags',
204 'ctags/keyword_abstract.cs.tags',
205 'ctags/keyword_catch_try.cs.tags',
206 'ctags/keyword_class.cs.tags',
207 'ctags/keyword_const.cs.tags',
208 'ctags/keyword_delegate.cs.tags',
209 'ctags/keyword_enum.cs.tags',
210 'ctags/keyword_event.cs.tags',
211 'ctags/keyword_explicit.cs.tags',
212 'ctags/keyword_extern.cs.tags',
213 'ctags/keyword_implicit.cs.tags',
214 'ctags/keyword_interface.cs.tags',
215 'ctags/keyword_namespace.cs.tags',
216 'ctags/keyword_names.f90.tags',
217 'ctags/keyword_out.cs.tags',
218 'ctags/keyword_override.cs.tags',
219 'ctags/keyword_params.cs.tags',
220 'ctags/keyword_private.cs.tags',
221 'ctags/keyword_protected.cs.tags',
222 'ctags/keyword_public.cs.tags',
223 'ctags/keyword_sealed.cs.tags',
224 'ctags/keyword_static.cs.tags',
225 'ctags/keyword_struct.cs.tags',
226 'ctags/keyword_virtual.cs.tags',
227 'ctags/keyword_volatile.cs.tags',
228 'ctags/labels.sql.tags',
229 'ctags/lanus.for.tags',
230 'ctags/line_directives.c.tags',
231 'ctags/local.c.tags',
232 'ctags/macros.c.tags',
233 'ctags/make-comment-in-rule.mak.tags',
234 'ctags/make-gnumake-pattern-rules.mak.tags',
235 'ctags/make-multi-target.mak.tags',
236 'ctags/make-parentheses.mak.tags',
237 'ctags/make-target-with-parentheses.mak.tags',
238 'ctags/make-variable-on-cmdline.mak.tags',
239 'ctags/masm.asm.tags',
240 'ctags/matlab_backtracking.m.tags',
241 'ctags/matlab_test.m.tags',
242 'ctags/maze.erl.tags',
243 'ctags/members.f90.tags',
244 'ctags/misc_types.f90.tags',
245 'ctags/misc_types.f.tags',
246 'ctags/mode.php.tags',
247 'ctags/moniker.x68.asm.tags',
248 'ctags/namelist.f.tags',
249 'ctags/namespace.cpp.tags',
250 'ctags/namespaces2.php.tags',
251 'ctags/namespaces.php.tags',
252 'ctags/no_terminator.js.tags',
253 'ctags/non-ascii-ident1.php.tags',
254 'ctags/numlib.f90.tags',
255 'ctags/objectivec_implementation.mm.tags',
256 'ctags/objectivec_interface.mm.tags',
257 'ctags/objectivec_property.mm.tags',
258 'ctags/objectivec_protocol.mm.tags',
259 'ctags/Package.pm.tags',
260 'ctags/php5_5_class_kw.php.tags',
261 'ctags/parenthesis-rvalue.js.tags',
262 'ctags/preprocessor.f90.tags',
263 'ctags/procedure_pointer_module.f90.tags',
264 'ctags/procpoint.f90.tags',
265 'ctags/property.cs.tags',
266 'ctags/prototype.h.tags',
267 'ctags/pure_elem.f95.tags',
268 'ctags/py_constructor_arglist.py.tags',
269 'ctags/py-skipped-string.py.tags',
270 'ctags/python-anonymous-nestlevel_ctags-bug-356.py.tags',
271 'ctags/python-comments.py.tags',
272 'ctags/qualified_types.f90.tags',
273 'ctags/random.sql.tags',
274 'ctags/readlob.sql.tags',
275 'ctags/readlong.sql.tags',
276 'ctags/recursive.f95.tags',
277 'ctags/refcurs.sql.tags',
278 'ctags/regexp.js.tags',
279 'ctags/return-hint.zep.tags',
280 'ctags/return-types.go.tags',
281 'ctags/ruby-block-call.rb.tags',
282 'ctags/ruby-doc.rb.tags',
283 'ctags/ruby-namespaced-class.rb.tags',
284 'ctags/ruby-scope-after-anonymous-class.rb.tags',
285 'ctags/ruby-sf-bug-364.rb.tags',
286 'ctags/rules.t2t.tags',
287 'ctags/sample.t2t.tags',
288 'ctags/secondary_fcn_name.js.tags',
289 'ctags/semicolon.f90.tags',
290 'ctags/shebang.js.tags',
291 'ctags/signature.cpp.tags',
292 'ctags/simple.abc.tags',
293 'ctags/simple.asciidoc.tags',
294 'ctags/simple.au3.tags',
295 'ctags/simple.bas.tags',
296 'ctags/simple.bat.tags',
297 'ctags/simple.clj.tags',
298 'ctags/simple.conf.tags',
299 'ctags/simple.d.tags',
300 'ctags/simple.diff.tags',
301 'ctags/simple.docbook.tags',
302 'ctags/simple.hs.tags',
303 'ctags/simple.hx.tags',
304 'ctags/simple.html.tags',
305 'ctags/simple.inp.tags',
306 'ctags/simple.js.tags',
307 'ctags/simple.json.tags',
308 'ctags/simple.ksh.tags',
309 'ctags/simple.lisp.tags',
310 'ctags/simple.lua.tags',
311 'ctags/simple.mak.tags',
312 'ctags/simple.md.tags',
313 'ctags/simple.php.tags',
314 'ctags/simple.pl.tags',
315 'ctags/simple.ps1.tags',
316 'ctags/simple.py.tags',
317 'ctags/simple.rb.tags',
318 'ctags/simple.rst.tags',
319 'ctags/simple.sh.tags',
320 'ctags/simple.tcl.tags',
321 'ctags/simple.ts.tags',
322 'ctags/simple.vala.tags',
323 'ctags/simple.zep.tags',
324 'ctags/size_t_wchar_t_alias.d.tags',
325 'ctags/size_t_wchar_t_typedef.c.tags',
326 'ctags/spurious_label_tags.c.tags',
327 'ctags/sql_single_quote.sql.tags',
328 'ctags/square_parens.f90.tags',
329 'ctags/state_machine.v.tags',
330 'ctags/static_array.c.tags',
331 'ctags/stdcall.f.tags',
332 'ctags/strings.php.tags',
333 'ctags/strings.rb.tags',
334 'ctags/structure.f.tags',
335 'ctags/tabindent.py.tags',
336 'ctags/test.erl.tags',
337 'ctags/test.go.tags',
338 'ctags/test.py.tags',
339 'ctags/test_input.rs.tags',
340 'ctags/test_input2.rs.tags',
341 'ctags/titles.t2t.tags',
342 'ctags/traffic_signal.v.tags',
343 'ctags/traits.php.tags',
344 'ctags/ui5.controller.js.tags',
345 'ctags/union.f.tags',
346 'ctags/value.f.tags',
347 'ctags/var-and-return-type.cpp.tags',
348 'ctags/vhdl-component.vhd.tags',
349 'ctags/vhdl-local.vhd.tags',
350 'ctags/vhdl-port.vhd.tags',
351 'ctags/vhdl-process.vhd.tags',
352 'ctags/vhdl-type.vhd.tags',
353 'ctags/whitespaces.php.tags'
356 runner = find_program('ctags/runner.sh')
357 foreach t : ctags_tests
358 test('@0@'.format(t), runner,
359 args: [join_paths(meson.build_root(), 'geany'), t],
360 env: ['top_srcdir='+meson.source_root(), 'top_builddir=' + meson.build_root()])
363 process_order_sources = files([
364 'ctags/process_order.c.tags',
365 'ctags/process_order_1.h',
366 'ctags/process_order_2.h'
368 test('ctags/processing-order', runner,
369 args: [join_paths(meson.build_root(), 'geany'), '--result', process_order_sources],
370 env: ['top_srcdir='+meson.source_root(), 'top_builddir='+meson.build_root()])
371 test('utils', executable('test_utils', 'test_utils.c', dependencies: test_deps))
372 test('sidebar', executable('test_sidebar', 'test_sidebar.c', dependencies: test_deps))