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

Side by Side Diff: scripts/slave/recipe_modules/chromium_android/example.expected/webview_cts_unexecuted_tests.json

Issue 2206113002: [WebView] Update CTS logic to load test name from json. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: [WebView] Update CTS logic to load test name from json. Created 4 years, 4 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 "name": "cleanup index.lock", 9 "name": "cleanup index.lock",
10 "~followup_annotations": [ 10 "~followup_annotations": [
(...skipping 823 matching lines...) Expand 10 before | Expand all | Expand 10 after
834 "--webview_arg_1", 834 "--webview_arg_1",
835 "--webview_arg_2" 835 "--webview_arg_2"
836 ], 836 ],
837 "name": "write webview command line file" 837 "name": "write webview command line file"
838 }, 838 },
839 { 839 {
840 "cmd": [ 840 "cmd": [
841 "python", 841 "python",
842 "-u", 842 "-u",
843 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", 843 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
844 "[SLAVE_BUILD]/src/android_webview/tools/cts_config/webview_cts_gcs_path.t xt", 844 "[SLAVE_BUILD]/src/android_webview/tools/cts_config/webview_cts_gcs_path.j son",
845 "/path/to/tmp/" 845 "/path/to/tmp/"
846 ], 846 ],
847 "name": "Fetch for the name of the cts file", 847 "name": "Fetch CTS filename data"
848 "~followup_annotations": [
849 "@@@STEP_LOG_LINE@cts_file_name@android-cts-5.1_r5-linux_x86-arm.zip@@@",
850 "@@@STEP_LOG_END@cts_file_name@@@"
851 ]
852 }, 848 },
853 { 849 {
854 "cmd": [ 850 "cmd": [
855 "python", 851 "python",
856 "-u", 852 "-u",
857 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", 853 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
858 "[SLAVE_BUILD]/src/android_webview/tools/cts_config/expected_failure_on_bo t.json", 854 "[SLAVE_BUILD]/src/android_webview/tools/cts_config/expected_failure_on_bo t.json",
859 "/path/to/tmp/" 855 "/path/to/tmp/"
860 ], 856 ],
861 "name": "Fetch the expected failures tests for CTS from chromium checkout" 857 "name": "Fetch expected failures data"
862 }, 858 },
863 { 859 {
864 "cmd": [], 860 "cmd": [],
865 "name": "Update CTS" 861 "name": "Update CTS"
866 }, 862 },
867 { 863 {
868 "cmd": [ 864 "cmd": [
869 "python", 865 "python",
870 "-u", 866 "-u",
871 "\nimport os, sys\nfrom common import chromium_utils # Error? See https:// crbug.com/584783.\n\n\nif os.path.exists(sys.argv[1]):\n chromium_utils.RemoveD irectory(sys.argv[1])\n", 867 "\nimport os, sys\nfrom common import chromium_utils # Error? See https:// crbug.com/584783.\n\n\nif os.path.exists(sys.argv[1]):\n chromium_utils.RemoveD irectory(sys.argv[1])\n",
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
909 }, 905 },
910 { 906 {
911 "cmd": [ 907 "cmd": [
912 "python", 908 "python",
913 "-u", 909 "-u",
914 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", 910 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py",
915 "--", 911 "--",
916 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", 912 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
917 "----", 913 "----",
918 "cp", 914 "cp",
919 "gs://chromium-cts/android-cts-5.1_r5-linux_x86-arm.zip", 915 "gs://chromium-cts/cts_arm64_L.zip",
920 "[CACHE]/android_cts/android-cts-5.1_r5-linux_x86-arm.zip" 916 "[CACHE]/android_cts/cts_arm64_L.zip"
921 ], 917 ],
922 "name": "Update CTS.gsutil Download new CTS", 918 "name": "Update CTS.gsutil Download new CTS",
923 "~followup_annotations": [ 919 "~followup_annotations": [
924 "@@@STEP_NEST_LEVEL@1@@@" 920 "@@@STEP_NEST_LEVEL@1@@@"
925 ] 921 ]
926 }, 922 },
927 { 923 {
928 "cmd": [ 924 "cmd": [
929 "python", 925 "python",
930 "-u", 926 "-u",
931 "RECIPE_MODULE[build::zip]/resources/unzip.py" 927 "RECIPE_MODULE[build::zip]/resources/unzip.py"
932 ], 928 ],
933 "name": "Update CTS.Extract new CTS", 929 "name": "Update CTS.Extract new CTS",
934 "stdin": "{\"output\": \"[CACHE]/android_cts/unzipped\", \"zip_file\": \"[CA CHE]/android_cts/android-cts-5.1_r5-linux_x86-arm.zip\"}", 930 "stdin": "{\"output\": \"[CACHE]/android_cts/unzipped\", \"zip_file\": \"[CA CHE]/android_cts/cts_arm64_L.zip\"}",
935 "~followup_annotations": [ 931 "~followup_annotations": [
936 "@@@STEP_NEST_LEVEL@1@@@" 932 "@@@STEP_NEST_LEVEL@1@@@"
937 ] 933 ]
938 }, 934 },
939 { 935 {
940 "cmd": [ 936 "cmd": [
941 "[CACHE]/android_cts/unzipped/android-cts/tools/cts-tradefed", 937 "[CACHE]/android_cts/unzipped/android-cts/tools/cts-tradefed",
942 "run", 938 "run",
943 "cts", 939 "cts",
944 "-p", 940 "-p",
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
980 "@@@STEP_FAILURE@@@" 976 "@@@STEP_FAILURE@@@"
981 ] 977 ]
982 }, 978 },
983 { 979 {
984 "name": "$result", 980 "name": "$result",
985 "reason": "Tests not executed.", 981 "reason": "Tests not executed.",
986 "recipe_result": null, 982 "recipe_result": null,
987 "status_code": 1 983 "status_code": 1
988 } 984 }
989 ] 985 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698