| OLD | NEW |
| 1 #! -*- python -*- | 1 #! -*- 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 import atexit | 6 import atexit |
| 7 import os | 7 import os |
| 8 import platform | 8 import platform |
| 9 import re | 9 import re |
| 10 import subprocess | 10 import subprocess |
| (...skipping 1551 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1562 if env.Bit('tests_use_irt'): | 1562 if env.Bit('tests_use_irt'): |
| 1563 sel_ldr_flags += ['-B', nacl_env.GetIrtNexe()] | 1563 sel_ldr_flags += ['-B', nacl_env.GetIrtNexe()] |
| 1564 | 1564 |
| 1565 if skip_bootstrap: | 1565 if skip_bootstrap: |
| 1566 loader_cmd = [loader] | 1566 loader_cmd = [loader] |
| 1567 else: | 1567 else: |
| 1568 loader_cmd = env.AddBootstrap(loader, []) | 1568 loader_cmd = env.AddBootstrap(loader, []) |
| 1569 | 1569 |
| 1570 command = loader_cmd + sel_ldr_flags + ['--'] + command | 1570 command = loader_cmd + sel_ldr_flags + ['--'] + command |
| 1571 | 1571 |
| 1572 if env.Bit('host_linux'): | 1572 if env.Bit('host_linux') or env.Bit('host_mac'): |
| 1573 extra['using_nacl_signal_handler'] = True | 1573 extra['using_nacl_signal_handler'] = True |
| 1574 | 1574 |
| 1575 if env.ShouldUseVerboseOptions(extra): | 1575 if env.ShouldUseVerboseOptions(extra): |
| 1576 env.MakeVerboseExtraOptions(name, log_verbosity, extra) | 1576 env.MakeVerboseExtraOptions(name, log_verbosity, extra) |
| 1577 | 1577 |
| 1578 node = env.CommandTest(name, command, size, posix_path=True, | 1578 node = env.CommandTest(name, command, size, posix_path=True, |
| 1579 wrapper_program_prefix=wrapper_program_prefix, **extra) | 1579 wrapper_program_prefix=wrapper_program_prefix, **extra) |
| 1580 if env.Bit('tests_use_irt'): | 1580 if env.Bit('tests_use_irt'): |
| 1581 env.Alias('irt_tests', node) | 1581 env.Alias('irt_tests', node) |
| 1582 return node | 1582 return node |
| (...skipping 2090 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3673 nacl_env.ValidateSdk() | 3673 nacl_env.ValidateSdk() |
| 3674 | 3674 |
| 3675 if BROKEN_TEST_COUNT > 0: | 3675 if BROKEN_TEST_COUNT > 0: |
| 3676 msg = "There are %d broken tests." % BROKEN_TEST_COUNT | 3676 msg = "There are %d broken tests." % BROKEN_TEST_COUNT |
| 3677 if GetOption('brief_comstr'): | 3677 if GetOption('brief_comstr'): |
| 3678 msg += " Add --verbose to the command line for more information." | 3678 msg += " Add --verbose to the command line for more information." |
| 3679 print msg | 3679 print msg |
| 3680 | 3680 |
| 3681 # separate warnings from actual build output | 3681 # separate warnings from actual build output |
| 3682 Banner('B U I L D - O U T P U T:') | 3682 Banner('B U I L D - O U T P U T:') |
| OLD | NEW |