Index: scripts/slave/recipes/skia/swarm_trigger.expected/Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Coverage-Trybot.json |
diff --git a/scripts/slave/recipes/skia/swarm_trigger.expected/Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Coverage-Trybot.json b/scripts/slave/recipes/skia/swarm_trigger.expected/Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Coverage-Trybot.json |
index 8e1b46736cd53d06f7f09391d16c4ff2ab2a9ed4..d78b7a0a82f39545daa2f7354413982e76e72a62 100644 |
--- a/scripts/slave/recipes/skia/swarm_trigger.expected/Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Coverage-Trybot.json |
+++ b/scripts/slave/recipes/skia/swarm_trigger.expected/Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Coverage-Trybot.json |
@@ -517,7 +517,7 @@ |
"cmd": [ |
"python", |
"-u", |
- "\nimport json\nimport sys\nwith open(sys.argv[1]) as f:\n isolated = json.load(f)\nfor h in sys.argv[2:]:\n isolated['includes'].append(h)\nwith open(sys.argv[1], 'w') as f:\n json.dump(isolated, f, sort_keys=True)\n", |
+ "\nimport json\nimport sys\nwith open(sys.argv[1]) as f:\n isolated = json.load(f)\nif not isolated.get('includes'):\n isolated['includes'] = []\nfor h in sys.argv[2:]:\n isolated['includes'].append(h)\nwith open(sys.argv[1], 'w') as f:\n json.dump(isolated, f, sort_keys=True)\n", |
"[SLAVE_BUILD]/swarming_temp_dir/skia-task-test_skia.isolated", |
"[dummy hash for isolate_recipes]" |
], |
@@ -528,6 +528,8 @@ |
"@@@STEP_LOG_LINE@python.inline@import sys@@@", |
"@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@", |
"@@@STEP_LOG_LINE@python.inline@ isolated = json.load(f)@@@", |
+ "@@@STEP_LOG_LINE@python.inline@if not isolated.get('includes'):@@@", |
+ "@@@STEP_LOG_LINE@python.inline@ isolated['includes'] = []@@@", |
"@@@STEP_LOG_LINE@python.inline@for h in sys.argv[2:]:@@@", |
"@@@STEP_LOG_LINE@python.inline@ isolated['includes'].append(h)@@@", |
"@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1], 'w') as f:@@@", |