X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Ftools%2Fvalgrind%2Fvalgrind_test.py;h=f568b5e8695df3bd56c98ee906a3239bf19350bb;hb=1afa4dd80ef85af7c90efaea6959db1d92330844;hp=29903d91629e6cb2a5242bffd3ba26ea73f993aa;hpb=90762837333c13ccf56f2ad88e4481fc71e8d281;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/tools/valgrind/valgrind_test.py b/src/tools/valgrind/valgrind_test.py index 29903d9..f568b5e 100644 --- a/src/tools/valgrind/valgrind_test.py +++ b/src/tools/valgrind/valgrind_test.py @@ -1165,44 +1165,6 @@ class RaceVerifier(object): return self.Main(args, False, min_runtime_in_seconds) -class EmbeddedTool(BaseTool): - """Abstract class for tools embedded directly into the test binary. - """ - # TODO(glider): need to override Execute() and support process chaining here. - - def ToolCommand(self): - # In the simplest case just the args of the script. - return self._args - - -class Asan(EmbeddedTool): - """AddressSanitizer, a memory error detector. - - More information at - http://dev.chromium.org/developers/testing/addresssanitizer - """ - def __init__(self): - super(Asan, self).__init__() - self._timeout = 1200 - if common.IsMac(): - self._env["DYLD_NO_PIE"] = "1" - - - def ToolName(self): - return "asan" - - def ToolCommand(self): - # TODO(glider): use pipes instead of the ugly wrapper here once they - # are supported. - procs = [os.path.join(self._source_dir, "tools", "valgrind", - "asan", "asan_wrapper.sh")] - procs.extend(self._args) - return procs - - def Analyze(sels, unused_check_sanity): - return 0 - - class ToolFactory: def Create(self, tool_name): if tool_name == "memcheck": @@ -1223,8 +1185,6 @@ class ToolFactory: return DrMemory(False, True) if tool_name == "tsan_rv": return RaceVerifier() - if tool_name == "asan": - return Asan() try: platform_name = common.PlatformNames()[0] except common.NotImplementedError: