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

Unified Diff: scripts/slave/runisolatedtest.py

Issue 103993007: Fix runisolatedtest.py to support 1.x .isolated files. (Closed) Base URL: https://chromium.googlesource.com/a/chromium/tools/build.git@master
Patch Set: riiiietveld Created 7 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/slave/runisolatedtest.py
diff --git a/scripts/slave/runisolatedtest.py b/scripts/slave/runisolatedtest.py
index cf199f2ab1419dfec2c13fcc44c8b852a3617c30..7d96a1e3ba8fa84876f42ea4c3e94fb3a964445d 100755
--- a/scripts/slave/runisolatedtest.py
+++ b/scripts/slave/runisolatedtest.py
@@ -104,7 +104,7 @@ def sanitize_isolated_file(isolated_file, build_dir_basename):
isolated_data = json.load(f)
# 1. check version
- if isolated_data['version'] != '1.0':
+ if isolated_data['version'].split('.', 1)[0] != '1':
logging.error('Unexpected isolate version %s', isolated_data['version'])
return 1
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698