Browse Source

Tools: disable Gtest and testing on Gbenchmark build

zr-v5.1
Pierre Kancir 4 years ago committed by Peter Barker
parent
commit
9d9cf2501a
  1. 5
      Tools/ardupilotwaf/gbenchmark.py

5
Tools/ardupilotwaf/gbenchmark.py

@ -47,6 +47,8 @@ def libbenchmark(bld): @@ -47,6 +47,8 @@ def libbenchmark(bld):
cmake_vars=dict(
CMAKE_BUILD_TYPE='Release',
CMAKE_INSTALL_PREFIX=prefix_node.abspath(),
BENCHMARK_ENABLE_GTEST_TESTS='OFF',
BENCHMARK_ENABLE_TESTING='OFF',
),
)
@ -54,9 +56,6 @@ def libbenchmark(bld): @@ -54,9 +56,6 @@ def libbenchmark(bld):
output_paths = (
'lib/libbenchmark.a',
'include/benchmark/benchmark.h',
'include/benchmark/macros.h',
'include/benchmark/benchmark_api.h',
'include/benchmark/reporter.h',
)
outputs = [prefix_node.make_node(path) for path in output_paths]
gbenchmark.build('install', target=outputs)

Loading…
Cancel
Save