Revision: 21970
Author: [email protected]
Date: Tue Jun 24 13:56:54 2014 UTC
Log: Sync 'git cl presubmit' and 'tools/presubmit.py'
More precisely, add CheckGeneratedRuntimeTests to checks performed by
'git cl presubmit'.
[email protected]
Review URL: https://codereview.chromium.org/352583005
http://code.google.com/p/v8/source/detail?r=21970
Modified:
/branches/bleeding_edge/PRESUBMIT.py
=======================================
--- /branches/bleeding_edge/PRESUBMIT.py Tue Jun 3 13:39:42 2014 UTC
+++ /branches/bleeding_edge/PRESUBMIT.py Tue Jun 24 13:56:54 2014 UTC
@@ -41,6 +41,7 @@
input_api.PresubmitLocalPath(), 'tools'))
from presubmit import CppLintProcessor
from presubmit import SourceProcessor
+ from presubmit import CheckGeneratedRuntimeTests
results = []
if not CppLintProcessor().Run(input_api.PresubmitLocalPath()):
@@ -49,6 +50,9 @@
results.append(output_api.PresubmitError(
"Copyright header, trailing whitespaces and two empty lines " \
"between declarations check failed"))
+ if not CheckGeneratedRuntimeTests(input_api.PresubmitLocalPath()):
+ results.append(output_api.PresubmitError(
+ "Generated runtime tests check failed"))
return results
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.