| OLD | NEW |
| 1 #!/usr/bin/python | 1 #!/usr/bin/python |
| 2 # Copyright 2008, Google Inc. | 2 # Copyright 2008, Google Inc. |
| 3 # All rights reserved. | 3 # All rights reserved. |
| 4 # | 4 # |
| 5 # Redistribution and use in source and binary forms, with or without | 5 # Redistribution and use in source and binary forms, with or without |
| 6 # modification, are permitted provided that the following conditions are | 6 # modification, are permitted provided that the following conditions are |
| 7 # met: | 7 # met: |
| 8 # | 8 # |
| 9 # * Redistributions of source code must retain the above copyright | 9 # * Redistributions of source code must retain the above copyright |
| 10 # notice, this list of conditions and the following disclaimer. | 10 # notice, this list of conditions and the following disclaimer. |
| (...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 'win32': -1073741819, # -0x3ffffffb or 0xc0000005 | 183 'win32': -1073741819, # -0x3ffffffb or 0xc0000005 |
| 184 'win64': -11, | 184 'win64': -11, |
| 185 }, | 185 }, |
| 186 'untrusted_sigsegv_or_equivalent': { | 186 'untrusted_sigsegv_or_equivalent': { |
| 187 'linux2': -11, # SIGSEGV | 187 'linux2': -11, # SIGSEGV |
| 188 'darwin': -11, # SIGSEGV | 188 'darwin': -11, # SIGSEGV |
| 189 'cygwin': -1073741819, # -0x3ffffffb or 0xc0000005 | 189 'cygwin': -1073741819, # -0x3ffffffb or 0xc0000005 |
| 190 'win32': -1073741819, # -0x3ffffffb or 0xc0000005 | 190 'win32': -1073741819, # -0x3ffffffb or 0xc0000005 |
| 191 'win64': -11, | 191 'win64': -11, |
| 192 }, | 192 }, |
| 193 'trusted_sigabrt' : { |
| 194 'linux2': -6, # SIGABRT |
| 195 'darwin': -6, # SIGABRT |
| 196 'cygwin': -6, # SIGABRT |
| 197 'win32': -6, # SIGABRT |
| 198 'win64': -6, # SIGABRT |
| 199 }, |
| 193 'trusted_sigill' : { | 200 'trusted_sigill' : { |
| 194 'linux2': -11, # SIGSEGV | 201 'linux2': -11, # SIGSEGV |
| 195 'darwin': -11, # SIGBUS | 202 'darwin': -11, # SIGBUS |
| 196 'cygwin': -4, # SIGILL | 203 'cygwin': -4, # SIGILL |
| 197 'win32': -4, # SIGILL | 204 'win32': -4, # SIGILL |
| 198 'win64': -4, # SIGILL | 205 'win64': -4, # SIGILL |
| 199 }, | 206 }, |
| 200 'trusted_segfault': { | 207 'trusted_segfault': { |
| 201 'linux2': -11, # SIGSEGV | 208 'linux2': -11, # SIGSEGV |
| 202 'darwin': -10, # SIGBUS | 209 'darwin': -10, # SIGBUS |
| (...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 357 Print('WARNING: should have taken less than %f secs' % | 364 Print('WARNING: should have taken less than %f secs' % |
| 358 (GlobalSettings['time_warning'])) | 365 (GlobalSettings['time_warning'])) |
| 359 | 366 |
| 360 | 367 |
| 361 Print(SuccessMessage()) | 368 Print(SuccessMessage()) |
| 362 return 0 | 369 return 0 |
| 363 | 370 |
| 364 | 371 |
| 365 if __name__ == '__main__': | 372 if __name__ == '__main__': |
| 366 sys.exit(main(sys.argv[1:])) | 373 sys.exit(main(sys.argv[1:])) |
| OLD | NEW |