mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-03-01 03:04:04 -04:00
autotest: correct python used for clang-scan-build
This commit is contained in:
parent
99aff5f0cf
commit
fe9fc8817b
@ -154,17 +154,17 @@ def run_unit_tests():
|
||||
|
||||
def run_clang_scan_build():
|
||||
"""Run Clang Scan-build utility."""
|
||||
if util.run_cmd("scan-build python waf configure",
|
||||
if util.run_cmd("scan-build python3 waf configure",
|
||||
directory=util.reltopdir('.')) != 0:
|
||||
print("Failed scan-build-configure")
|
||||
return False
|
||||
|
||||
if util.run_cmd("scan-build python waf clean",
|
||||
if util.run_cmd("scan-build python3 waf clean",
|
||||
directory=util.reltopdir('.')) != 0:
|
||||
print("Failed scan-build-clean")
|
||||
return False
|
||||
|
||||
if util.run_cmd("scan-build python waf build",
|
||||
if util.run_cmd("scan-build python3 waf build",
|
||||
directory=util.reltopdir('.')) != 0:
|
||||
print("Failed scan-build-build")
|
||||
return False
|
||||
|
Loading…
Reference in New Issue
Block a user