Index: tools/dev/gm.py |
diff --git a/tools/dev/gm.py b/tools/dev/gm.py |
index 9e6136833890cd395763c9f0d06c77693ff3e9ad..2f41b614b095f45af058661073891e4aac4dfc0c 100755 |
--- a/tools/dev/gm.py |
+++ b/tools/dev/gm.py |
@@ -288,8 +288,9 @@ def Main(argv): |
return_code = 0 |
for c in configs: |
return_code += configs[c].Build() |
- for c in configs: |
- return_code += configs[c].RunTests() |
+ if return_code == 0: |
+ for c in configs: |
+ return_code += configs[c].RunTests() |
if return_code == 0: |
_Call("notify-send 'Done!' 'V8 compilation finished successfully.'", |
silent=True) |