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

Side by Side Diff: tests/trusted_crash/osx_crash_forwarding/nacl.scons

Issue 778483002: Switch nacl-clang back to gas in SCons (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Created 6 years 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/thread_suspension/nacl.scons ('k') | no next file » | 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 2012 The Native Client Authors. All rights reserved. 2 # Copyright 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 8
9 # This tests an interface that is specific to Mac OS X and/or Mach. 9 # This tests an interface that is specific to Mac OS X and/or Mach.
10 if not env.Bit('host_mac'): 10 if not env.Bit('host_mac'):
11 Return() 11 Return()
12 12
13 # These tests use nexes built by other tests. Nexes do not get staged in 13 # These tests use nexes built by other tests. Nexes do not get staged in
14 # pexe mode, so only run this test in nonpexe mode. 14 # pexe mode, so only run this test in nonpexe mode.
15 if env.Bit('pnacl_generate_pexe'): 15 if env.Bit('pnacl_generate_pexe'):
16 Return() 16 Return()
17 17
18 # This test uses the nexe built by exception_test, which currently doesn't
19 # build with nacl_clang. See
20 # https://code.google.com/p/nativeclient/issues/detail?id=3969
21 if env.Bit('nacl_clang'):
22 Return()
23
24 if 'TRUSTED_ENV' not in env: 18 if 'TRUSTED_ENV' not in env:
25 Return() 19 Return()
26 trusted_env = env['TRUSTED_ENV'] 20 trusted_env = env['TRUSTED_ENV']
27 21
28 runner = trusted_env.ComponentProgram( 22 runner = trusted_env.ComponentProgram(
29 'mach_crash_forwarding_test', ['mach_crash_forwarding_test.c'], 23 'mach_crash_forwarding_test', ['mach_crash_forwarding_test.c'],
30 EXTRA_LIBS=['sel']) 24 EXTRA_LIBS=['sel'])
31 25
32 def GetNexeByName(name): 26 def GetNexeByName(name):
33 return env.File('${STAGING_DIR}/%s${PROGSUFFIX}' % 27 return env.File('${STAGING_DIR}/%s${PROGSUFFIX}' %
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 declares_exit_status=True) 67 declares_exit_status=True)
74 env.AddNodeToTestSuite(node, test_suites, 68 env.AddNodeToTestSuite(node, test_suites,
75 'run_mach_unforwarded_trusted_crash_test', 69 'run_mach_unforwarded_trusted_crash_test',
76 is_broken=is_broken) 70 is_broken=is_broken)
77 71
78 node = env.CommandTest('mach_forward_early_trusted_crash_test.out', 72 node = env.CommandTest('mach_forward_early_trusted_crash_test.out',
79 [runner, 'early_trusted'], declares_exit_status=True) 73 [runner, 'early_trusted'], declares_exit_status=True)
80 env.AddNodeToTestSuite(node, test_suites, 74 env.AddNodeToTestSuite(node, test_suites,
81 'run_mach_forward_early_trusted_crash_test', 75 'run_mach_forward_early_trusted_crash_test',
82 is_broken=is_broken) 76 is_broken=is_broken)
OLDNEW
« no previous file with comments | « tests/thread_suspension/nacl.scons ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698