[infra] Run mb validate with python3

Bug: v8:13148
Change-Id: Ia1e3b37012297c6e1e4a7647e913b54669600a37
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3824343
Reviewed-by: Alexander Schulze <alexschulze@chromium.org>
Commit-Queue: Liviu Rau <liviurau@google.com>
Cr-Commit-Position: refs/heads/main@{#82382}
This commit is contained in:
Liviu Rau 2022-08-11 08:59:26 +02:00 committed by V8 LUCI CQ
parent de04959f17
commit 99beb35bd7

View File

@ -20,7 +20,7 @@ def _CommonChecks(input_api, output_api):
'..', 'tools', 'mb', 'mb.py')
mb_config_path = input_api.os_path.join(input_api.PresubmitLocalPath(),
'mb_config.pyl')
cmd = [input_api.python_executable, mb_script, 'validate', '--config-file',
cmd = [input_api.python3_executable, mb_script, 'validate', '--config-file',
mb_config_path]
kwargs = {'cwd': input_api.PresubmitLocalPath()}
results.extend(input_api.RunTests([