Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(51)

Side by Side Diff: tests/exception_test/nacl.scons

Issue 639113003: Add nacl-clang testing to SCons (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: ncbray comment Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tests/compiler_thread_suspension/nacl.scons ('k') | tests/fixedfeaturecpu/nacl.scons » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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(): 8 if not env.AllowInlineAssembly() or env.Bit('nacl_clang'):
9 # This file has asm that nacl_clang doesn't support properly. See
10 # https://code.google.com/p/nativeclient/issues/detail?id=3969
9 Return() 11 Return()
10 12
11 test_args = {'sel_ldr_flags': ['-e', '-E', 'OUTSIDE_BROWSER=1'], 13 test_args = {'sel_ldr_flags': ['-e', '-E', 'OUTSIDE_BROWSER=1'],
12 'declares_exit_status': True} 14 'declares_exit_status': True}
13 if env.Bit('target_arm') and env.UsingEmulator(): 15 if env.Bit('target_arm') and env.UsingEmulator():
14 test_args['sel_ldr_flags'].extend(['-E', 'UNDER_QEMU_ARM=1']) 16 test_args['sel_ldr_flags'].extend(['-E', 'UNDER_QEMU_ARM=1'])
15 17
16 helper_files = [] 18 helper_files = []
17 if env.Bit('target_x86'): 19 if env.Bit('target_x86'):
18 helper_files.append('direction_flag_x86.S') 20 helper_files.append('direction_flag_x86.S')
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 'exceptions_disabled_test', 55 'exceptions_disabled_test',
54 ['exceptions_disabled_test.c'], 56 ['exceptions_disabled_test.c'],
55 EXTRA_LIBS=['${NONIRT_LIBS}', '${EXCEPTION_LIBS}']) 57 EXTRA_LIBS=['${NONIRT_LIBS}', '${EXCEPTION_LIBS}'])
56 node = env.CommandSelLdrTestNacl( 58 node = env.CommandSelLdrTestNacl(
57 'exceptions_disabled_test.out', 59 'exceptions_disabled_test.out',
58 exceptions_disabled_test, [], 60 exceptions_disabled_test, [],
59 declares_exit_status=True) 61 declares_exit_status=True)
60 env.AddNodeToTestSuite( 62 env.AddNodeToTestSuite(
61 node, ['small_tests', 'exception_tests'], 63 node, ['small_tests', 'exception_tests'],
62 'run_exceptions_disabled_test') 64 'run_exceptions_disabled_test')
OLDNEW
« no previous file with comments | « tests/compiler_thread_suspension/nacl.scons ('k') | tests/fixedfeaturecpu/nacl.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698