| 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('env') | 6 Import('env') |
| 7 | 7 |
| 8 if not env.AllowInlineAssembly() or env.Bit('nacl_clang'): | 8 if not env.AllowInlineAssembly(): |
| 9 # This file has asm that nacl_clang doesn't support properly. See | |
| 10 # https://code.google.com/p/nativeclient/issues/detail?id=3969 | |
| 11 Return() | 9 Return() |
| 12 | 10 |
| 13 test_args = {'sel_ldr_flags': ['-e', '-E', 'OUTSIDE_BROWSER=1'], | 11 test_args = {'sel_ldr_flags': ['-e', '-E', 'OUTSIDE_BROWSER=1'], |
| 14 'declares_exit_status': True} | 12 'declares_exit_status': True} |
| 15 if env.Bit('build_arm') and env.UsingEmulator(): | 13 if env.Bit('build_arm') and env.UsingEmulator(): |
| 16 test_args['sel_ldr_flags'].extend(['-E', 'UNDER_QEMU_ARM=1']) | 14 test_args['sel_ldr_flags'].extend(['-E', 'UNDER_QEMU_ARM=1']) |
| 17 | 15 |
| 18 helper_files = [] | 16 helper_files = [] |
| 19 if env.Bit('build_x86'): | 17 if env.Bit('build_x86'): |
| 20 helper_files.append('direction_flag_x86.S') | 18 helper_files.append('direction_flag_x86.S') |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 'exceptions_disabled_test', | 53 'exceptions_disabled_test', |
| 56 ['exceptions_disabled_test.c'], | 54 ['exceptions_disabled_test.c'], |
| 57 EXTRA_LIBS=['${NONIRT_LIBS}', '${EXCEPTION_LIBS}']) | 55 EXTRA_LIBS=['${NONIRT_LIBS}', '${EXCEPTION_LIBS}']) |
| 58 node = env.CommandSelLdrTestNacl( | 56 node = env.CommandSelLdrTestNacl( |
| 59 'exceptions_disabled_test.out', | 57 'exceptions_disabled_test.out', |
| 60 exceptions_disabled_test, [], | 58 exceptions_disabled_test, [], |
| 61 declares_exit_status=True) | 59 declares_exit_status=True) |
| 62 env.AddNodeToTestSuite( | 60 env.AddNodeToTestSuite( |
| 63 node, ['small_tests', 'exception_tests'], | 61 node, ['small_tests', 'exception_tests'], |
| 64 'run_exceptions_disabled_test') | 62 'run_exceptions_disabled_test') |
| OLD | NEW |