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

Side by Side Diff: webkit/tools/test_shell/SConscript

Issue 7974: Port a few test_shell_tests. Now it runs 45 of them.... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 12 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/port/platform/GKURL_unittest.cpp ('k') | webkit/tools/test_shell/gtk/test_shell.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 Import('env', 'env_res') 5 Import('env', 'env_res')
6 6
7 env = env.Clone() 7 env = env.Clone()
8 env_res = env_res.Clone() 8 env_res = env_res.Clone()
9 9
10 if env['PLATFORM'] == 'win32': 10 if env['PLATFORM'] == 'win32':
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 ], 86 ],
87 ) 87 )
88 elif env['PLATFORM'] in ('posix', 'darwin'): 88 elif env['PLATFORM'] in ('posix', 'darwin'):
89 env.Append( 89 env.Append(
90 LIBS = [ 90 LIBS = [
91 'event', 91 'event',
92 ] 92 ]
93 ) 93 )
94 94
95 input_files = [ 95 input_files = [
96 'simple_resource_loader_bridge.cc',
96 'test_navigation_controller.cc', 97 'test_navigation_controller.cc',
98 'test_shell_request_context.cc',
97 'test_shell_switches.cc', 99 'test_shell_switches.cc',
98 ] 100 ]
99 if env['PLATFORM'] == 'win32': 101 if env['PLATFORM'] == 'win32':
100 # TODO(port): put portable files in above test_files declaration. 102 # TODO(port): put portable files in above test_files declaration.
101 input_files.extend([ 103 input_files.extend([
102 'drag_delegate.cc', 104 'drag_delegate.cc',
103 'drop_delegate.cc', 105 'drop_delegate.cc',
104 'event_sending_controller.cc', 106 'event_sending_controller.cc',
105 'layout_test_controller.cc', 107 'layout_test_controller.cc',
106 'simple_resource_loader_bridge.cc',
107 'test_shell.cc', 108 'test_shell.cc',
108 'test_shell_request_context.cc',
109 'test_webview_delegate.cc', 109 'test_webview_delegate.cc',
110 'text_input_controller.cc', 110 'text_input_controller.cc',
111 'webview_host.cc', 111 'webview_host.cc',
112 'webwidget_host.cc', 112 'webwidget_host.cc',
113 ]) 113 ])
114 elif env['PLATFORM'] == 'posix': 114 elif env['PLATFORM'] == 'posix':
115 input_files.extend([ 115 input_files.extend([
116 'gtk/test_shell.cc', 116 'gtk/test_shell.cc',
117 'gtk/webwidget_host.cc', 117 'gtk/webwidget_host.cc',
118 'gtk/webview_host.cc', 118 'gtk/webview_host.cc',
(...skipping 24 matching lines...) Expand all
143 143
144 test_shell = env.ChromeProgram('test_shell', resources + exe_input_files) 144 test_shell = env.ChromeProgram('test_shell', resources + exe_input_files)
145 145
146 i = env.Install('$TARGET_ROOT', test_shell) 146 i = env.Install('$TARGET_ROOT', test_shell)
147 env.Alias('webkit', i) 147 env.Alias('webkit', i)
148 148
149 if env['PLATFORM'] == 'win32': 149 if env['PLATFORM'] == 'win32':
150 env.Depends(test_shell, '$V8_DIR/vc80.pdb') 150 env.Depends(test_shell, '$V8_DIR/vc80.pdb')
151 151
152 test_files = [ 152 test_files = [
153 'image_decoder_unittest.cc',
153 'run_all_tests.cc', 154 'run_all_tests.cc',
155 '$WEBKIT_DIR/glue/autocomplete_input_listener_unittest.cc',
156 '$WEBKIT_DIR/glue/cpp_variant_unittest.cc',
157 '$WEBKIT_DIR/glue/glue_serialize_unittest.cc',
158 '$WEBKIT_DIR/glue/multipart_response_delegate_unittest.cc',
159 '$WEBKIT_DIR/glue/password_autocomplete_listener_unittest.cc',
160 '$WEBKIT_DIR/glue/regular_expression_unittest.cc',
161 '$WEBKIT_DIR/port/platform/GKURL_unittest.cpp',
162
163 '$V8_DIR/snapshot-empty$OBJSUFFIX',
154 ] 164 ]
155 165
156 if env['PLATFORM'] == 'win32': 166 if env['PLATFORM'] == 'win32':
157 # TODO(port): put portable files in above test_files declaration. 167 # TODO(port): put portable files in above test_files declaration.
158 test_files.extend([ 168 test_files.extend([
159 'drag_delegate.cc',
160 'drop_delegate.cc',
161 'event_sending_controller.cc',
162 'image_decoder_unittest.cc',
163 'keyboard_unittest.cc', 169 'keyboard_unittest.cc',
164 'layout_test_controller.cc',
165 'layout_test_controller_unittest.cc', 170 'layout_test_controller_unittest.cc',
166 'node_leak_test.cc', 171 'node_leak_test.cc',
167 'plugin_tests.cc', 172 'plugin_tests.cc',
168 'run_all_tests.cc',
169 'simple_resource_loader_bridge.cc',
170 'test_navigation_controller.cc',
171 'test_shell.cc',
172 'test_shell_request_context.cc',
173 'test_shell_switches.cc',
174 'test_shell_test.cc', 173 'test_shell_test.cc',
175 'test_webview_delegate.cc',
176 'text_input_controller.cc',
177 'text_input_controller_unittest.cc', 174 'text_input_controller_unittest.cc',
178 'webview_host.cc', 175 'webview_host.cc',
179 'webwidget_host.cc', 176 'webwidget_host.cc',
180 '$WEBKIT_DIR/glue/autocomplete_input_listener_unittest.cc',
181 '$WEBKIT_DIR/glue/bookmarklet_unittest.cc', 177 '$WEBKIT_DIR/glue/bookmarklet_unittest.cc',
182 '$WEBKIT_DIR/glue/context_menu_unittest.cc', 178 '$WEBKIT_DIR/glue/context_menu_unittest.cc',
183 '$WEBKIT_DIR/glue/cpp_bound_class_unittest.cc', 179 '$WEBKIT_DIR/glue/cpp_bound_class_unittest.cc',
184 '$WEBKIT_DIR/glue/cpp_variant_unittest.cc',
185 '$WEBKIT_DIR/glue/dom_operations_unittest.cc', 180 '$WEBKIT_DIR/glue/dom_operations_unittest.cc',
186 '$WEBKIT_DIR/glue/dom_serializer_unittest.cc', 181 '$WEBKIT_DIR/glue/dom_serializer_unittest.cc',
187 '$WEBKIT_DIR/glue/glue_serialize_unittest.cc',
188 '$WEBKIT_DIR/glue/iframe_redirect_unittest.cc', 182 '$WEBKIT_DIR/glue/iframe_redirect_unittest.cc',
189 '$WEBKIT_DIR/glue/mimetype_unittest.cc', 183 '$WEBKIT_DIR/glue/mimetype_unittest.cc',
190 '$WEBKIT_DIR/glue/multipart_response_delegate_unittest.cc',
191 '$WEBKIT_DIR/glue/password_autocomplete_listener_unittest.cc',
192 '$WEBKIT_DIR/glue/regular_expression_unittest.cc',
193 '$WEBKIT_DIR/glue/resource_fetcher_unittest.cc', 184 '$WEBKIT_DIR/glue/resource_fetcher_unittest.cc',
194 # Commented out until a regression is fixed and this file is restored. 185 # Commented out until a regression is fixed and this file is restored.
195 #'$WEBKIT_DIR/glue/stringimpl_unittest.cc', 186 #'$WEBKIT_DIR/glue/stringimpl_unittest.cc',
196 '$WEBKIT_DIR/glue/webframe_unittest.cc', 187 '$WEBKIT_DIR/glue/webframe_unittest.cc',
197 '$WEBKIT_DIR/glue/webplugin_impl_unittest.cc', 188 '$WEBKIT_DIR/glue/webplugin_impl_unittest.cc',
198 '$WEBKIT_DIR/port/platform/GKURL_unittest.cpp',
199 '$WEBKIT_DIR/port/platform/image-decoders/bmp/BMPImageDecoder_unittest.cpp ', 189 '$WEBKIT_DIR/port/platform/image-decoders/bmp/BMPImageDecoder_unittest.cpp ',
200 '$WEBKIT_DIR/port/platform/image-decoders/ico/ICOImageDecoder_unittest.cpp ', 190 '$WEBKIT_DIR/port/platform/image-decoders/ico/ICOImageDecoder_unittest.cpp ',
201 '$WEBKIT_DIR/port/platform/image-decoders/xbm/XBMImageDecoder_unittest.cpp ', 191 '$WEBKIT_DIR/port/platform/image-decoders/xbm/XBMImageDecoder_unittest.cpp ',
202
203 '$V8_DIR/snapshot-empty$OBJSUFFIX',
204 ]) 192 ])
205 193
206 test_shell_tests = env.ChromeTestProgram('test_shell_tests', 194 test_shell_tests = env.ChromeTestProgram('test_shell_tests',
207 resources + test_files) 195 resources + test_files)
208 i = env.Install('$TARGET_ROOT', test_shell_tests) 196 i = env.Install('$TARGET_ROOT', test_shell_tests)
209 env.Alias('webkit', i) 197 env.Alias('webkit', i)
210 198
OLDNEW
« no previous file with comments | « webkit/port/platform/GKURL_unittest.cpp ('k') | webkit/tools/test_shell/gtk/test_shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698