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

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

Issue 12594036: Add a scons pnacl finalize step for pnacl_generate_pexe tests. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Use StripSuffix Created 7 years, 8 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/toolchain/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 test_prog = env.ComponentProgram('test_guest', ['test_guest.c'], 9 test_prog = env.ComponentProgram('test_guest', ['test_guest.c'],
10 EXTRA_LIBS=['${NONIRT_LIBS}']) 10 EXTRA_LIBS=['${NONIRT_LIBS}'])
11 11 test_prog = env.GetTranslatedNexe(test_prog)
12 # If we are generating a pexe, translate it first
13 if env.ShouldTranslateToNexe(test_prog):
14 test_prog = env.GetTranslatedNexe(test_prog)
15 12
16 # This test covers how NaCl interacts with host-OS-specific 13 # This test covers how NaCl interacts with host-OS-specific
17 # interfaces, and it is only implemented for Windows and Linux. On 14 # interfaces, and it is only implemented for Windows and Linux. On
18 # Windows, it tests interaction with Windows' 15 # Windows, it tests interaction with Windows'
19 # SetUnhandledExceptionFilter() API. On Linux, it tests interaction 16 # SetUnhandledExceptionFilter() API. On Linux, it tests interaction
20 # with signal handling. 17 # with signal handling.
21 if not (env.Bit('host_windows') or env.Bit('host_linux')): 18 if not (env.Bit('host_windows') or env.Bit('host_linux')):
22 Return() 19 Return()
23 20
24 if 'TRUSTED_ENV' not in env: 21 if 'TRUSTED_ENV' not in env:
(...skipping 19 matching lines...) Expand all
44 declares_exit_status=True) 41 declares_exit_status=True)
45 # The test is disabled under code coverage because NaClAbort() does 42 # The test is disabled under code coverage because NaClAbort() does
46 # not call abort() in coverage mode, so the crash test does not pass. 43 # not call abort() in coverage mode, so the crash test does not pass.
47 env.AddNodeToTestSuite( 44 env.AddNodeToTestSuite(
48 node, ['small_tests'], name, 45 node, ['small_tests'], name,
49 is_broken=(not env.Bit('nacl_static_link') or 46 is_broken=(not env.Bit('nacl_static_link') or
50 trusted_env.Bit('coverage_enabled') or 47 trusted_env.Bit('coverage_enabled') or
51 # qemu-user hangs on the following test: 48 # qemu-user hangs on the following test:
52 (name == 'run_jump_to_zero_in_syscall_test' and 49 (name == 'run_jump_to_zero_in_syscall_test' and
53 env.UsingEmulator()))) 50 env.UsingEmulator())))
OLDNEW
« no previous file with comments | « tests/toolchain/nacl.scons ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698