VR: Make unit tests fast again
Change RunFor() to execute a near-future frame, and a frame at the final time if needed. If we ever actually need all the intermedate frames, the tests that need those frames should simulate them. Our UI should generally never need this. BUG= R=vollick Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_vr;master.tryserver.chromium.win:win_optional_gpu_tests_rel Change-Id: Idf87a0fd524b6a6dcce06382cab96670a4f1e2dd Reviewed-on: https://chromium-review.googlesource.com/986619Reviewed-by:Ian Vollick <vollick@chromium.org> Commit-Queue: Christopher Grant <cjgrant@chromium.org> Cr-Commit-Position: refs/heads/master@{#547713}
Showing
Please register or sign in to comment