diff options
author | scottmg <scottmg@chromium.org> | 2015-01-26 18:40:36 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-01-27 02:41:48 +0000 |
commit | 2e25142f0a30638f60219d90bcc87784ae0c4c4d (patch) | |
tree | 4a36bbd0067eabb00d65f70d557ceaf595c547db | |
parent | fbd033399d9beaa6a5b1abccba920baf7e52b1a5 (diff) | |
download | chromium_src-2e25142f0a30638f60219d90bcc87784ae0c4c4d.zip chromium_src-2e25142f0a30638f60219d90bcc87784ae0c4c4d.tar.gz chromium_src-2e25142f0a30638f60219d90bcc87784ae0c4c4d.tar.bz2 |
Isolate extensions_browsertests
R=maruel@chromium.org, yoz@chromium.org
TBR=jam@chromium.org
BUG=98637
Committed: https://crrev.com/d1caf97fe8db47e5c76043bccbf4dd4a42265831
Cr-Commit-Position: refs/heads/master@{#312993}
Review URL: https://codereview.chromium.org/869783004
Cr-Commit-Position: refs/heads/master@{#313209}
-rw-r--r-- | extensions/extensions_browsertests.isolate | 69 | ||||
-rw-r--r-- | extensions/extensions_tests.gyp | 19 | ||||
-rw-r--r-- | testing/buildbot/chromium.chromiumos.json | 21 | ||||
-rw-r--r-- | testing/buildbot/chromium.linux.json | 21 | ||||
-rw-r--r-- | testing/buildbot/chromium.webkit.json | 14 | ||||
-rw-r--r-- | testing/buildbot/chromium.win.json | 35 | ||||
-rw-r--r-- | testing/buildbot/chromium_trybot.json | 5 |
7 files changed, 170 insertions, 14 deletions
diff --git a/extensions/extensions_browsertests.isolate b/extensions/extensions_browsertests.isolate new file mode 100644 index 0000000..f0381c0 --- /dev/null +++ b/extensions/extensions_browsertests.isolate @@ -0,0 +1,69 @@ +# Copyright 2015 The Chromium Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. +{ + 'conditions': [ + ['OS=="linux" or OS=="mac" or OS=="win"', { + 'variables': { + 'files': [ + '../net/data/', + '../net/tools/testserver/', + '../testing/test_env.py', + '../third_party/pyftpdlib/', + '../third_party/pywebsocket/', + '../third_party/tlslite/', + '<(PRODUCT_DIR)/extensions_browsertests<(EXECUTABLE_SUFFIX)', + '<(PRODUCT_DIR)/extensions_shell_and_test.pak', + 'test/data/', + ], + }, + }], + ['OS=="linux"', { + 'variables': { + 'command': [ + '../testing/xvfb.py', + '<(PRODUCT_DIR)', + '<(PRODUCT_DIR)/extensions_browsertests<(EXECUTABLE_SUFFIX)', + '--brave-new-test-launcher', + '--test-launcher-bot-mode', + '--asan=<(asan)', + '--lsan=<(lsan)', + ], + 'files': [ + '../testing/xvfb.py', + '<(PRODUCT_DIR)/libosmesa.so', + ], + }, + }], + ['OS=="linux" and use_ozone==0', { + 'variables': { + 'files': [ + '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)', + ], + }, + }], + ['OS=="mac" or OS=="win"', { + 'variables': { + 'command': [ + '../testing/test_env.py', + '<(PRODUCT_DIR)/extensions_browsertests<(EXECUTABLE_SUFFIX)', + '--brave-new-test-launcher', + '--test-launcher-bot-mode', + '--asan=<(asan)', + '--lsan=<(lsan)', + ], + }, + }], + ['OS=="win" and target_arch=="ia32"', { + 'variables': { + 'files': [ + '<(PRODUCT_DIR)/wow_helper.exe', + ], + }, + }], + ], + 'includes': [ + '../base/base.isolate', + '../gin/v8.isolate', + ], +} diff --git a/extensions/extensions_tests.gyp b/extensions/extensions_tests.gyp index aa5ad0e..0f47938 100644 --- a/extensions/extensions_tests.gyp +++ b/extensions/extensions_tests.gyp @@ -230,4 +230,23 @@ ] }, ], + 'conditions': [ + ['test_isolation_mode != "noop"', { + 'targets': [ + { + 'target_name': 'extensions_browsertests_run', + 'type': 'none', + 'dependencies': [ + 'extensions_browsertests', + ], + 'includes': [ + '../build/isolate.gypi', + ], + 'sources': [ + 'extensions_browsertests.isolate', + ], + }, + ], + }], + ], } diff --git a/testing/buildbot/chromium.chromiumos.json b/testing/buildbot/chromium.chromiumos.json index 4ed436c..8f106b7 100644 --- a/testing/buildbot/chromium.chromiumos.json +++ b/testing/buildbot/chromium.chromiumos.json @@ -88,7 +88,12 @@ "nacl_loader_unittests", "app_shell_unittests", "chromevox_tests", - "extensions_browsertests", + { + "test": "extensions_browsertests", + "swarming": { + "can_use_on_swarming_builders": true + } + }, "skia_unittests" ] }, @@ -117,7 +122,12 @@ "device_unittests", "display_unittests", "events_unittests", - "extensions_browsertests", + { + "test": "extensions_browsertests", + "swarming": { + "can_use_on_swarming_builders": true + } + }, "extensions_unittests", "gcm_unit_tests", "google_apis_unittests", @@ -247,7 +257,12 @@ "shards": 2 } }, - "extensions_browsertests", + { + "test": "extensions_browsertests", + "swarming": { + "can_use_on_swarming_builders": true + } + }, "gcm_unit_tests", "skia_unittests", { diff --git a/testing/buildbot/chromium.linux.json b/testing/buildbot/chromium.linux.json index d6cdd23..a9d64db 100644 --- a/testing/buildbot/chromium.linux.json +++ b/testing/buildbot/chromium.linux.json @@ -67,7 +67,12 @@ "can_use_on_swarming_builders": true } }, - "extensions_browsertests", + { + "test": "extensions_browsertests", + "swarming": { + "can_use_on_swarming_builders": true + } + }, "extensions_unittests", "gcm_unit_tests", { @@ -235,7 +240,12 @@ "can_use_on_swarming_builders": true } }, - "extensions_browsertests", + { + "test": "extensions_browsertests", + "swarming": { + "can_use_on_swarming_builders": true + } + }, "extensions_unittests", "gcm_unit_tests", { @@ -383,7 +393,12 @@ "can_use_on_swarming_builders": true } }, - "extensions_browsertests", + { + "test": "extensions_browsertests", + "swarming": { + "can_use_on_swarming_builders": true + } + }, "extensions_unittests", "gcm_unit_tests", { diff --git a/testing/buildbot/chromium.webkit.json b/testing/buildbot/chromium.webkit.json index d34d31e..17cc5e9 100644 --- a/testing/buildbot/chromium.webkit.json +++ b/testing/buildbot/chromium.webkit.json @@ -85,7 +85,12 @@ "nacl_loader_unittests", "app_shell_unittests", "chromevox_tests", - "extensions_browsertests", + { + "test": "extensions_browsertests", + "swarming": { + "can_use_on_swarming_builders": true + } + }, "skia_unittests" ] }, @@ -171,7 +176,12 @@ "shards": 2 } }, - "extensions_browsertests", + { + "test": "extensions_browsertests", + "swarming": { + "can_use_on_swarming_builders": true + } + }, "gcm_unit_tests", "skia_unittests", { diff --git a/testing/buildbot/chromium.win.json b/testing/buildbot/chromium.win.json index 319a0f7..232e681 100644 --- a/testing/buildbot/chromium.win.json +++ b/testing/buildbot/chromium.win.json @@ -55,7 +55,12 @@ }, "crypto_unittests", "events_unittests", - "extensions_browsertests", + { + "test": "extensions_browsertests", + "swarming": { + "can_use_on_swarming_builders": true + } + }, "extensions_unittests", "gcm_unit_tests", "gfx_unittests", @@ -179,7 +184,12 @@ } }, "crypto_unittests", - "extensions_browsertests", + { + "test": "extensions_browsertests", + "swarming": { + "can_use_on_swarming_builders": true + } + }, "extensions_unittests", "events_unittests", "gcm_unit_tests", @@ -317,7 +327,12 @@ "crypto_unittests", "device_unittests", "events_unittests", - "extensions_browsertests", + { + "test": "extensions_browsertests", + "swarming": { + "can_use_on_swarming_builders": true + } + }, "extensions_unittests", "gcm_unit_tests", "gfx_unittests", @@ -460,7 +475,12 @@ "crypto_unittests", "device_unittests", "events_unittests", - "extensions_browsertests", + { + "test": "extensions_browsertests", + "swarming": { + "can_use_on_swarming_builders": true + } + }, "extensions_unittests", "gcm_unit_tests", "gfx_unittests", @@ -600,7 +620,12 @@ }, "crypto_unittests", "events_unittests", - "extensions_browsertests", + { + "test": "extensions_browsertests", + "swarming": { + "can_use_on_swarming_builders": true + } + }, "extensions_unittests", "gcm_unit_tests", { diff --git a/testing/buildbot/chromium_trybot.json b/testing/buildbot/chromium_trybot.json index 37a5dda..87b0d23 100644 --- a/testing/buildbot/chromium_trybot.json +++ b/testing/buildbot/chromium_trybot.json @@ -239,7 +239,10 @@ }, { "test": "extensions_browsertests", - "platforms": ["linux", "win"] + "platforms": ["linux", "win"], + "swarming": { + "can_use_on_swarming_builders": true + } }, { "test": "app_shell_unittests", |