Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 from . import steps | 5 from . import steps |
| 6 | 6 |
| 7 SPEC = { | 7 SPEC = { |
| 8 'settings': { | 8 'settings': { |
| 9 'build_gs_bucket': 'chromium-webkit-archive', | 9 'build_gs_bucket': 'chromium-webkit-archive', |
| 10 'src_side_runtest_py': False, | 10 'src_side_runtest_py': False, |
| (...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 291 'testing': { | 291 'testing': { |
| 292 'platform': 'mac', | 292 'platform': 'mac', |
| 293 }, | 293 }, |
| 294 'enable_swarming': True, | 294 'enable_swarming': True, |
| 295 'swarming_dimensions': { | 295 'swarming_dimensions': { |
| 296 'os': 'Mac-10.11', | 296 'os': 'Mac-10.11', |
| 297 }, | 297 }, |
| 298 'use_isolate': True, | 298 'use_isolate': True, |
| 299 'checkout_dir': 'mac_layout', | 299 'checkout_dir': 'mac_layout', |
| 300 }, | 300 }, |
| 301 'WebKit Linux Precise': { | 301 'WebKit Linux Trusty': { |
| 302 'chromium_config': 'chromium', | 302 'chromium_config': 'chromium', |
| 303 'chromium_apply_config': ['mb', 'ninja_confirm_noop'], | 303 'chromium_apply_config': ['mb', 'ninja_confirm_noop'], |
|
qyearsley
2016/11/14 18:52:37
The reason why the flag "--ninja-ensure-up-to-date
| |
| 304 'gclient_config': 'chromium', | 304 'gclient_config': 'chromium', |
| 305 'chromium_config_kwargs': { | 305 'chromium_config_kwargs': { |
| 306 'BUILD_CONFIG': 'Release', | 306 'BUILD_CONFIG': 'Release', |
| 307 'TARGET_BITS': 64, | |
| 308 }, | |
| 309 'compile_targets': [ | |
| 310 'blink_tests', | |
| 311 ], | |
| 312 'tests': [ | |
| 313 steps.BlinkTest(), | |
| 314 ], | |
| 315 'testing': { | |
| 316 'platform': 'linux', | |
| 317 }, | |
| 318 'enable_swarming': True, | |
| 319 'use_isolate': True, | |
| 320 'checkout_dir': 'linux_layout', | |
| 321 }, | |
| 322 'WebKit Linux Trusty': { | |
| 323 'chromium_config': 'chromium', | |
| 324 'chromium_apply_config': ['mb'], | |
| 325 'gclient_config': 'chromium', | |
| 326 'chromium_config_kwargs': { | |
| 327 'BUILD_CONFIG': 'Release', | |
| 328 'TARGET_BITS': 64, | 307 'TARGET_BITS': 64, |
| 329 }, | 308 }, |
| 330 'compile_targets': [ | 309 'compile_targets': [ |
| 331 'blink_tests', | 310 'blink_tests', |
| 332 ], | 311 ], |
| 333 'tests': [ | 312 'tests': [ |
| 334 steps.BlinkTest(), | 313 steps.BlinkTest(), |
| 335 ], | 314 ], |
| 336 'testing': { | 315 'testing': { |
| 337 'platform': 'linux', | 316 'platform': 'linux', |
| 338 }, | 317 }, |
| 339 'enable_swarming': True, | 318 'enable_swarming': True, |
| 340 'use_isolate': True, | 319 'use_isolate': True, |
| 341 'checkout_dir': 'linux_layout', | 320 'checkout_dir': 'linux_layout', |
| 342 }, | 321 }, |
| 343 'WebKit Linux Precise ASAN': { | 322 'WebKit Linux Trusty ASAN': { |
| 344 'chromium_config': 'chromium_clang', | 323 'chromium_config': 'chromium_clang', |
| 345 'chromium_apply_config': ['asan', 'mb'], | 324 'chromium_apply_config': ['asan', 'mb'], |
| 346 'gclient_config': 'chromium', | 325 'gclient_config': 'chromium', |
| 347 'chromium_config_kwargs': { | 326 'chromium_config_kwargs': { |
| 348 'BUILD_CONFIG': 'Release', | 327 'BUILD_CONFIG': 'Release', |
| 349 'TARGET_BITS': 64, | 328 'TARGET_BITS': 64, |
| 350 }, | 329 }, |
| 351 'tests': [ | 330 'tests': [ |
| 352 steps.BlinkTest(extra_args=[ | 331 steps.BlinkTest(extra_args=[ |
| 353 '--additional-expectations', | 332 '--additional-expectations', |
| 354 'src/third_party/WebKit/LayoutTests/ASANExpectations', | 333 'src/third_party/WebKit/LayoutTests/ASANExpectations', |
| 355 # ASAN is roughly 8x slower than Release. | 334 # ASAN is roughly 8x slower than Release. |
| 356 '--time-out-ms', '48000', | 335 '--time-out-ms', '48000', |
| 357 '--options=--enable-sanitizer', | 336 '--options=--enable-sanitizer', |
| 358 ]), | 337 ]), |
| 359 ], | 338 ], |
| 360 'testing': { | 339 'testing': { |
| 361 'platform': 'linux', | 340 'platform': 'linux', |
| 362 }, | 341 }, |
| 363 'enable_swarming': True, | 342 'enable_swarming': True, |
| 364 'use_isolate': True, | 343 'use_isolate': True, |
| 365 'checkout_dir': 'linux_layout', | 344 'checkout_dir': 'linux_layout', |
| 366 }, | 345 }, |
| 367 'WebKit Linux Precise MSAN': { | 346 'WebKit Linux Trusty MSAN': { |
| 368 'chromium_config': 'chromium_clang', | 347 'chromium_config': 'chromium_clang', |
| 369 'gclient_config': 'chromium', | 348 'gclient_config': 'chromium', |
| 370 'chromium_apply_config': [ | 349 'chromium_apply_config': [ |
| 371 'mb', | 350 'mb', |
| 372 'msan', | 351 'msan', |
| 373 'msan_full_origin_tracking', | 352 'msan_full_origin_tracking', |
| 374 'prebuilt_instrumented_libraries', | 353 'prebuilt_instrumented_libraries', |
| 375 ], | 354 ], |
| 376 'chromium_config_kwargs': { | 355 'chromium_config_kwargs': { |
| 377 'BUILD_CONFIG': 'Release', | 356 'BUILD_CONFIG': 'Release', |
| 378 'TARGET_BITS': 64, | 357 'TARGET_BITS': 64, |
| 379 }, | 358 }, |
| 380 'tests': [ | 359 'tests': [ |
| 381 steps.BlinkTest(extra_args=[ | 360 steps.BlinkTest(extra_args=[ |
| 382 '--additional-expectations', | 361 '--additional-expectations', |
| 383 'src/third_party/WebKit/LayoutTests/MSANExpectations', | 362 'src/third_party/WebKit/LayoutTests/MSANExpectations', |
| 384 # Because JS code is run on a simulator, the slowdown in JS-heavy | 363 # Because JS code is run on a simulator, the slowdown in JS-heavy |
| 385 # tests will be much higher than MSan's average of 3x. | 364 # tests will be much higher than MSan's average of 3x. |
| 386 '--time-out-ms', '66000', | 365 '--time-out-ms', '66000', |
| 387 '--options=--enable-sanitizer', | 366 '--options=--enable-sanitizer', |
| 388 ]), | 367 ]), |
| 389 ], | 368 ], |
| 390 'testing': { | 369 'testing': { |
| 391 'platform': 'linux', | 370 'platform': 'linux', |
| 392 }, | 371 }, |
| 393 'enable_swarming': True, | 372 'enable_swarming': True, |
| 394 'use_isolate': True, | 373 'use_isolate': True, |
| 395 'checkout_dir': 'linux_layout', | 374 'checkout_dir': 'linux_layout', |
| 396 }, | 375 }, |
| 397 'WebKit Linux Precise (dbg)': { | 376 'WebKit Linux Trusty (dbg)': { |
| 398 'chromium_config': 'chromium', | 377 'chromium_config': 'chromium', |
| 399 'chromium_apply_config': ['mb'], | 378 'chromium_apply_config': ['mb'], |
| 400 'gclient_config': 'chromium', | 379 'gclient_config': 'chromium', |
| 401 'chromium_config_kwargs': { | 380 'chromium_config_kwargs': { |
| 402 'BUILD_CONFIG': 'Debug', | 381 'BUILD_CONFIG': 'Debug', |
| 403 'TARGET_BITS': 64, | 382 'TARGET_BITS': 64, |
| 404 }, | 383 }, |
| 405 'tests': [ | 384 'tests': [ |
| 406 steps.BlinkTest(), | 385 steps.BlinkTest(), |
| 407 ], | 386 ], |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 444 'root_devices': True, | 423 'root_devices': True, |
| 445 'tests': [ | 424 'tests': [ |
| 446 steps.GTestTest('blink_heap_unittests'), | 425 steps.GTestTest('blink_heap_unittests'), |
| 447 steps.GTestTest('webkit_unit_tests'), | 426 steps.GTestTest('webkit_unit_tests'), |
| 448 steps.BlinkTest(), | 427 steps.BlinkTest(), |
| 449 ], | 428 ], |
| 450 'testing': { | 429 'testing': { |
| 451 'platform': 'linux', | 430 'platform': 'linux', |
| 452 }, | 431 }, |
| 453 }, | 432 }, |
| 454 'WebKit Linux Precise Leak': { | 433 'WebKit Linux Trusty Leak': { |
| 455 'chromium_config': 'chromium', | 434 'chromium_config': 'chromium', |
| 456 'chromium_apply_config': ['mb'], | 435 'chromium_apply_config': ['mb'], |
| 457 'gclient_config': 'chromium', | 436 'gclient_config': 'chromium', |
| 458 'chromium_config_kwargs': { | 437 'chromium_config_kwargs': { |
| 459 'BUILD_CONFIG': 'Release', | 438 'BUILD_CONFIG': 'Release', |
| 460 'TARGET_BITS': 64, | 439 'TARGET_BITS': 64, |
| 461 }, | 440 }, |
| 462 'compile_targets': [ | 441 'compile_targets': [ |
| 463 'blink_tests', | 442 'blink_tests', |
| 464 ], | 443 ], |
| 465 'tests': [ | 444 'tests': [ |
| 466 steps.BlinkTest(extra_args=[ | 445 steps.BlinkTest(extra_args=[ |
| 467 '--additional-expectations', | 446 '--additional-expectations', |
| 468 'src/third_party/WebKit/LayoutTests/LeakExpectations', | 447 'src/third_party/WebKit/LayoutTests/LeakExpectations', |
| 469 '--options=--enable-leak-detection', | 448 '--options=--enable-leak-detection', |
| 470 ]), | 449 ]), |
| 471 ], | 450 ], |
| 472 'testing': { | 451 'testing': { |
| 473 'platform': 'linux', | 452 'platform': 'linux', |
| 474 }, | 453 }, |
| 475 'enable_swarming': True, | 454 'enable_swarming': True, |
| 476 'use_isolate': True, | 455 'use_isolate': True, |
| 477 }, | 456 }, |
| 478 } | 457 } |
| OLD | NEW |