Add .vpython to WebRTC bot isolates.

This ensures that .vpython makes it to our swarm bots. I believe this
will solve a problem where psutil is missing when the catapult devil
forwarder tries to import it.

Our .vpython already specifies psutil as being used by catapult, so
I don't think we need to change anything there.

Bug: None
Change-Id: Iee8a08f22d128bca3fd52f9476604d47efe16652
Reviewed-on: https://webrtc-review.googlesource.com/52940
Reviewed-by: Oleh Prypin <oprypin@webrtc.org>
Commit-Queue: Patrik Höglund <phoglund@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22010}
This commit is contained in:
Patrik Höglund
2018-02-14 08:41:16 +01:00
committed by Commit Bot
parent b8867115a7
commit 91861a5e61
2 changed files with 4 additions and 3 deletions

View File

@ -376,7 +376,7 @@ class UnitTest(unittest.TestCase):
files = isolate_file_contents['variables']['files']
command = isolate_file_contents['variables']['command']
self.assertEqual(files, ['base_unittests'])
self.assertEqual(files, ['../../.vpython', 'base_unittests'])
self.assertEqual(command, [
'../../build/android/test_wrapper/logdog_wrapper.py',
'--target', 'base_unittests',
@ -409,7 +409,7 @@ class UnitTest(unittest.TestCase):
files = isolate_file_contents['variables']['files']
command = isolate_file_contents['variables']['command']
self.assertEqual(files, ['base_unittests'])
self.assertEqual(files, ['../../.vpython', 'base_unittests'])
self.assertEqual(command, [
'../../build/android/test_wrapper/logdog_wrapper.py',
'--target', 'base_unittests',
@ -494,6 +494,7 @@ class UnitTest(unittest.TestCase):
command = isolate_file_contents['variables']['command']
self.assertEqual(files, [
'../../.vpython',
'base_unittests',
'base_unittests_script.py',
])