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

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

Issue 12256018: [MIPS] Add remaining parts for building tests for MIPS (Closed) Base URL: http://src.chromium.org/native_client/trunk/src/native_client/
Patch Set: Minor cleanup. Created 7 years, 9 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
« no previous file with comments | « tests/data_not_executable/execute_data.c ('k') | tests/exception_test/exception_crash_test.c » ('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 # Do not run these tests with pexes, assuming they are portable, since 8 # Do not run these tests with pexes, assuming they are portable, since
9 # they use inline assembler. 9 # they use inline assembler.
10 if env.Bit('bitcode') and env.Bit('pnacl_generate_pexe'): 10 if env.Bit('bitcode') and env.Bit('pnacl_generate_pexe'):
11 Return() 11 Return()
12 12
13 prog_env = env.Clone() 13 prog_env = env.Clone()
14 if prog_env.Bit('bitcode'): 14 if prog_env.Bit('bitcode'):
15 prog_env.AddBiasForPNaCl() 15 prog_env.AddBiasForPNaCl()
16 16
17 nexe = prog_env.ComponentProgram('execute_data', ['execute_data.c'], 17 nexe = prog_env.ComponentProgram('execute_data', ['execute_data.c'],
18 EXTRA_LIBS=['${NONIRT_LIBS}']) 18 EXTRA_LIBS=['${NONIRT_LIBS}'])
19 19
20 node = prog_env.CommandSelLdrTestNacl( 20 node = prog_env.CommandSelLdrTestNacl(
21 'execute_data.out', nexe, declares_exit_status=True) 21 'execute_data.out', nexe, declares_exit_status=True)
22 22
23 prog_env.AddNodeToTestSuite(node, ['small_tests', 'nonpexe_tests'], 23 prog_env.AddNodeToTestSuite(node, ['small_tests', 'nonpexe_tests'],
24 'run_execute_data_test', 24 'run_execute_data_test',
25 # This test hangs on qemu-arm when the 25 # This test hangs on qemu-user when the fault
26 # fault is caught by NaCl's signal 26 # is caught by NaCl's signal handler.
27 # handler. 27 is_broken=env.UsingEmulator())
28 is_broken=(env.Bit('target_arm') and
29 env.UsingEmulator()))
OLDNEW
« no previous file with comments | « tests/data_not_executable/execute_data.c ('k') | tests/exception_test/exception_crash_test.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698