| 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 1467 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1478 def SelUniversalTest(env, name, nexe, sel_universal_flags=None, **kwargs): | 1478 def SelUniversalTest(env, name, nexe, sel_universal_flags=None, **kwargs): |
| 1479 # The dynamic linker's ability to receive arguments over IPC at | 1479 # The dynamic linker's ability to receive arguments over IPC at |
| 1480 # startup currently requires it to reject the plugin's first | 1480 # startup currently requires it to reject the plugin's first |
| 1481 # connection, but this interferes with the sel_universal-based | 1481 # connection, but this interferes with the sel_universal-based |
| 1482 # testing because sel_universal does not retry the connection. | 1482 # testing because sel_universal does not retry the connection. |
| 1483 # TODO(mseaborn): Fix by retrying the connection or by adding an | 1483 # TODO(mseaborn): Fix by retrying the connection or by adding an |
| 1484 # option to ld.so to disable its argv-over-IPC feature. | 1484 # option to ld.so to disable its argv-over-IPC feature. |
| 1485 if env.Bit('nacl_glibc') and not env.Bit('nacl_static_link'): | 1485 if env.Bit('nacl_glibc') and not env.Bit('nacl_static_link'): |
| 1486 return [] | 1486 return [] |
| 1487 | 1487 |
| 1488 # TODO(petarj): Sel_universal hangs on qemu-mips. Enable when fixed. |
| 1489 if env.Bit('target_mips32') and env.UsingEmulator(): |
| 1490 return [] |
| 1491 |
| 1488 if sel_universal_flags is None: | 1492 if sel_universal_flags is None: |
| 1489 sel_universal_flags = [] | 1493 sel_universal_flags = [] |
| 1490 | 1494 |
| 1491 # When run under qemu, sel_universal must sneak in qemu to the execv | 1495 # When run under qemu, sel_universal must sneak in qemu to the execv |
| 1492 # call that spawns sel_ldr. | 1496 # call that spawns sel_ldr. |
| 1493 if env.UsingEmulator(): | 1497 if env.UsingEmulator(): |
| 1494 sel_universal_flags.append('--command_prefix') | 1498 sel_universal_flags.append('--command_prefix') |
| 1495 sel_universal_flags.append(env.GetEmulator()) | 1499 sel_universal_flags.append(env.GetEmulator()) |
| 1496 | 1500 |
| 1497 if 'TRUSTED_ENV' not in env: | 1501 if 'TRUSTED_ENV' not in env: |
| (...skipping 2277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3775 nacl_env.ValidateSdk() | 3779 nacl_env.ValidateSdk() |
| 3776 | 3780 |
| 3777 if BROKEN_TEST_COUNT > 0: | 3781 if BROKEN_TEST_COUNT > 0: |
| 3778 msg = "There are %d broken tests." % BROKEN_TEST_COUNT | 3782 msg = "There are %d broken tests." % BROKEN_TEST_COUNT |
| 3779 if GetOption('brief_comstr'): | 3783 if GetOption('brief_comstr'): |
| 3780 msg += " Add --verbose to the command line for more information." | 3784 msg += " Add --verbose to the command line for more information." |
| 3781 print msg | 3785 print msg |
| 3782 | 3786 |
| 3783 # separate warnings from actual build output | 3787 # separate warnings from actual build output |
| 3784 Banner('B U I L D - O U T P U T:') | 3788 Banner('B U I L D - O U T P U T:') |
| OLD | NEW |