Index: PRESUBMIT.py |
diff --git a/PRESUBMIT.py b/PRESUBMIT.py |
index 55bb99ab8ac00df15049ea96270650645a609962..9d0fbdf16dfde8cb81227814939b995b128c4fb6 100644 |
--- a/PRESUBMIT.py |
+++ b/PRESUBMIT.py |
@@ -41,7 +41,7 @@ def _V8PresubmitChecks(input_api, output_api): |
input_api.PresubmitLocalPath(), 'tools')) |
from presubmit import CppLintProcessor |
from presubmit import SourceProcessor |
- from presubmit import CheckGeneratedRuntimeTests |
+ from presubmit import CheckRuntimeVsNativesNameClashes |
from presubmit import CheckExternalReferenceRegistration |
results = [] |
@@ -51,9 +51,9 @@ def _V8PresubmitChecks(input_api, output_api): |
results.append(output_api.PresubmitError( |
"Copyright header, trailing whitespaces and two empty lines " \ |
"between declarations check failed")) |
- if not CheckGeneratedRuntimeTests(input_api.PresubmitLocalPath()): |
+ if not CheckRuntimeVsNativesNameClashes(input_api.PresubmitLocalPath()): |
results.append(output_api.PresubmitError( |
- "Generated runtime tests check failed")) |
+ "Runtime/natives name clash check failed")) |
if not CheckExternalReferenceRegistration(input_api.PresubmitLocalPath()): |
results.append(output_api.PresubmitError( |
"External references registration check failed")) |