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

Side by Side Diff: scripts/slave/recipes/cronet.expected/android_cronet_tester.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 403 matching lines...) Expand 10 before | Expand all | Expand 10 after
414 "--blacklist-file", 414 "--blacklist-file",
415 "[SLAVE_BUILD]/src/out/bad_devices.json" 415 "[SLAVE_BUILD]/src/out/bad_devices.json"
416 ], 416 ],
417 "cwd": "[SLAVE_BUILD]", 417 "cwd": "[SLAVE_BUILD]",
418 "name": "spawn_device_monitor" 418 "name": "spawn_device_monitor"
419 }, 419 },
420 { 420 {
421 "cmd": [ 421 "cmd": [
422 "python", 422 "python",
423 "-u", 423 "-u",
424 "[SLAVE_BUILD]/src/build/android/test_runner.py", 424 "[SLAVE_BUILD]/src/out/Debug/bin/run_cronet_unittests",
425 "gtest",
426 "-s",
427 "cronet_unittests",
428 "--blacklist-file", 425 "--blacklist-file",
429 "[SLAVE_BUILD]/src/out/bad_devices.json", 426 "[SLAVE_BUILD]/src/out/bad_devices.json",
430 "--verbose", 427 "--verbose",
431 "-t", 428 "-t",
432 "180" 429 "180"
433 ], 430 ],
434 "cwd": "[SLAVE_BUILD]", 431 "cwd": "[SLAVE_BUILD]",
435 "env": { 432 "env": {
436 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Debug",
437 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 433 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
438 }, 434 },
439 "name": "cronet_unittests" 435 "name": "cronet_unittests"
440 }, 436 },
441 { 437 {
442 "cmd": [ 438 "cmd": [
443 "python", 439 "python",
444 "-u", 440 "-u",
445 "[SLAVE_BUILD]/src/build/android/test_runner.py", 441 "[SLAVE_BUILD]/src/out/Debug/bin/run_net_unittests",
446 "gtest",
447 "-s",
448 "net_unittests",
449 "--blacklist-file", 442 "--blacklist-file",
450 "[SLAVE_BUILD]/src/out/bad_devices.json", 443 "[SLAVE_BUILD]/src/out/bad_devices.json",
451 "--verbose", 444 "--verbose",
452 "-t", 445 "-t",
453 "180" 446 "180"
454 ], 447 ],
455 "cwd": "[SLAVE_BUILD]", 448 "cwd": "[SLAVE_BUILD]",
456 "env": { 449 "env": {
457 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Debug",
458 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 450 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
459 }, 451 },
460 "name": "net_unittests" 452 "name": "net_unittests"
461 }, 453 },
462 { 454 {
463 "cmd": [ 455 "cmd": [
464 "python", 456 "python",
465 "-u", 457 "-u",
466 "[SLAVE_BUILD]/src/out/Debug/bin/run_cronet_sample_test_apk", 458 "[SLAVE_BUILD]/src/out/Debug/bin/run_cronet_sample_test_apk",
467 "--blacklist-file", 459 "--blacklist-file",
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
582 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", 574 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@",
583 "@@@STEP_LOG_END@python.inline@@@" 575 "@@@STEP_LOG_END@python.inline@@@"
584 ] 576 ]
585 }, 577 },
586 { 578 {
587 "name": "$result", 579 "name": "$result",
588 "recipe_result": null, 580 "recipe_result": null,
589 "status_code": 0 581 "status_code": 0
590 } 582 }
591 ] 583 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698