summaryrefslogtreecommitdiffstats
path: root/chrome/test/ui/dom_checker_uitest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/test/ui/dom_checker_uitest.cc')
-rw-r--r--chrome/test/ui/dom_checker_uitest.cc10
1 files changed, 9 insertions, 1 deletions
diff --git a/chrome/test/ui/dom_checker_uitest.cc b/chrome/test/ui/dom_checker_uitest.cc
index db28e07..2d5e2db 100644
--- a/chrome/test/ui/dom_checker_uitest.cc
+++ b/chrome/test/ui/dom_checker_uitest.cc
@@ -47,7 +47,15 @@ class DomCheckerTest : public UITest {
ResultsSet expected_failures, current_failures;
std::string failures_file = use_http ?
- "expected_failures-http.txt" : "expected_failures-file.txt";
+#if defined(OS_MACOSX)
+ "expected_failures_mac-http.txt" : "expected_failures_mac-file.txt";
+#elif defined(OS_LINUX)
+ "expected_failures_linux-http.txt" : "expected_failures_linux-file.txt";
+#elif defined(OS_WIN)
+ "expected_failures_win-http.txt" : "expected_failures_win-file.txt";
+#else
+ "" : "";
+#endif
GetExpectedFailures(failures_file, &expected_failures);