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

Side by Side Diff: scripts/slave/recipe_modules/cronet/example.expected/local_test.json

Issue 1896003003: Revert of Switch Android gtests to use generated wrapper scripts (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 4 years, 8 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 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "python", 4 "python",
5 "-u", 5 "-u",
6 "\nimport os, sys\n\nbuild_path = sys.argv[1]\nif os.path.exists(build_pat h):\n for (path, dir, files) in os.walk(build_path):\n for cur_file in files :\n if cur_file.endswith('index.lock'):\n path_to_file = os.path.joi n(path, cur_file)\n print 'deleting %s' % path_to_file\n os.remove (path_to_file)\n", 6 "\nimport os, sys\n\nbuild_path = sys.argv[1]\nif os.path.exists(build_pat h):\n for (path, dir, files) in os.walk(build_path):\n for cur_file in files :\n if cur_file.endswith('index.lock'):\n path_to_file = os.path.joi n(path, cur_file)\n print 'deleting %s' % path_to_file\n os.remove (path_to_file)\n",
7 "[SLAVE_BUILD]" 7 "[SLAVE_BUILD]"
8 ], 8 ],
9 "cwd": "[SLAVE_BUILD]", 9 "cwd": "[SLAVE_BUILD]",
10 "name": "cleanup index.lock", 10 "name": "cleanup index.lock",
(...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after
442 "--blacklist-file", 442 "--blacklist-file",
443 "[SLAVE_BUILD]/src/out/bad_devices.json" 443 "[SLAVE_BUILD]/src/out/bad_devices.json"
444 ], 444 ],
445 "cwd": "[SLAVE_BUILD]", 445 "cwd": "[SLAVE_BUILD]",
446 "name": "spawn_device_monitor" 446 "name": "spawn_device_monitor"
447 }, 447 },
448 { 448 {
449 "cmd": [ 449 "cmd": [
450 "python", 450 "python",
451 "-u", 451 "-u",
452 "[SLAVE_BUILD]/src/out/Debug/bin/run_cronet_unittests", 452 "[SLAVE_BUILD]/src/build/android/test_runner.py",
453 "gtest",
454 "-s",
455 "cronet_unittests",
453 "--blacklist-file", 456 "--blacklist-file",
454 "[SLAVE_BUILD]/src/out/bad_devices.json", 457 "[SLAVE_BUILD]/src/out/bad_devices.json",
455 "--verbose", 458 "--verbose",
456 "-t", 459 "-t",
457 "180" 460 "180"
458 ], 461 ],
459 "cwd": "[SLAVE_BUILD]", 462 "cwd": "[SLAVE_BUILD]",
460 "env": { 463 "env": {
464 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Debug",
461 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 465 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
462 }, 466 },
463 "name": "cronet_unittests" 467 "name": "cronet_unittests"
464 }, 468 },
465 { 469 {
466 "cmd": [ 470 "cmd": [
467 "python", 471 "python",
468 "-u", 472 "-u",
469 "[SLAVE_BUILD]/src/out/Debug/bin/run_net_unittests", 473 "[SLAVE_BUILD]/src/build/android/test_runner.py",
474 "gtest",
475 "-s",
476 "net_unittests",
470 "--blacklist-file", 477 "--blacklist-file",
471 "[SLAVE_BUILD]/src/out/bad_devices.json", 478 "[SLAVE_BUILD]/src/out/bad_devices.json",
472 "--verbose", 479 "--verbose",
473 "-t", 480 "-t",
474 "180" 481 "180"
475 ], 482 ],
476 "cwd": "[SLAVE_BUILD]", 483 "cwd": "[SLAVE_BUILD]",
477 "env": { 484 "env": {
485 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Debug",
478 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 486 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
479 }, 487 },
480 "name": "net_unittests" 488 "name": "net_unittests"
481 }, 489 },
482 { 490 {
483 "cmd": [ 491 "cmd": [
484 "python", 492 "python",
485 "-u", 493 "-u",
486 "[SLAVE_BUILD]/src/out/Debug/bin/run_cronet_sample_test_apk", 494 "[SLAVE_BUILD]/src/out/Debug/bin/run_cronet_sample_test_apk",
487 "--blacklist-file", 495 "--blacklist-file",
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
602 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", 610 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@",
603 "@@@STEP_LOG_END@python.inline@@@" 611 "@@@STEP_LOG_END@python.inline@@@"
604 ] 612 ]
605 }, 613 },
606 { 614 {
607 "name": "$result", 615 "name": "$result",
608 "recipe_result": null, 616 "recipe_result": null,
609 "status_code": 0 617 "status_code": 0
610 } 618 }
611 ] 619 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698