File: meson.build

package info (click to toggle)
criterion 2.4.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 3,864 kB
  • sloc: ansic: 17,945; cpp: 774; python: 74; makefile: 25; sh: 19
file content (34 lines) | stat: -rw-r--r-- 656 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
full_tests = [
	'exit.c',
	'failmessages.c',
	'flood.c',
	'long-messages.c',
	'other-crashes.c',
	'with-time.c',
]

if get_option('theories').enabled()
	full_tests += ['theories_regression.c']
endif

if has_cxx
	full_tests += [
		'exception.cc',
		'exit.cc',
		'failmessages.cc',
		'long-messages.cc',
		'other-crashes.cc',
	]

	if get_option('theories').enabled()
		full_tests += ['theories_regression.cc']
	endif
endif

foreach tst : full_tests
	e = executable(tst + '.bin', tst,
			include_directories: [criterion_api],
			dependencies: [libm],
			link_with: libcriterion.get_shared_lib())
	test('full / ' + tst, e, args: '--always-succeed')
endforeach