Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
S
swiftshader
  • 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
  • swiftshader
  • Repository

Switch branch/tag
  • swiftshader
  • tests
  • unittests
  • SwiftShaderTest.h
Find file
BlameHistoryPermalink
  • Alexis Hetu's avatar
    Adding swiftshader unittests to chromium · 1fb0e50e
    Alexis Hetu authored Jan 10, 2017
    Chromium does not allow any third_party code to depend on base,
    so the main test runner for swiftshader's tests in chromium can't
    live inside the swiftshader repo. To solve this:
    
    1) Added a test environment for swiftshader that will be used
    for testing in chromium. Currently, it is simply empty.
    2) Split unit tests in 2 files, unittests.cpp, which will
    contain the tests ran by both chromium and swiftshader and
    main.cpp, which will be used as the swiftshader test runner,
    but NOT as the chromium test runner (that one will be added
    in chromium at the same time I do the swiftshader update).
    3) The BUILD.gn file was updated to make the chromium version
    of the test depend on base and on the chromium version of the
    swiftshader test runner (swiftshader_tests_main.cc, to be added).
    
    Change-Id: I1128bb482565908bc285dcd6818d90d1d881a50e
    Reviewed-on: https://swiftshader-review.googlesource.com/8409Tested-by: 's avatarAlexis Hétu <sugoi@google.com>
    Reviewed-by: 's avatarNicolas Capens <capn@google.com>
    1fb0e50e
SwiftShaderTest.h 871 Bytes
EditWeb IDE
×

Replace SwiftShaderTest.h

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.