Commit 4b967b8a authored by jam@chromium.org's avatar jam@chromium.org

Update isolate files for content tests and enable swarming for them.

Review URL: https://codereview.chromium.org/401923004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284736 0039d316-1c4b-4281-b951-d872f2087c98
parent 26edd430
...@@ -1264,6 +1264,8 @@ ...@@ -1264,6 +1264,8 @@
# http://crbug.com/157234 # http://crbug.com/157234
#'../chrome/chrome.gyp:sync_integration_tests_run', #'../chrome/chrome.gyp:sync_integration_tests_run',
'../chrome/chrome.gyp:unit_tests_run', '../chrome/chrome.gyp:unit_tests_run',
'../content/content_shell_and_tests.gyp:content_browsertests_run',
'../content/content_shell_and_tests.gyp:content_unittests_run',
'../net/net.gyp:net_unittests_run', '../net/net.gyp:net_unittests_run',
], ],
}, # target_name: chromium_swarm_tests }, # target_name: chromium_swarm_tests
......
...@@ -30,24 +30,24 @@ ...@@ -30,24 +30,24 @@
'isolate_dependency_tracked': [ 'isolate_dependency_tracked': [
'../testing/xvfb.py', '../testing/xvfb.py',
'<(PRODUCT_DIR)/content_shell.pak', '<(PRODUCT_DIR)/content_shell.pak',
'<(PRODUCT_DIR)/fonts.conf',
'<(PRODUCT_DIR)/libclearkeycdm.so',
'<(PRODUCT_DIR)/libclearkeycdmadapter.so',
'<(PRODUCT_DIR)/libffmpegsumo.so', '<(PRODUCT_DIR)/libffmpegsumo.so',
'<(PRODUCT_DIR)/libosmesa.so',
'<(PRODUCT_DIR)/libppapi_tests.so',
'<(PRODUCT_DIR)/plugins/libtest_netscape_plugin.so', '<(PRODUCT_DIR)/plugins/libtest_netscape_plugin.so',
'<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)',
], ],
}, },
}], }],
['OS=="linux" or OS=="mac" or OS=="win"', { ['OS=="linux" or OS=="mac" or OS=="win"', {
'variables': { 'variables': {
'isolate_dependency_tracked': [ 'isolate_dependency_tracked': [
'../ppapi/tests/test_case.html',
'../ppapi/tests/test_page.css',
'../testing/test_env.py', '../testing/test_env.py',
'<(PRODUCT_DIR)/content_browsertests<(EXECUTABLE_SUFFIX)', '<(PRODUCT_DIR)/content_browsertests<(EXECUTABLE_SUFFIX)',
], ],
'isolate_dependency_untracked': [ 'isolate_dependency_untracked': [
'../net/tools/testserver/', '../net/tools/testserver/',
'../third_party/WebKit/Tools/Scripts/',
'../third_party/lighttpd/',
'../third_party/pyftpdlib/', '../third_party/pyftpdlib/',
'../third_party/pywebsocket/', '../third_party/pywebsocket/',
'../third_party/tlslite/', '../third_party/tlslite/',
...@@ -57,14 +57,13 @@ ...@@ -57,14 +57,13 @@
['OS=="mac"', { ['OS=="mac"', {
'variables': { 'variables': {
'isolate_dependency_tracked': [ 'isolate_dependency_tracked': [
'<(PRODUCT_DIR)/clearkeycdmadapter.plugin',
'<(PRODUCT_DIR)/content_resources.pak',
'<(PRODUCT_DIR)/ffmpegsumo.so', '<(PRODUCT_DIR)/ffmpegsumo.so',
'<(PRODUCT_DIR)/plugins/TestNestscapePlugin.plugin', '<(PRODUCT_DIR)/ppapi_tests.plugin/Contents/MacOS/ppapi_tests',
'<(PRODUCT_DIR)/plugins/npapi_test_plugin.plugin',
], ],
'isolate_dependency_untracked': [ 'isolate_dependency_untracked': [
'<(PRODUCT_DIR)/Content Shell.app/', '<(PRODUCT_DIR)/Content Shell.app/',
'<(PRODUCT_DIR)/plugins/npapi_test_plugin.plugin/',
'<(PRODUCT_DIR)/plugins/test_netscape_plugin.plugin/',
], ],
}, },
}], }],
...@@ -80,15 +79,17 @@ ...@@ -80,15 +79,17 @@
['OS=="win"', { ['OS=="win"', {
'variables': { 'variables': {
'isolate_dependency_tracked': [ 'isolate_dependency_tracked': [
'<(PRODUCT_DIR)/ffmpegsumo.dll',
'<(PRODUCT_DIR)/chrome_100_percent.pak',
'<(PRODUCT_DIR)/clearkeycdm.dll',
'<(PRODUCT_DIR)/clearkeycdmadapter.dll',
'<(PRODUCT_DIR)/content_shell.pak', '<(PRODUCT_DIR)/content_shell.pak',
'<(PRODUCT_DIR)/ffmpegsumo.dll',
'<(PRODUCT_DIR)/os_mesa.dll',
'<(PRODUCT_DIR)/plugins/np_test_netscape_plugin.dll', '<(PRODUCT_DIR)/plugins/np_test_netscape_plugin.dll',
'<(PRODUCT_DIR)/plugins/npapi_test_plugin.dll', '<(PRODUCT_DIR)/plugins/npapi_test_plugin.dll',
'<(PRODUCT_DIR)/ppapi_tests.dll',
], ],
}, },
}], }],
], ],
'includes': [
'../third_party/icu/icu.isolate',
],
} }
...@@ -943,6 +943,20 @@ ...@@ -943,6 +943,20 @@
'conditions': [ 'conditions': [
['test_isolation_mode != "noop"', { ['test_isolation_mode != "noop"', {
'targets': [ 'targets': [
{
'target_name': 'content_browsertests_run',
'type': 'none',
'dependencies': [
'content_browsertests',
],
'includes': [
'../build/isolate.gypi',
'content_browsertests.isolate',
],
'sources': [
'content_browsertests.isolate',
],
},
{ {
'target_name': 'content_unittests_run', 'target_name': 'content_unittests_run',
'type': 'none', 'type': 'none',
......
...@@ -39,6 +39,7 @@ ...@@ -39,6 +39,7 @@
'isolate_dependency_tracked': [ 'isolate_dependency_tracked': [
'../testing/xvfb.py', '../testing/xvfb.py',
'<(PRODUCT_DIR)/libffmpegsumo.so', '<(PRODUCT_DIR)/libffmpegsumo.so',
'<(PRODUCT_DIR)/libosmesa.so',
'<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)', '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)',
], ],
}, },
...@@ -53,6 +54,7 @@ ...@@ -53,6 +54,7 @@
], ],
'isolate_dependency_tracked': [ 'isolate_dependency_tracked': [
'<(PRODUCT_DIR)/ffmpegsumo.so', '<(PRODUCT_DIR)/ffmpegsumo.so',
'<(PRODUCT_DIR)/osmesa.so',
], ],
}, },
}], }],
...@@ -66,7 +68,7 @@ ...@@ -66,7 +68,7 @@
], ],
'isolate_dependency_tracked': [ 'isolate_dependency_tracked': [
'<(PRODUCT_DIR)/ffmpegsumo.dll', '<(PRODUCT_DIR)/ffmpegsumo.dll',
'<(PRODUCT_DIR)/ui_test.pak', '<(PRODUCT_DIR)/osmesa.dll',
], ],
}, },
}], }],
......
...@@ -40,8 +40,18 @@ ...@@ -40,8 +40,18 @@
"test": "courgette_unittests", "test": "courgette_unittests",
"platforms": ["win"] "platforms": ["win"]
}, },
"content_browsertests", {
"content_unittests", "test": "content_browsertests",
"swarming": {
"can_use_on_swarming_builders": true
}
},
{
"test": "content_unittests",
"swarming": {
"can_use_on_swarming_builders": true
}
},
"crypto_unittests", "crypto_unittests",
{ {
"test": "dbus_unittests", "test": "dbus_unittests",
......
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