Give ComputeSubgroupTest unique name to avoid running tests twice (flutter/engine#40516)

[Impeller] Give ComputeSubgroupTest unique name to avoid running tests twice
This commit is contained in:
Dan Field
2023-03-21 21:28:02 -07:00
committed by GitHub
parent 447cc1fcda
commit b7559f44c2

View File

@@ -29,10 +29,10 @@
namespace impeller {
namespace testing {
using ComputeTest = ComputePlaygroundTest;
INSTANTIATE_COMPUTE_SUITE(ComputeTest);
using ComputeSubgroupTest = ComputePlaygroundTest;
INSTANTIATE_COMPUTE_SUITE(ComputeSubgroupTest);
TEST_P(ComputeTest, HeartCubicsToStrokeVertices) {
TEST_P(ComputeSubgroupTest, HeartCubicsToStrokeVertices) {
using CS = CubicToQuadsComputeShader;
using QS = QuadPolylineComputeShader;
using SS = StrokeComputeShader;
@@ -256,7 +256,7 @@ TEST_P(ComputeTest, HeartCubicsToStrokeVertices) {
ASSERT_TRUE(OpenPlaygroundHere(callback));
}
TEST_P(ComputeTest, QuadsToPolyline) {
TEST_P(ComputeSubgroupTest, QuadsToPolyline) {
using QS = QuadPolylineComputeShader;
auto context = GetContext();
ASSERT_TRUE(context);