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

Unified Diff: content/test/gpu/gpu_test_expectations_parser.cc

Issue 10833003: Add support for android in gpu test expections parser (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Add 2 whitespaces Created 8 years, 5 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: content/test/gpu/gpu_test_expectations_parser.cc
diff --git a/content/test/gpu/gpu_test_expectations_parser.cc b/content/test/gpu/gpu_test_expectations_parser.cc
index bc14b72473c7d9b70b7c2a02af823aef48ccd58e..8caedc74ee078dba8ef35d063b110a5f02e568c4 100644
--- a/content/test/gpu/gpu_test_expectations_parser.cc
+++ b/content/test/gpu/gpu_test_expectations_parser.cc
@@ -37,6 +37,7 @@ enum Token {
kConfigMac,
kConfigLinux,
kConfigChromeOS,
+ kConfigAndroid,
// gpu vendor
kConfigNVidia,
kConfigAMD,
@@ -79,6 +80,7 @@ const TokenInfo kTokenData[] = {
{ "mac", GPUTestConfig::kOsMac },
{ "linux", GPUTestConfig::kOsLinux },
{ "chromeos", GPUTestConfig::kOsChromeOS },
+ { "android", GPUTestConfig::kOsAndroid },
{ "nvidia", 0x10DE },
{ "amd", 0x1002 },
{ "intel", 0x8086 },
@@ -234,6 +236,7 @@ bool GPUTestExpectationsParser::ParseConfig(
case kConfigMac:
case kConfigLinux:
case kConfigChromeOS:
+ case kConfigAndroid:
case kConfigNVidia:
case kConfigAMD:
case kConfigIntel:
@@ -281,6 +284,7 @@ bool GPUTestExpectationsParser::ParseLine(
case kConfigMac:
case kConfigLinux:
case kConfigChromeOS:
+ case kConfigAndroid:
case kConfigNVidia:
case kConfigAMD:
case kConfigIntel:
@@ -391,6 +395,7 @@ bool GPUTestExpectationsParser::UpdateTestConfig(
case kConfigMac:
case kConfigLinux:
case kConfigChromeOS:
+ case kConfigAndroid:
if ((config->os() & kTokenData[token].flag) != 0) {
PushErrorMessage(kErrorMessage[kErrorEntryWithOsConflicts],
line_number);
« no previous file with comments | « build/android/gtest_filter/content_unittests_disabled ('k') | content/test/gpu/gpu_test_expectations_parser_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698