File: meson.build

package info (click to toggle)
criterion 2.3.3git1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 3,832 kB
  • sloc: ansic: 17,852; cpp: 795; python: 72; sh: 27; makefile: 23
file content (23 lines) | stat: -rw-r--r-- 450 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
unit_test_sources = files(
	'ordered-set.c',
	'path.c',
)

if get_option('theories').enabled()
    unit_test_sources += files('asprintf.c')
endif

#if has_cxx
#	unit_test_sources += files(
#		'alloc.cc',
#		'redirect.cc',
#	)
#endif

unit_tests = executable('unit_tests', unit_test_sources,
		include_directories: [criterion_includedir],
		link_with: libcriterion.get_static_lib())
test('unit tests',
	unit_tests,
	args: ['--tap'],
	protocol: 'tap')