From 59b8a46d3f6a072ae3eba8ab86fdd91c39821ec6 Mon Sep 17 00:00:00 2001 From: Jeremy Leconte Date: Wed, 1 Dec 2021 13:42:44 +0100 Subject: [PATCH] Fix low_bandwidth_audio_test on Windows bots. Bug: b/197492097 Change-Id: I29ae4d699c3c928f9d22da8cf9026c462f3afa7e Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/239540 Reviewed-by: Christoffer Jansson Reviewed-by: Mirko Bonadei Commit-Queue: Jeremy Leconte Cr-Commit-Position: refs/heads/main@{#35452} --- tools_webrtc/mb/mb.py | 3 ++- tools_webrtc/mb/mb_unittest.py | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/tools_webrtc/mb/mb.py b/tools_webrtc/mb/mb.py index 1aae0e972e..5acf31c6ea 100755 --- a/tools_webrtc/mb/mb.py +++ b/tools_webrtc/mb/mb.py @@ -909,7 +909,8 @@ class MetaBuildWrapper(object): must_retry = False if test_type == 'script': - cmdline += ['../../' + + cmdline += [vpython_exe, + '../../' + self.ToSrcRelPath(isolate_map[target]['script'])] elif is_android: cmdline += [vpython_exe, diff --git a/tools_webrtc/mb/mb_unittest.py b/tools_webrtc/mb/mb_unittest.py index 8bb6b566de..0cc2a4dd11 100755 --- a/tools_webrtc/mb/mb_unittest.py +++ b/tools_webrtc/mb/mb_unittest.py @@ -458,6 +458,7 @@ class UnitTest(unittest.TestCase): 'base_unittests', 'base_unittests_script.py', ]) self.assertEqual(command, [ + 'vpython', '../../base/base_unittests_script.py', ])