Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(164)

Unified Diff: tests/TestConfigParsing.cpp

Issue 2358173002: GN: take over CommandBuffer bot (Closed)
Patch Set: GYP too Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tests/TestConfigParsing.cpp
diff --git a/tests/TestConfigParsing.cpp b/tests/TestConfigParsing.cpp
index d816da48954f4db83c9e3ed00a5569a2f176740c..61775d5ab2b845715d71948fe606b8b405ae3d80 100644
--- a/tests/TestConfigParsing.cpp
+++ b/tests/TestConfigParsing.cpp
@@ -179,11 +179,7 @@ DEF_TEST(ParseConfigs_DefaultConfigs, reporter) {
REPORTER_ASSERT(reporter, !configs[20]->asConfigGpu());
REPORTER_ASSERT(reporter, !configs[21]->asConfigGpu());
#endif
-#if SK_COMMAND_BUFFER
REPORTER_ASSERT(reporter, configs[22]->asConfigGpu());
-#else
- REPORTER_ASSERT(reporter, !configs[22]->asConfigGpu());
-#endif
#if SK_MESA
REPORTER_ASSERT(reporter, configs[23]->asConfigGpu());
#else
@@ -252,13 +248,9 @@ DEF_TEST(ParseConfigs_ExtendedGpuConfigsCorrect, reporter) {
#else
REPORTER_ASSERT(reporter, !configs[3]->asConfigGpu());
#endif
-#if SK_COMMAND_BUFFER
REPORTER_ASSERT(reporter, configs[4]->asConfigGpu()->getContextType() ==
GrContextFactory::kCommandBuffer_ContextType);
-#else
- REPORTER_ASSERT(reporter, !configs[4]->asConfigGpu());
-#endif
REPORTER_ASSERT(reporter, configs[5]->asConfigGpu()->getContextType() ==
GrContextFactory::kNativeGL_ContextType);
REPORTER_ASSERT(reporter, !configs[5]->asConfigGpu()->getUseNVPR());

Powered by Google App Engine
This is Rietveld 408576698