Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(509)

Unified Diff: test/compiler-override/my_readelf.py

Issue 164023009: Support for custom NM/readelf binaries in your toolchain. (Closed) Base URL: http://gyp.googlecode.com/svn/trunk
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: test/compiler-override/my_readelf.py
diff --git a/test/msvs/multiple_actions_error_handling/action_fail.py b/test/compiler-override/my_readelf.py
old mode 100644
new mode 100755
similarity index 61%
copy from test/msvs/multiple_actions_error_handling/action_fail.py
copy to test/compiler-override/my_readelf.py
index 286fc4e1329aa9302303cfebe3f80878267e6a45..40e303cd76f74e4b73d59e5b07097a0b7822288e
--- a/test/msvs/multiple_actions_error_handling/action_fail.py
+++ b/test/compiler-override/my_readelf.py
@@ -1,7 +1,8 @@
+#!/usr/bin/env python
# Copyright (c) 2014 Google Inc. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-
import sys
-
-sys.exit(1)
+print sys.argv
+with open('RAN_MY_READELF', 'w') as f:
+ f.write('RAN_MY_READELF')

Powered by Google App Engine
This is Rietveld 408576698