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

Side by Side Diff: tools/command_tester.py

Issue 12450015: **/*.py: use /usr/bin/env to find python Base URL: https://chromium.googlesource.com/native_client/src/native_client@master
Patch Set: Created 7 years, 9 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 unified diff | Download patch
« no previous file with comments | « tools/code_hygiene.py ('k') | tools/coverage_helper.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/python 1 #!/usr/bin/env python
2 # Copyright (c) 2012 The Native Client Authors. All rights reserved. 2 # Copyright (c) 2012 The Native Client Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 6
7 """Simple testing harness for running commands and checking expected output. 7 """Simple testing harness for running commands and checking expected output.
8 8
9 This harness is used instead of shell scripts to ensure windows compatibility 9 This harness is used instead of shell scripts to ensure windows compatibility
10 10
11 """ 11 """
(...skipping 641 matching lines...) Expand 10 before | Expand all | Expand 10 after
653 # Bogus time, since only ProcessLogOutputCombined failed. 653 # Bogus time, since only ProcessLogOutputCombined failed.
654 Print(FailureMessage(0.0) + ' ProcessLogOutputCombined failed!') 654 Print(FailureMessage(0.0) + ' ProcessLogOutputCombined failed!')
655 return 1 655 return 1
656 return 0 656 return 0
657 657
658 if __name__ == '__main__': 658 if __name__ == '__main__':
659 retval = Main(sys.argv[1:]) 659 retval = Main(sys.argv[1:])
660 # Add some whitepsace to make the logs easier to read. 660 # Add some whitepsace to make the logs easier to read.
661 sys.stdout.write('\n\n') 661 sys.stdout.write('\n\n')
662 sys.exit(retval) 662 sys.exit(retval)
OLDNEW
« no previous file with comments | « tools/code_hygiene.py ('k') | tools/coverage_helper.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698