diff options
author | stuartmorgan@chromium.org <stuartmorgan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-09 20:12:59 +0000 |
---|---|---|
committer | stuartmorgan@chromium.org <stuartmorgan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-09 20:12:59 +0000 |
commit | d9d6e94a3864b89e130336fc199d623e6e128136 (patch) | |
tree | 85be0eb30ee2f9cd25c2a7478f4eb899607809b8 /tools/valgrind/valgrind_test.py | |
parent | abfbb15b6be3235f393ce483b90964f8cba11b0d (diff) | |
download | chromium_src-d9d6e94a3864b89e130336fc199d623e6e128136.zip chromium_src-d9d6e94a3864b89e130336fc199d623e6e128136.tar.gz chromium_src-d9d6e94a3864b89e130336fc199d623e6e128136.tar.bz2 |
Make sure we end up with an executable binary when juggling stripped binaries and fake dSYMs.
Review URL: http://codereview.chromium.org/155305
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20305 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/valgrind/valgrind_test.py')
-rwxr-xr-x | tools/valgrind/valgrind_test.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/valgrind/valgrind_test.py b/tools/valgrind/valgrind_test.py index e01ae87..66332ea 100755 --- a/tools/valgrind/valgrind_test.py +++ b/tools/valgrind/valgrind_test.py @@ -308,6 +308,7 @@ class ValgrindMac(ValgrindLinux): saved_test_command = test_command + '.stripped' os.rename(test_command, saved_test_command) shutil.copyfile(dsym_file, test_command) + shutil.copymode(saved_test_command, test_command) if needs_dsymutil: if self._options.generate_dsym: |