OLD | NEW |
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 Loading... |
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) |
OLD | NEW |