disable this test on NoGPU bots
authorMike Klein <mtklein@chromium.org>
Thu, 13 Apr 2017 16:24:53 +0000 (12:24 -0400)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Thu, 13 Apr 2017 17:05:37 +0000 (17:05 +0000)
It fails at line 336:
  REPORTER_ASSERT(reporter, configs[i]->getBackend().equals(expectedConfigs[i].backend));

Change-Id: Iab71162b9d7b5454d200cb373026992eac92adf8
Reviewed-on: https://skia-review.googlesource.com/13406
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Mike Klein <mtklein@chromium.org>

tests/TestConfigParsing.cpp

index 7dfda4f424c940fd4945b98a8acbf6178d0f7132..f9ac9318f27139d6755c5ea3a82fb58153140a6f 100644 (file)
@@ -314,6 +314,8 @@ DEF_TEST(ParseConfigs_ExtendedGpuConfigsSurprises, reporter) {
 #endif
     }
 }
+
+#if SK_SUPPORT_GPU
 DEF_TEST(ParseConfigs_ViaParsing, reporter) {
     SkCommandLineFlags::StringArray config1 = make_string_array({
         "a-b-c-8888",
@@ -344,6 +346,7 @@ DEF_TEST(ParseConfigs_ViaParsing, reporter) {
         }
     }
 }
+#endif
 
 DEF_TEST(ParseConfigs_ViaParsingExtendedForm, reporter) {
     SkCommandLineFlags::StringArray config1 = make_string_array({