summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
Diffstat (limited to 'chrome')
-rw-r--r--chrome/test/data/webui/suidsandbox_browsertest.js9
1 files changed, 7 insertions, 2 deletions
diff --git a/chrome/test/data/webui/suidsandbox_browsertest.js b/chrome/test/data/webui/suidsandbox_browsertest.js
index 2f0ab1e..9e9ee8a 100644
--- a/chrome/test/data/webui/suidsandbox_browsertest.js
+++ b/chrome/test/data/webui/suidsandbox_browsertest.js
@@ -20,8 +20,13 @@ SUIDSandboxUITest.prototype = {
// This test is for Linux only.
GEN('#if defined(OS_LINUX)');
-GEN('#define MAYBE_testSUIDSandboxEnabled \\');
-GEN(' testSUIDSandboxEnabled');
+GEN('# if defined(ADDRESS_SANITIZER)');
+GEN('# define MAYBE_testSUIDSandboxEnabled \\');
+GEN(' DISABLED_testSUIDSandboxEnabled');
+GEN('# else');
+GEN('# define MAYBE_testSUIDSandboxEnabled \\');
+GEN(' testSUIDSandboxEnabled');
+GEN('# endif');
GEN('#else');
GEN('#define MAYBE_testSUIDSandboxEnabled \\');
GEN(' DISABLED_testSUIDSandboxEnabled');