unit-test: clang tools 6.0 -> 8
Change-Id: I80be4738f012423e94686e0442055e54fd84a807
Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/scripts/unit-test.py b/scripts/unit-test.py
index 5ee94ec..01514b7 100755
--- a/scripts/unit-test.py
+++ b/scripts/unit-test.py
@@ -809,11 +809,11 @@
# Run clang-tidy only if the project has a configuration
if os.path.isfile('.clang-tidy'):
- check_call_cmd('run-clang-tidy-6.0.py', '-p',
+ check_call_cmd('run-clang-tidy-8.py', '-p',
'build')
# Run the basic clang static analyzer otherwise
else:
- os.environ['SCANBUILD'] = 'scan-build-6.0'
+ os.environ['SCANBUILD'] = 'scan-build-8'
check_call_cmd('ninja', '-C', 'build',
'scan-build')
@@ -875,7 +875,7 @@
maybe_make_coverage()
run_cppcheck()
if os.path.isfile('.clang-tidy'):
- check_call_cmd('run-clang-tidy-6.0.py', '-p', '.')
+ check_call_cmd('run-clang-tidy-8.py', '-p', '.')
else:
print "Not a supported repo for CI Tests, exit"