Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
A
angle
  • Project
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Chen Yisong
  • angle
  • Repository

Switch branch/tag
  • angle
  • src
  • tests
  • test_utils
  • angle_test_instantiate.cpp
Find file
BlameHistoryPermalink
  • David Benjamin's avatar
    Fix potential indexing into an empty vector in ANGLE tests · 351307eb
    David Benjamin authored Dec 10, 2019
    The tests are failing after "Warning: incomplete system info collection"
    which suggests systemInfo.gpus is empty. Check for that before indexing
    into the vector; defaulting the active index to zero in
    https://chromium-review.googlesource.com/c/angle/angle/+/1925031 was not
    sufficient and the line still needs a bounds check.
    
    Bug: chromium:923166, chromium:1032552
    Change-Id: Ic9716830403e0dfcfa5d11539537c2a39e0e2386
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1959488Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarIan Elliott <ianelliott@google.com>
    Commit-Queue: Jamie Madill <jmadill@chromium.org>
    Commit-Queue: Ian Elliott <ianelliott@google.com>
    351307eb
angle_test_instantiate.cpp 14.9 KB
EditWeb IDE
×

Replace angle_test_instantiate.cpp

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.