File: meson.build

package info (click to toggle)
pbseqlib 5.3.4%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 7,020 kB
  • sloc: cpp: 77,246; python: 331; sh: 103; makefile: 42
file content (47 lines) | stat: -rw-r--r-- 926 bytes parent folder | download
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
35
36
37
38
39
40
41
42
43
44
45
46
47
##################
# Subdirectories #
##################

libblasr_unittest_sources = []
subdir('alignment')
subdir('hdf')
subdir('pbdata')

###########
# Sources #
###########

libblasr_gtest_dep = dependency('gtest', main: true)

libblasr_unittest = executable(
  'libblasr_unittest', [
    libblasr_libconfig_h,
    libblasr_unittest_sources],
  dependencies : [
    libblasr_deps,
    libblasr_gtest_dep],
  include_directories : libblasr_include_directories,
  link_with : libblasr_lib,
  cpp_args : libblasr_warning_flags,
  install : false)

#########
# tests #
#########

test(
  'libblasr formatting check',
  libblasr_clang_formatter,
  args : [
    '--all'],
  workdir : meson.source_root())

test(
  'libblasr gtest unittests',
  libblasr_unittest,
  args : [
    '--gtest_output=xml:' + join_paths(meson.build_root(), 'libblasr-gtest-unittests.xml')],
  env : [
    'ARGS=-V',
    'VERBOSE=1'],
  timeout : 3600)