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

Side by Side Diff: scripts/slave/recipe_modules/webrtc/builders.py

Issue 2354363006: WebRTC: Add android_junit_tests. (Closed)
Patch Set: Add swarming testcase. Created 4 years, 2 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 unified diff | Download patch
OLDNEW
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 # Contains the bulk of the WebRTC builder configurations so they can be reused 5 # Contains the bulk of the WebRTC builder configurations so they can be reused
6 # from multiple recipes. 6 # from multiple recipes.
7 7
8 from recipe_engine.types import freeze 8 from recipe_engine.types import freeze
9 9
10 RECIPE_CONFIGS = freeze({ 10 RECIPE_CONFIGS = freeze({
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after
388 'testing': {'platform': 'linux'}, 388 'testing': {'platform': 'linux'},
389 }, 389 },
390 'Android32 Builder': { 390 'Android32 Builder': {
391 'recipe_config': 'webrtc_android', 391 'recipe_config': 'webrtc_android',
392 'chromium_config_kwargs': { 392 'chromium_config_kwargs': {
393 'BUILD_CONFIG': 'Release', 393 'BUILD_CONFIG': 'Release',
394 'TARGET_PLATFORM': 'android', 394 'TARGET_PLATFORM': 'android',
395 'TARGET_ARCH': 'arm', 395 'TARGET_ARCH': 'arm',
396 'TARGET_BITS': 32, 396 'TARGET_BITS': 32,
397 }, 397 },
398 'bot_type': 'builder', 398 'bot_type': 'builder',
kjellander_chromium 2016/09/23 19:24:25 Let's change the bot_type to 'builder_tester' inst
399 'testing': {'platform': 'linux'}, 399 'testing': {'platform': 'linux'},
400 'triggers': [ 400 'triggers': [
401 'Android32 Tests (L Nexus5)', 401 'Android32 Tests (L Nexus5)',
402 'Android32 Tests (L Nexus7.2)', 402 'Android32 Tests (L Nexus7.2)',
403 ], 403 ],
404 'archive_apprtc': True, 404 'archive_apprtc': True,
405 'additional_tests': {
406 'android_tests': [
407 'android_junit_tests',
408 ]
409 }
405 }, 410 },
406 'Android32 Builder (dbg)': { 411 'Android32 Builder (dbg)': {
407 'recipe_config': 'webrtc_android', 412 'recipe_config': 'webrtc_android',
408 'chromium_config_kwargs': { 413 'chromium_config_kwargs': {
409 'BUILD_CONFIG': 'Debug', 414 'BUILD_CONFIG': 'Debug',
410 'TARGET_PLATFORM': 'android', 415 'TARGET_PLATFORM': 'android',
411 'TARGET_ARCH': 'arm', 416 'TARGET_ARCH': 'arm',
412 'TARGET_BITS': 32, 417 'TARGET_BITS': 32,
413 }, 418 },
414 'bot_type': 'builder', 419 'bot_type': 'builder',
kjellander_chromium 2016/09/23 19:24:25 same here (builder_tester)
415 'testing': {'platform': 'linux'}, 420 'testing': {'platform': 'linux'},
416 'triggers': [ 421 'triggers': [
417 'Android32 Tests (L Nexus5)(dbg)', 422 'Android32 Tests (L Nexus5)(dbg)',
418 'Android32 Tests (L Nexus7.2)(dbg)', 423 'Android32 Tests (L Nexus7.2)(dbg)',
419 ], 424 ],
420 'archive_apprtc': True, 425 'archive_apprtc': True,
421 }, 426 },
422 'Android32 Builder x86': { 427 'Android32 Builder x86': {
423 'recipe_config': 'webrtc_android', 428 'recipe_config': 'webrtc_android',
424 'chromium_config_kwargs': { 429 'chromium_config_kwargs': {
425 'BUILD_CONFIG': 'Release', 430 'BUILD_CONFIG': 'Release',
426 'TARGET_PLATFORM': 'android', 431 'TARGET_PLATFORM': 'android',
427 'TARGET_ARCH': 'intel', 432 'TARGET_ARCH': 'intel',
428 'TARGET_BITS': 32, 433 'TARGET_BITS': 32,
429 }, 434 },
430 'bot_type': 'builder', 435 'bot_type': 'builder',
kjellander_chromium 2016/09/23 19:24:25 same here (builder_tester)
431 'testing': {'platform': 'linux'}, 436 'testing': {'platform': 'linux'},
432 }, 437 },
433 'Android32 Builder x86 (dbg)': { 438 'Android32 Builder x86 (dbg)': {
434 'recipe_config': 'webrtc_android', 439 'recipe_config': 'webrtc_android',
435 'chromium_config_kwargs': { 440 'chromium_config_kwargs': {
436 'BUILD_CONFIG': 'Debug', 441 'BUILD_CONFIG': 'Debug',
437 'TARGET_PLATFORM': 'android', 442 'TARGET_PLATFORM': 'android',
438 'TARGET_ARCH': 'intel', 443 'TARGET_ARCH': 'intel',
439 'TARGET_BITS': 32, 444 'TARGET_BITS': 32,
440 }, 445 },
441 'bot_type': 'builder', 446 'bot_type': 'builder',
kjellander_chromium 2016/09/23 19:24:25 same here (builder_tester)
442 'testing': {'platform': 'linux'}, 447 'testing': {'platform': 'linux'},
443 }, 448 },
444 'Android32 Builder MIPS (dbg)': { 449 'Android32 Builder MIPS (dbg)': {
445 'recipe_config': 'webrtc_android_clang', 450 'recipe_config': 'webrtc_android_clang',
446 'chromium_config_kwargs': { 451 'chromium_config_kwargs': {
447 'BUILD_CONFIG': 'Debug', 452 'BUILD_CONFIG': 'Debug',
448 'TARGET_PLATFORM': 'android', 453 'TARGET_PLATFORM': 'android',
449 'TARGET_ARCH': 'mipsel', 454 'TARGET_ARCH': 'mipsel',
450 'TARGET_BITS': 32, 455 'TARGET_BITS': 32,
451 }, 456 },
452 'bot_type': 'builder', 457 'bot_type': 'builder',
453 'testing': {'platform': 'linux'}, 458 'testing': {'platform': 'linux'},
454 }, 459 },
455 'Android64 Builder': { 460 'Android64 Builder': {
456 'recipe_config': 'webrtc_android', 461 'recipe_config': 'webrtc_android',
457 'chromium_config_kwargs': { 462 'chromium_config_kwargs': {
458 'BUILD_CONFIG': 'Release', 463 'BUILD_CONFIG': 'Release',
459 'TARGET_PLATFORM': 'android', 464 'TARGET_PLATFORM': 'android',
460 'TARGET_ARCH': 'arm', 465 'TARGET_ARCH': 'arm',
461 'TARGET_BITS': 64, 466 'TARGET_BITS': 64,
462 }, 467 },
463 'bot_type': 'builder', 468 'bot_type': 'builder',
kjellander_chromium 2016/09/23 19:24:25 same here (builder_tester)
464 'testing': {'platform': 'linux'}, 469 'testing': {'platform': 'linux'},
465 'triggers': [ 470 'triggers': [
466 'Android64 Tests (L Nexus9)', 471 'Android64 Tests (L Nexus9)',
467 ], 472 ],
468 'archive_apprtc': True, 473 'archive_apprtc': True,
469 }, 474 },
470 'Android64 Builder (dbg)': { 475 'Android64 Builder (dbg)': {
471 'recipe_config': 'webrtc_android', 476 'recipe_config': 'webrtc_android',
472 'chromium_config_kwargs': { 477 'chromium_config_kwargs': {
473 'BUILD_CONFIG': 'Debug', 478 'BUILD_CONFIG': 'Debug',
474 'TARGET_PLATFORM': 'android', 479 'TARGET_PLATFORM': 'android',
475 'TARGET_ARCH': 'arm', 480 'TARGET_ARCH': 'arm',
476 'TARGET_BITS': 64, 481 'TARGET_BITS': 64,
477 }, 482 },
478 'bot_type': 'builder', 483 'bot_type': 'builder',
kjellander_chromium 2016/09/23 19:24:24 same here (builder_tester)
479 'testing': {'platform': 'linux'}, 484 'testing': {'platform': 'linux'},
480 'archive_apprtc': True, 485 'archive_apprtc': True,
481 }, 486 },
482 'Android64 Builder x64 (dbg)': { 487 'Android64 Builder x64 (dbg)': {
483 'recipe_config': 'webrtc_android', 488 'recipe_config': 'webrtc_android',
484 'chromium_config_kwargs': { 489 'chromium_config_kwargs': {
485 'BUILD_CONFIG': 'Debug', 490 'BUILD_CONFIG': 'Debug',
486 'TARGET_PLATFORM': 'android', 491 'TARGET_PLATFORM': 'android',
487 'TARGET_ARCH': 'intel', 492 'TARGET_ARCH': 'intel',
488 'TARGET_BITS': 64, 493 'TARGET_BITS': 64,
489 }, 494 },
490 'bot_type': 'builder', 495 'bot_type': 'builder',
kjellander_chromium 2016/09/23 19:24:25 same here (builder_tester)
491 'testing': {'platform': 'linux'}, 496 'testing': {'platform': 'linux'},
492 }, 497 },
493 'Android32 Clang (dbg)': { 498 'Android32 Clang (dbg)': {
494 'recipe_config': 'webrtc_android_clang', 499 'recipe_config': 'webrtc_android_clang',
495 'chromium_config_kwargs': { 500 'chromium_config_kwargs': {
496 'BUILD_CONFIG': 'Debug', 501 'BUILD_CONFIG': 'Debug',
497 'TARGET_PLATFORM': 'android', 502 'TARGET_PLATFORM': 'android',
498 'TARGET_ARCH': 'arm', 503 'TARGET_ARCH': 'arm',
499 'TARGET_BITS': 32, 504 'TARGET_BITS': 32,
500 }, 505 },
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
649 'TARGET_ARCH': 'arm', 654 'TARGET_ARCH': 'arm',
650 'TARGET_BITS': 32, 655 'TARGET_BITS': 32,
651 }, 656 },
652 'bot_type': 'builder_tester', 657 'bot_type': 'builder_tester',
653 'testing': {'platform': 'linux'}, 658 'testing': {'platform': 'linux'},
654 'use_isolate': True, 659 'use_isolate': True,
655 'enable_swarming': True, 660 'enable_swarming': True,
656 'swarming_dimensions': { 661 'swarming_dimensions': {
657 'os': 'Android', 662 'os': 'Android',
658 'device_type': 'bullhead', # Nexus 5X 663 'device_type': 'bullhead', # Nexus 5X
664 },
665 'additional_tests': {
666 'android_tests': [
667 'android_junit_tests',
668 ]
659 } 669 }
660 }, 670 },
661 'Android32 ASan (L Nexus6)': { 671 'Android32 ASan (L Nexus6)': {
662 'recipe_config': 'webrtc_android_asan', 672 'recipe_config': 'webrtc_android_asan',
663 'chromium_config_kwargs': { 673 'chromium_config_kwargs': {
664 'BUILD_CONFIG': 'Release', 674 'BUILD_CONFIG': 'Release',
665 'TARGET_PLATFORM': 'android', 675 'TARGET_PLATFORM': 'android',
666 'TARGET_ARCH': 'arm', 676 'TARGET_ARCH': 'arm',
667 'TARGET_BITS': 32, 677 'TARGET_BITS': 32,
668 }, 678 },
(...skipping 671 matching lines...) Expand 10 before | Expand all | Expand 10 after
1340 'enable_swarming': True, 1350 'enable_swarming': True,
1341 'swarming_dimensions': { 1351 'swarming_dimensions': {
1342 'os': 'Android', 1352 'os': 'Android',
1343 'device_type': 'bullhead', # Nexus 5X 1353 'device_type': 'bullhead', # Nexus 5X
1344 } 1354 }
1345 } 1355 }
1346 }, 1356 },
1347 }, 1357 },
1348 }) 1358 })
1349 1359
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698