dawn-cmake/src
Brian Ho e25a3aede0 Overload stream insertion for DawnTestParam
Passing "--gtest_list_tests" as an argument to the gtest binary lists
the tests in the binary. However, when the test suite is parameterized
(like in the case of dawn_end2end_tests), the output will list the
string name of the parameter along with the test name. Since there is no
stream insertion overload for DawnTestParam, we get this output:

./dawn_end2end_tests --gtest_list_tests
BasicTests.
  BufferSetSubData/OpenGL  # GetParam() = 56-byte object <03-00 00-00 19...
  BufferSetSubData/Vulkan  # GetParam() = 56-byte object <04-00 00-00 19...
  ...

This CL adds an implementation to display the string name of the param
instead.

BUG=chromium:993457
TEST=run ./dawn_end2end_test --gtest_list_tests

Change-Id: Ifae65a9eaf96448341e6ed1894f116f1af1154b7
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/10240
Commit-Queue: Brian Ho <hob@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
2019-08-27 01:44:29 +00:00
..
common Fix NextPowerOfTwo for 64-bit MSVC 2019-08-26 16:50:05 +00:00
dawn Generators: main.py is now dawn_json_generator.py 2019-06-11 18:03:05 +00:00
dawn_native Vulkan: workaround texture-to-texture copy issue with compressed formats 2019-08-27 00:07:09 +00:00
dawn_platform/tracing Trace MTLCommandBuffer acquisition and submission on Metal 2019-08-16 03:02:43 +00:00
dawn_wire MemoryTransferService: Separate functions to serialize and get serialization size 2019-08-09 00:03:20 +00:00
fuzzers Add MemoryTransfer interfaces to the wire 2019-07-19 16:01:48 +00:00
include Add dawn_platform::Platform for handling tracing events in Dawn 2019-08-13 19:00:34 +00:00
tests Overload stream insertion for DawnTestParam 2019-08-27 01:44:29 +00:00
utils Implement RenderBundle in the frontend 2019-08-13 22:12:54 +00:00