summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-16 18:43:49 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-16 18:43:49 +0000
commit1b4a0b4f5d4158891ab280196745dd91d356d039 (patch)
tree44659486b68d2b1a0718057c801f6e3f0d2b1cfa /chrome
parent4f5f5b4569383133679901212efac1326e4be1e1 (diff)
downloadchromium_src-1b4a0b4f5d4158891ab280196745dd91d356d039.zip
chromium_src-1b4a0b4f5d4158891ab280196745dd91d356d039.tar.gz
chromium_src-1b4a0b4f5d4158891ab280196745dd91d356d039.tar.bz2
Linux: Fix test crash expectations for MetricsServiceTest.CrashRenderers.
BUG=none TEST=MetricsServiceTest.CrashRenderers passes on Linux with and without breakpad. Review URL: http://codereview.chromium.org/1010001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41738 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/metrics/metrics_service_uitest.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/metrics/metrics_service_uitest.cc b/chrome/browser/metrics/metrics_service_uitest.cc
index 9ae51eb..7465e17 100644
--- a/chrome/browser/metrics/metrics_service_uitest.cc
+++ b/chrome/browser/metrics/metrics_service_uitest.cc
@@ -93,8 +93,9 @@ TEST_F(MetricsServiceTest, CrashRenderers) {
scoped_refptr<TabProxy> tab(window->GetTab(1));
ASSERT_TRUE(tab.get());
-// Only windows implements the crash service for now.
-#if defined(OS_WIN)
+// We should get a crash dump on Windows.
+// Also on Linux with Breakpad enabled.
+#if defined(OS_WIN) || defined(USE_LINUX_BREAKPAD)
expected_crashes_ = 1;
#endif
ASSERT_TRUE(tab->NavigateToURLAsync(GURL("about:crash")));