diff options
author | maruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-05 12:46:38 +0000 |
---|---|---|
committer | maruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-05 12:46:38 +0000 |
commit | f0a51fb571f46531025fa09240bbc3e1af925e84 (patch) | |
tree | 558b4f0e737fda4b9ab60f252c9c23b8a4ca523e /tools/purify/purify_coverage.py | |
parent | 6390be368205705f49ead3cec40396519f13b889 (diff) | |
download | chromium_src-f0a51fb571f46531025fa09240bbc3e1af925e84.zip chromium_src-f0a51fb571f46531025fa09240bbc3e1af925e84.tar.gz chromium_src-f0a51fb571f46531025fa09240bbc3e1af925e84.tar.bz2 |
Fixes CRLF and trailing white spaces.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10982 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/purify/purify_coverage.py')
-rw-r--r-- | tools/purify/purify_coverage.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/purify/purify_coverage.py b/tools/purify/purify_coverage.py index e2fef1c..e88af50 100644 --- a/tools/purify/purify_coverage.py +++ b/tools/purify/purify_coverage.py @@ -43,16 +43,16 @@ class PurifyCoverage(common.Rational): self._name = os.path.basename(self._exe) # _out_file can be set in common.Rational.ParseArgv if not self._out_file: - self._out_file = os.path.join(self._latest_dir, + self._out_file = os.path.join(self._latest_dir, "%s_coverage.txt" % (self._name)) self._source_dir = self._options.source_dir return True return False - + def _PurifyCommand(self): - cmd = [common.PURIFYW_PATH, "/CacheDir=" + self._cache_dir, + cmd = [common.PURIFYW_PATH, "/CacheDir=" + self._cache_dir, "/ShowInstrumentationProgress=no", "/ShowLoadLibraryProgress=no", - "/AllocCallStackLength=30", "/Coverage", + "/AllocCallStackLength=30", "/Coverage", "/CoverageDefaultInstrumentationType=line"] return cmd @@ -62,7 +62,7 @@ class PurifyCoverage(common.Rational): cmd.append("/Run=no") cmd.append(os.path.abspath(self._exe)) return common.Rational.Instrument(self, cmd) - + def Execute(self): cmd = self._PurifyCommand() cmd.append("/SaveTextData=" + self._out_file) |