Make sure video_capture_tests run sequentially.
Making video_capture_tests have the non_parallel_console_test_launcher type will pass --workers=1 to gtest-parallel, which ensures the tests execute sequentially. This is necessary now that we're accessing a real physical webcam, which is a system-wide resource that doesn't work well if several processes access it concurrently. Follow-ups: 1) get video_capture_test back up on Linux 2) drop sw webcams for Mac and Win 3) remove ensure_webcam_is_running.pu and surrounding machinery Bug: webrtc:9292 Change-Id: I5e3347ad234f6b942de736513075097d79c0fd36 Reviewed-on: https://webrtc-review.googlesource.com/94761 Reviewed-by: Oleh Prypin <oprypin@webrtc.org> Commit-Queue: Patrik Höglund <phoglund@webrtc.org> Cr-Commit-Position: refs/heads/master@{#24325}
This commit is contained in:

committed by
Commit Bot

parent
aea32f9d6a
commit
adc4879909
@ -120,7 +120,8 @@
|
||||
},
|
||||
"video_capture_tests": {
|
||||
"label": "//modules/video_capture:video_capture_tests",
|
||||
"type": "console_test_launcher",
|
||||
"type": "non_parallel_console_test_launcher",
|
||||
# TODO(bugs.webrtc.org/9292): remove use_webcam and the ensure script.
|
||||
"use_webcam": True,
|
||||
},
|
||||
"video_engine_tests": {
|
||||
|
Reference in New Issue
Block a user