File: meson.build

package info (click to toggle)
btllib 1.7.5%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,336 kB
  • sloc: cpp: 79,742; python: 941; sh: 302; makefile: 5
file content (29 lines) | stat: -rw-r--r-- 689 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
if not samtools.found()
  error('tests require samtools to be installed.')
endif

if not gzip.found()
  error('tests require gzip to be installed.')
endif

if not xz.found()
  error('tests require xz to be installed.')
endif

if not bzip2.found()
  error('tests require bzip2 to be installed.')
endif

if not tar.found()
  error('tests require tar to be installed.')
endif

tests_files = run_command('../scripts/get-tests').stdout().strip().split()

foreach file : tests_files
    t = file.split('.cpp')[0].split('.cxx')[0].split('/')[-1]
    test(t, executable(t + '_test', file,
        include_directories : btllib_include,
        dependencies : deps + [ btllib_dep ])
    )
endforeach