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

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: Created 7 years, 10 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
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-arm and qemu-mips when the
26 # fault is caught by NaCl's signal 26 # fault is caught by NaCl's signal
27 # handler. 27 # handler.
28 is_broken=(env.Bit('target_arm') and 28 is_broken=((env.Bit('target_arm') or
29 env.Bit('target_mips32')) and
Mark Seaborn 2013/02/13 22:14:09 Please just remove the env.Bit('target_arm') (and
petarj 2013/03/05 17:50:04 Done.
29 env.UsingEmulator())) 30 env.UsingEmulator()))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698