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

Side by Side Diff: scripts/slave/recipes/flutter/flutter.expected/mac.json

Issue 1748403005: add a basic integration test for Flutter (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: retrain the recipes Created 4 years, 9 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
« no previous file with comments | « scripts/slave/recipes/flutter/flutter.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "python", 4 "python",
5 "-u", 5 "-u",
6 "\nimport os, sys\nfrom common import chromium_utils # Error? See https:// crbug.com/584783.\n\npath = sys.argv[1]\nif os.path.exists(path):\n for p in (o s.path.join(path, x) for x in os.listdir(path)):\n if os.path.isdir(p):\n chromium_utils.RemoveDirectory(p)\n else:\n os.unlink(p)\n", 6 "\nimport os, sys\nfrom common import chromium_utils # Error? See https:// crbug.com/584783.\n\npath = sys.argv[1]\nif os.path.exists(path):\n for p in (o s.path.join(path, x) for x in os.listdir(path)):\n if os.path.isdir(p):\n chromium_utils.RemoveDirectory(p)\n else:\n os.unlink(p)\n",
7 "[SLAVE_BUILD]" 7 "[SLAVE_BUILD]"
8 ], 8 ],
9 "cwd": "[SLAVE_BUILD]", 9 "cwd": "[SLAVE_BUILD]",
10 "name": "rmcontents everything", 10 "name": "rmcontents everything",
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 ], 233 ],
234 "cwd": "[SLAVE_BUILD]/flutter/examples/material_gallery", 234 "cwd": "[SLAVE_BUILD]/flutter/examples/material_gallery",
235 "env": { 235 "env": {
236 "ANDROID_HOME": "[SLAVE_BUILD]/flutter/infra/android_tools", 236 "ANDROID_HOME": "[SLAVE_BUILD]/flutter/infra/android_tools",
237 "PATH": "[SLAVE_BUILD]/flutter/bin:[SLAVE_BUILD]/flutter/bin/cache/dart-sd k/bin:%(PATH)s", 237 "PATH": "[SLAVE_BUILD]/flutter/bin:[SLAVE_BUILD]/flutter/bin/cache/dart-sd k/bin:%(PATH)s",
238 "PUB_CACHE": "[SLAVE_BUILD]/.pub-cache" 238 "PUB_CACHE": "[SLAVE_BUILD]/.pub-cache"
239 }, 239 },
240 "name": "flutter apk examples/material_gallery" 240 "name": "flutter apk examples/material_gallery"
241 }, 241 },
242 { 242 {
243 "cmd": [
244 "flutter",
245 "create",
246 "--with-driver-test",
247 "sample_app"
248 ],
249 "cwd": "[TMP_BASE]/tmp_tmp_1",
250 "env": {
251 "ANDROID_HOME": "[SLAVE_BUILD]/flutter/infra/android_tools",
252 "PATH": "[SLAVE_BUILD]/flutter/bin:[SLAVE_BUILD]/flutter/bin/cache/dart-sd k/bin:%(PATH)s",
253 "PUB_CACHE": "[SLAVE_BUILD]/.pub-cache"
254 },
255 "name": "test create"
256 },
257 {
258 "cmd": [
259 "flutter",
260 "drive"
261 ],
262 "cwd": "[TMP_BASE]/tmp_tmp_1/sample_app",
263 "env": {
264 "ANDROID_HOME": "[SLAVE_BUILD]/flutter/infra/android_tools",
265 "PATH": "[SLAVE_BUILD]/flutter/bin:[SLAVE_BUILD]/flutter/bin/cache/dart-sd k/bin:%(PATH)s",
266 "PUB_CACHE": "[SLAVE_BUILD]/.pub-cache"
267 },
268 "name": "drive sample_app"
269 },
270 {
271 "cmd": [
272 "python",
273 "-u",
274 "\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",
275 "[TMP_BASE]/tmp_tmp_1"
276 ],
277 "cwd": "[SLAVE_BUILD]",
278 "env": {
279 "ANDROID_HOME": "[SLAVE_BUILD]/flutter/infra/android_tools",
280 "PATH": "[SLAVE_BUILD]/flutter/bin:[SLAVE_BUILD]/flutter/bin/cache/dart-sd k/bin:%(PATH)s",
281 "PUB_CACHE": "[SLAVE_BUILD]/.pub-cache"
282 },
283 "name": "rmtree temp dir",
284 "~followup_annotations": [
285 "@@@STEP_LOG_LINE@python.inline@@@@",
286 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@",
287 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@",
288 "@@@STEP_LOG_LINE@python.inline@@@@",
289 "@@@STEP_LOG_LINE@python.inline@@@@",
290 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@",
291 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[ 1])@@@",
292 "@@@STEP_LOG_END@python.inline@@@"
293 ]
294 },
295 {
243 "name": "$result", 296 "name": "$result",
244 "recipe_result": null, 297 "recipe_result": null,
245 "status_code": 0 298 "status_code": 0
246 } 299 }
247 ] 300 ]
OLDNEW
« no previous file with comments | « scripts/slave/recipes/flutter/flutter.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698