summaryrefslogtreecommitdiffstats
path: root/chrome/telemetry_unittests.isolate
diff options
context:
space:
mode:
authornednguyen <nednguyen@google.com>2015-11-18 07:52:46 -0800
committerCommit bot <commit-bot@chromium.org>2015-11-18 15:54:23 +0000
commit8365ba55e91e8e82a3c47ea997f5ba940a880be5 (patch)
tree7cc85f561af9660ca0061586e12bb0854b1f2efe /chrome/telemetry_unittests.isolate
parentce24c28c3bf8f683bf6eb086e5d3802b7630a249 (diff)
downloadchromium_src-8365ba55e91e8e82a3c47ea997f5ba940a880be5.zip
chromium_src-8365ba55e91e8e82a3c47ea997f5ba940a880be5.tar.gz
chromium_src-8365ba55e91e8e82a3c47ea997f5ba940a880be5.tar.bz2
Isolate + swarm telemetry_unittest on all platforms
@dtu for changes to tools/telemetry/telemetry/internal/util/find_dependencies.py & bootstrap_deps files. These changes are due to the fact that boot_strap module in telemetry making assumption about chromium directory containing "src/" folder which isn't true in the context of isolated testing. Since telemetry_dependencies_unittest.py uses find_dependencies for checking that telemetry doesn't contain extra python module deps, those changes are included to make telemetry_unittests passing. BUG=507796 Review URL: https://codereview.chromium.org/1423033010 Cr-Commit-Position: refs/heads/master@{#360336}
Diffstat (limited to 'chrome/telemetry_unittests.isolate')
-rw-r--r--chrome/telemetry_unittests.isolate28
1 files changed, 28 insertions, 0 deletions
diff --git a/chrome/telemetry_unittests.isolate b/chrome/telemetry_unittests.isolate
new file mode 100644
index 0000000..f91ea69
--- /dev/null
+++ b/chrome/telemetry_unittests.isolate
@@ -0,0 +1,28 @@
+# 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.
+{
+ 'includes': [
+ '../tools/perf/chrome_telemetry_build/telemetry_chrome_test.isolate',
+ ],
+ 'conditions': [
+ ['OS=="mac" or OS=="win"', {
+ 'variables': {
+ 'files': [
+ # Other dependencies of the tests and their harness.
+ '../testing/test_env.py',
+ '../testing/xvfb.py',
+ '../testing/scripts/common.py',
+ '../testing/scripts/run_telemetry_as_googletest.py',
+ ],
+ 'command': [
+ '../testing/scripts/run_telemetry_as_googletest.py',
+ '../tools/telemetry/run_tests',
+ '-v',
+ '--chrome-root',
+ '..'
+ ],
+ },
+ }],
+ ]
+}