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

Side by Side Diff: scripts/slave/recipes/cronet.expected/cronet_try.json

Issue 1897823006: Reland of Switch Android gtests to use generated wrapper scripts (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: remove bin/run_ script 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 411 matching lines...) Expand 10 before | Expand all | Expand 10 after
422 "--blacklist-file", 422 "--blacklist-file",
423 "[SLAVE_BUILD]/src/out/bad_devices.json" 423 "[SLAVE_BUILD]/src/out/bad_devices.json"
424 ], 424 ],
425 "cwd": "[SLAVE_BUILD]", 425 "cwd": "[SLAVE_BUILD]",
426 "name": "spawn_device_monitor" 426 "name": "spawn_device_monitor"
427 }, 427 },
428 { 428 {
429 "cmd": [ 429 "cmd": [
430 "python", 430 "python",
431 "-u", 431 "-u",
432 "[SLAVE_BUILD]/src/build/android/test_runner.py", 432 "[SLAVE_BUILD]/src/out/Debug/bin/run_cronet_unittests",
433 "gtest",
434 "-s",
435 "cronet_unittests",
436 "--blacklist-file", 433 "--blacklist-file",
437 "[SLAVE_BUILD]/src/out/bad_devices.json", 434 "[SLAVE_BUILD]/src/out/bad_devices.json",
438 "--verbose", 435 "--verbose",
439 "-t", 436 "-t",
440 "180" 437 "180"
441 ], 438 ],
442 "cwd": "[SLAVE_BUILD]", 439 "cwd": "[SLAVE_BUILD]",
443 "env": { 440 "env": {
444 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Debug",
445 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 441 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
446 }, 442 },
447 "name": "cronet_unittests" 443 "name": "cronet_unittests"
448 }, 444 },
449 { 445 {
450 "cmd": [ 446 "cmd": [
451 "python", 447 "python",
452 "-u", 448 "-u",
453 "[SLAVE_BUILD]/src/build/android/test_runner.py", 449 "[SLAVE_BUILD]/src/out/Debug/bin/run_net_unittests",
454 "gtest",
455 "-s",
456 "net_unittests",
457 "--blacklist-file", 450 "--blacklist-file",
458 "[SLAVE_BUILD]/src/out/bad_devices.json", 451 "[SLAVE_BUILD]/src/out/bad_devices.json",
459 "--verbose", 452 "--verbose",
460 "-t", 453 "-t",
461 "180" 454 "180"
462 ], 455 ],
463 "cwd": "[SLAVE_BUILD]", 456 "cwd": "[SLAVE_BUILD]",
464 "env": { 457 "env": {
465 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Debug",
466 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 458 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
467 }, 459 },
468 "name": "net_unittests" 460 "name": "net_unittests"
469 }, 461 },
470 { 462 {
471 "cmd": [ 463 "cmd": [
472 "python", 464 "python",
473 "-u", 465 "-u",
474 "[SLAVE_BUILD]/src/out/Debug/bin/run_cronet_sample_test_apk", 466 "[SLAVE_BUILD]/src/out/Debug/bin/run_cronet_sample_test_apk",
475 "--blacklist-file", 467 "--blacklist-file",
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
592 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", 584 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@",
593 "@@@STEP_LOG_END@python.inline@@@" 585 "@@@STEP_LOG_END@python.inline@@@"
594 ] 586 ]
595 }, 587 },
596 { 588 {
597 "name": "$result", 589 "name": "$result",
598 "recipe_result": null, 590 "recipe_result": null,
599 "status_code": 0 591 "status_code": 0
600 } 592 }
601 ] 593 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698