Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2043)

Unified Diff: chrome/chrome_tests.gypi

Issue 9646027: Switch PPAPITests to run in browser_tests instead of ui_tests. The former is sharded and so tests r… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix race condition where we might miss the first notification Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | chrome/test/ui/ppapi_uitest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/chrome_tests.gypi
===================================================================
--- chrome/chrome_tests.gypi (revision 126008)
+++ chrome/chrome_tests.gypi (working copy)
@@ -773,24 +773,6 @@
{
'target_name': 'ui_tests',
'type': 'executable',
- 'copies': [
- {
- 'destination': '<(PRODUCT_DIR)',
- 'files': [
- # Keep 'test_case.html.mock-http-headers' with 'test_case.html'.
- '../ppapi/tests/test_case.html',
- '../ppapi/tests/test_case.html.mock-http-headers',
- '../ppapi/tests/test_page.css',
- '../ppapi/native_client/tests/ppapi_tests/test_case.nmf',
- ],
- },
- {
- 'destination': '<(PRODUCT_DIR)/test_url_loader_data',
- 'files': [
- '../ppapi/tests/test_url_loader_data/hello.txt',
- ],
- },
- ],
'dependencies': [
'browser',
'chrome',
@@ -809,7 +791,6 @@
'../third_party/icu/icu.gyp:icuuc',
'../third_party/libxml/libxml.gyp:libxml',
# run time dependencies
- '../ppapi/ppapi_internal.gyp:ppapi_tests',
'../third_party/mesa/mesa.gyp:osmesa',
'../webkit/webkit.gyp:pull_in_copy_TestNetscapePlugIn',
],
@@ -817,6 +798,9 @@
'..',
],
'sources': [
+ # NOTE: DON'T ADD NEW TESTS HERE!
+ # New tests should be browser_tests. browser_tests are sharded and are
+ # less flakier.
'app/chrome_main_uitest.cc',
'browser/audio_layout_uitest.cc',
'browser/browser_encoding_uitest.cc',
@@ -864,20 +848,15 @@
'test/ui/layout_plugin_uitest.cc',
'test/ui/named_interface_uitest.cc',
'test/ui/npapi_uitest.cc',
- 'test/ui/ppapi_uitest.cc',
'test/ui/sandbox_uitests.cc',
'../content/browser/appcache/appcache_ui_test.cc',
'../content/browser/in_process_webkit/dom_storage_uitest.cc',
'../content/browser/in_process_webkit/indexed_db_uitest.cc',
'../content/browser/renderer_host/resource_dispatcher_host_uitest.cc',
'../content/worker/test/worker_uitest.cc',
+ # DON'T ADD NEW FILES! SEE NOTE AT TOP OF SECTION.
],
'conditions': [
- ['disable_nacl==0 and disable_nacl_untrusted==0', {
- 'dependencies': [
- '../ppapi/ppapi_untrusted.gyp:ppapi_nacl_tests',
- ],
- }],
['target_arch!="arm"', {
'dependencies': [
'../webkit/webkit.gyp:copy_npapi_test_plugin',
@@ -2521,6 +2500,24 @@
'type': 'executable',
'msvs_cygwin_shell': 0,
'msvs_cygwin_dirs': ['<(DEPTH)/third_party/cygwin'],
+ 'copies': [
+ {
+ 'destination': '<(PRODUCT_DIR)',
+ 'files': [
+ # Keep 'test_case.html.mock-http-headers' with 'test_case.html'.
+ '../ppapi/tests/test_case.html',
+ '../ppapi/tests/test_case.html.mock-http-headers',
+ '../ppapi/tests/test_page.css',
+ '../ppapi/native_client/tests/ppapi_tests/test_case.nmf',
+ ],
+ },
+ {
+ 'destination': '<(PRODUCT_DIR)/test_url_loader_data',
+ 'files': [
+ '../ppapi/tests/test_url_loader_data/hello.txt',
+ ],
+ },
+ ],
'dependencies': [
'browser',
'../sync/protocol/sync_proto.gyp:sync_proto',
@@ -2545,6 +2542,7 @@
'../v8/tools/gyp/v8.gyp:v8',
'../webkit/webkit.gyp:test_shell_test_support',
# Runtime dependencies
+ '../ppapi/ppapi_internal.gyp:ppapi_tests',
'../third_party/mesa/mesa.gyp:osmesa',
'../webkit/webkit.gyp:pull_in_copy_TestNetscapePlugIn',
],
@@ -2891,6 +2889,7 @@
'test/data/webui/print_preview.cc',
'test/data/webui/print_preview.js',
'test/gpu/gpu_feature_browsertest.cc',
+ 'test/ui/ppapi_uitest.cc',
# TODO(craig): Rename this and run from base_unittests when the test
# is safe to run there. See http://crbug.com/78722 for details.
'../base/files/file_path_watcher_browsertest.cc',
@@ -2951,10 +2950,17 @@
},
],
'conditions': [
- ['disable_nacl!=1', {
+ ['disable_nacl==0', {
'sources':[
'browser/extensions/extension_nacl_browsertest.cc',
],
+ 'conditions': [
+ ['disable_nacl_untrusted==0', {
+ 'dependencies': [
+ '../ppapi/ppapi_untrusted.gyp:ppapi_nacl_tests',
+ ],
+ }],
+ ],
}],
['chromeos==0', {
'sources/': [
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | chrome/test/ui/ppapi_uitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698