Index: tests/TestConfigParsing.cpp |
diff --git a/tests/TestConfigParsing.cpp b/tests/TestConfigParsing.cpp |
index fb99c72624824ba25fe02b49ceb4482e9a9f695d..6480d6a821168ff9fbbdcf94186eba3fb9e1d9f2 100644 |
--- a/tests/TestConfigParsing.cpp |
+++ b/tests/TestConfigParsing.cpp |
@@ -305,8 +305,12 @@ DEF_TEST(ParseConfigs_ViaParsing, reporter) { |
} expectedConfigs[] = { |
{"8888", {"a", "b", "c"}}, |
{"gpu", {"zz", "qq", nullptr}}, |
- {"angle-gl", {"a", nullptr, nullptr}} // The angle-gl tag is only tag that contains |
- // hyphen. |
+#if SK_ANGLE |
+ { "gpu",{ "a", nullptr, nullptr } } // With SK_ANGLE, angle-gl becomes gpu(api=angle-gl) |
+#else |
+ { "angle-gl",{ "a", nullptr, nullptr } } // The angle-gl tag is only tag that contains |
+ // hyphen. |
+#endif |
}; |
for (int i = 0; i < config1.count(); ++i) { |
REPORTER_ASSERT(reporter, configs[i]->getTag().equals(config1[i])); |