mirror of https://github.com/ArduPilot/ardupilot
waf: ardupilotwaf: don't use common_features() unnecessarily
That function is already used in ap_program().
This commit is contained in:
parent
8664c0344d
commit
9c5593ef09
|
@ -165,7 +165,7 @@ def ap_find_tests(bld, use=[]):
|
|||
if not bld.env.HAS_GTEST:
|
||||
return
|
||||
|
||||
features = common_features(bld)
|
||||
features = []
|
||||
if bld.cmd == 'check':
|
||||
features.append('test')
|
||||
|
||||
|
@ -197,7 +197,7 @@ def ap_find_benchmarks(bld, use=[]):
|
|||
for f in bld.path.ant_glob(incl='*.cpp'):
|
||||
ap_program(
|
||||
bld,
|
||||
features=common_features(bld) + ['gbenchmark'],
|
||||
features=['gbenchmark'],
|
||||
includes=includes,
|
||||
source=[f],
|
||||
use=use,
|
||||
|
|
Loading…
Reference in New Issue