| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # | 2 # |
| 3 # Copyright 2012 the V8 project authors. All rights reserved. | 3 # Copyright 2012 the V8 project authors. All rights reserved. |
| 4 # Redistribution and use in source and binary forms, with or without | 4 # Redistribution and use in source and binary forms, with or without |
| 5 # modification, are permitted provided that the following conditions are | 5 # modification, are permitted provided that the following conditions are |
| 6 # met: | 6 # met: |
| 7 # | 7 # |
| 8 # * Redistributions of source code must retain the above copyright | 8 # * Redistributions of source code must retain the above copyright |
| 9 # notice, this list of conditions and the following disclaimer. | 9 # notice, this list of conditions and the following disclaimer. |
| 10 # * Redistributions in binary form must reproduce the above | 10 # * Redistributions in binary form must reproduce the above |
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 187 "android_arm64", | 187 "android_arm64", |
| 188 "android_ia32", | 188 "android_ia32", |
| 189 "android_x64", | 189 "android_x64", |
| 190 "arm", | 190 "arm", |
| 191 "mips", | 191 "mips", |
| 192 "mipsel", | 192 "mipsel", |
| 193 "mips64", | 193 "mips64", |
| 194 "mips64el", | 194 "mips64el", |
| 195 "nacl_ia32", | 195 "nacl_ia32", |
| 196 "nacl_x64", | 196 "nacl_x64", |
| 197 "s390", |
| 198 "s390x", |
| 197 "x87", | 199 "x87", |
| 198 "arm64"] | 200 "arm64"] |
| 199 | 201 |
| 200 | 202 |
| 201 def BuildOptions(): | 203 def BuildOptions(): |
| 202 result = optparse.OptionParser() | 204 result = optparse.OptionParser() |
| 203 result.usage = '%prog [options] [tests]' | 205 result.usage = '%prog [options] [tests]' |
| 204 result.description = """TESTS: %s""" % (TEST_MAP["default"]) | 206 result.description = """TESTS: %s""" % (TEST_MAP["default"]) |
| 205 result.add_option("--arch", | 207 result.add_option("--arch", |
| 206 help=("The architecture to run tests for, " | 208 help=("The architecture to run tests for, " |
| (...skipping 626 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 833 "--coverage-dir=%s" % options.sancov_dir]) | 835 "--coverage-dir=%s" % options.sancov_dir]) |
| 834 except: | 836 except: |
| 835 print >> sys.stderr, "Error: Merging sancov files failed." | 837 print >> sys.stderr, "Error: Merging sancov files failed." |
| 836 exit_code = 1 | 838 exit_code = 1 |
| 837 | 839 |
| 838 return exit_code | 840 return exit_code |
| 839 | 841 |
| 840 | 842 |
| 841 if __name__ == "__main__": | 843 if __name__ == "__main__": |
| 842 sys.exit(Main()) | 844 sys.exit(Main()) |
| OLD | NEW |