From fe9fc8817ba83b4876b4b92be403bd7c9fcf13d3 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Wed, 29 Jan 2025 23:15:36 +1100 Subject: [PATCH] autotest: correct python used for clang-scan-build --- Tools/autotest/autotest.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Tools/autotest/autotest.py b/Tools/autotest/autotest.py index 59efbb3def..0596176e21 100755 --- a/Tools/autotest/autotest.py +++ b/Tools/autotest/autotest.py @@ -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