Commit baab4569 authored by Paul Meyer's avatar Paul Meyer Committed by Commit Bot

Prevent ReportingBrowserTest.CrashReport from running on ASan bots.

This test is meant to crash the render process intentionally, and so
should not be run on ASan bots.

Bug: 900926
Change-Id: I0399dcbccf7974684837ab43c5f00892cce07b0b
Reviewed-on: https://chromium-review.googlesource.com/c/1312979Reviewed-by: default avatarMatt Menke <mmenke@chromium.org>
Commit-Queue: Paul Meyer <paulmeyer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#604638}
parent 3ea41c83
......@@ -175,6 +175,12 @@ IN_PROC_BROWSER_TEST_F(ReportingBrowserTest, TestReportingHeadersProcessed) {
EXPECT_EQ(*expected, *actual);
}
// This test intentionally crashes a render process, and so fails ASan tests.
#if defined(ADDRESS_SANITIZER)
#define MAYBE_CrashReport DISABLED_CrashReport
#else
#define MAYBE_CrashReport CrashReport
#endif
IN_PROC_BROWSER_TEST_F(ReportingBrowserTest, CrashReport) {
content::WebContents* contents =
browser()->tab_strip_model()->GetActiveWebContents();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment