Skip to content

Commit

Permalink
meson.build: use 'gtest' protocol for unit tests
Browse files Browse the repository at this point in the history
this gives better output on failures
  • Loading branch information
falconindy committed Aug 16, 2020
1 parent 22e40de commit 8f4857d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion meson.build
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
project('auracle', 'cpp',
version : '0',
license : 'MIT',
meson_version : '>=0.50',
meson_version : '>=0.55',
default_options : [
'cpp_std=c++17',
'warning_level=2',
Expand Down Expand Up @@ -148,6 +148,7 @@ test(
src/aur/response_test.cc
'''.split()),
dependencies : [abseil, gtest, gmock, libaur]),
protocol : 'gtest',
suite : 'libaur')

test(
Expand All @@ -163,6 +164,7 @@ test(
src/auracle/sort_test.cc
'''.split()),
dependencies : [abseil, gtest, gmock, libauracle]),
protocol : 'gtest',
suite : 'libauracle')

# integration tests
Expand Down

0 comments on commit 8f4857d

Please sign in to comment.