Index: tools/presubmit.py |
diff --git a/tools/presubmit.py b/tools/presubmit.py |
index 73fe587176ff9ee4c4657bfc973ef264c72d099b..8a6ff2af13423eefad75f1f31b34ed09c15c4cab 100755 |
--- a/tools/presubmit.py |
+++ b/tools/presubmit.py |
@@ -417,10 +417,9 @@ class SourceProcessor(SourceFileProcessor): |
return success |
-def CheckGeneratedRuntimeTests(workspace): |
+def CheckRuntimeVsNativesNameClashes(workspace): |
code = subprocess.call( |
- [sys.executable, join(workspace, "tools", "generate-runtime-tests.py"), |
- "check"]) |
+ [sys.executable, join(workspace, "tools", "check-name-clashes.py")]) |
return code == 0 |
@@ -448,7 +447,7 @@ def Main(): |
print "Running copyright header, trailing whitespaces and " \ |
"two empty lines between declarations check..." |
success = SourceProcessor().Run(workspace) and success |
- success = CheckGeneratedRuntimeTests(workspace) and success |
+ success = CheckRuntimeVsNativesNameClashes(workspace) and success |
success = CheckExternalReferenceRegistration(workspace) and success |
if success: |
return 0 |