e25a3aede0
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> |
||
---|---|---|
.. | ||
common | ||
dawn | ||
dawn_native | ||
dawn_platform/tracing | ||
dawn_wire | ||
fuzzers | ||
include | ||
tests | ||
utils |