diff options
author | leilei <leilei@chromium.org> | 2014-08-30 02:51:01 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-08-30 09:52:48 +0000 |
commit | d90ba4c4e4ddf5c4cbb6cf812c9571d628e30567 (patch) | |
tree | 142d6597aeb09b0005954ef1beac25d6d37dec9c /testing | |
parent | 718f8767f9e752ec1a14690617e589ba26c34c1d (diff) | |
download | chromium_src-d90ba4c4e4ddf5c4cbb6cf812c9571d628e30567.zip chromium_src-d90ba4c4e4ddf5c4cbb6cf812c9571d628e30567.tar.gz chromium_src-d90ba4c4e4ddf5c4cbb6cf812c9571d628e30567.tar.bz2 |
Swarming configuration files for chromoting integration tests.
BUG=
Review URL: https://codereview.chromium.org/498373003
Cr-Commit-Position: refs/heads/master@{#292785}
Diffstat (limited to 'testing')
-rw-r--r-- | testing/chromoting/chromoting_integration_tests.isolate | 63 | ||||
-rw-r--r-- | testing/chromoting/integration_test.gyp | 27 |
2 files changed, 90 insertions, 0 deletions
diff --git a/testing/chromoting/chromoting_integration_tests.isolate b/testing/chromoting/chromoting_integration_tests.isolate new file mode 100644 index 0000000..92dfb74 --- /dev/null +++ b/testing/chromoting/chromoting_integration_tests.isolate @@ -0,0 +1,63 @@ +# Copyright (c) 2014 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"', { + 'variables': { + 'command': [ + '../xvfb.py', + '<(PRODUCT_DIR)', + '<(PRODUCT_DIR)/browser_tests<(EXECUTABLE_SUFFIX)', + '--gtest_filter=RemoteDesktopBrowserTest.MANUAL_Launch', + '--run-manual', + '--ui-test-action-timeout=100000', + '--webapp-unpacked=<(PRODUCT_DIR)/remoting/remoting.webapp', + '--extension-name=Chromoting', + ], + 'isolate_dependency_tracked': [ + '../xvfb.py', + '<(PRODUCT_DIR)/libffmpegsumo.so', + '<(PRODUCT_DIR)/libosmesa.so', + '<(PRODUCT_DIR)/nacl_irt_x86_64.nexe', + '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)', + ], + }, + }], + ['OS=="linux" or OS=="mac" or OS=="win"', { + 'variables': { + 'isolate_dependency_tracked': [ + '../test_env.py', + '<(PRODUCT_DIR)/browser_tests<(EXECUTABLE_SUFFIX)', + '<(PRODUCT_DIR)/remoting/remoting.webapp/', + '<(PRODUCT_DIR)/resources.pak', + ], + 'read_only': 1, + }, + }], + ['OS=="linux" or OS=="win"', { + 'variables': { + 'isolate_dependency_tracked': [ + '<(PRODUCT_DIR)/chrome_100_percent.pak', + '<(PRODUCT_DIR)/locales/en-US.pak', + ], + }, + }], + ['OS=="mac" or OS=="win"', { + 'variables': { + 'command': [ + '../testing/test_env.py', + '<(PRODUCT_DIR)/browser_tests<(EXECUTABLE_SUFFIX)', + '--gtest_filter=RemoteDesktopBrowserTest.MANUAL_Launch', + '--run-manual', + '--ui-test-action-timeout=100000', + '--webapp-unpacked=<(PRODUCT_DIR)/remoting/remoting.webapp', + '--extension-name=Chromoting', + ], + }, + }], + ], + 'includes': [ + '../../base/base.isolate', + ], +} diff --git a/testing/chromoting/integration_test.gyp b/testing/chromoting/integration_test.gyp new file mode 100644 index 0000000..4db4406 --- /dev/null +++ b/testing/chromoting/integration_test.gyp @@ -0,0 +1,27 @@ +# Copyright (c) 2014 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': [ + ['test_isolation_mode != "noop"', { + 'targets': [ + { + 'target_name': 'chromoting_integration_tests_run', + 'type': 'none', + 'dependencies': [ + '../../chrome/chrome.gyp:browser_tests', + '../../remoting/remoting.gyp:remoting_webapp_v1', + ], + 'includes': [ + '../../build/isolate.gypi', + 'chromoting_integration_tests.isolate', + ], + 'sources': [ + 'chromoting_integration_tests.isolate', + ], + }, + ], + }], + ], +} |