X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fv8%2Ftools%2Fpresubmit.py;h=8a6ff2af13423eefad75f1f31b34ed09c15c4cab;hb=3545e9f2671f595d2a2f3ee75ca0393b01e35ef6;hp=4b22444f9eac3ec474d96898f8e5e75cf92f9581;hpb=7d210d4c7e9ba36e635eabc5b5780495f8a63292;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/v8/tools/presubmit.py b/src/v8/tools/presubmit.py index 4b22444..8a6ff2a 100755 --- a/src/v8/tools/presubmit.py +++ b/src/v8/tools/presubmit.py @@ -236,10 +236,7 @@ class CppLintProcessor(SourceFileProcessor): or (name in CppLintProcessor.IGNORE_LINT)) def GetPathsToSearch(self): - return ['src', 'include', 'samples', - join('test', 'base-unittests'), - join('test', 'cctest'), - join('test', 'compiler-unittests')] + return ['src', 'include', 'samples', join('test', 'cctest')] def GetCpplintScript(self, prio_path): for path in [prio_path] + os.environ["PATH"].split(os.pathsep): @@ -420,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 @@ -451,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