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

Side by Side Diff: tests/infoleak/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 if env.Bit('target_mips32'):
Mark Seaborn 2013/02/13 22:14:09 Please add a comment, either "TODO: port to MIPS"
petarj 2013/03/05 17:50:04 Removing this. It should fail until fixed.
9 Return()
10
8 if env.Bit('bitcode') and not env.Bit('pnacl_generate_pexe'): 11 if env.Bit('bitcode') and not env.Bit('pnacl_generate_pexe'):
9 env.AddBiasForPNaCl() 12 env.AddBiasForPNaCl()
10 env.PNaClForceNative() 13 env.PNaClForceNative()
11 14
12 infoleak_sources = ['test_infoleak.c'] 15 infoleak_sources = ['test_infoleak.c']
13 if env.Bit('target_arm') and not env.Bit('pnacl_generate_pexe'): 16 if env.Bit('target_arm') and not env.Bit('pnacl_generate_pexe'):
14 infoleak_sources.append('test_infoleak_arm.S') 17 infoleak_sources.append('test_infoleak_arm.S')
15 18
16 nexe = env.ComponentProgram('test_infoleak', infoleak_sources, 19 nexe = env.ComponentProgram('test_infoleak', infoleak_sources,
17 EXTRA_LIBS=['${NONIRT_LIBS}']) 20 EXTRA_LIBS=['${NONIRT_LIBS}'])
(...skipping 14 matching lines...) Expand all
32 fpu_cw_sources.append('test_fpu_control_word_arm.S') 35 fpu_cw_sources.append('test_fpu_control_word_arm.S')
33 nexe = env.ComponentProgram('test_fpu_control_word', fpu_cw_sources, 36 nexe = env.ComponentProgram('test_fpu_control_word', fpu_cw_sources,
34 EXTRA_LIBS=['${NONIRT_LIBS}']) 37 EXTRA_LIBS=['${NONIRT_LIBS}'])
35 node = env.CommandSelLdrTestNacl('test_fpu_control_word.out', nexe) 38 node = env.CommandSelLdrTestNacl('test_fpu_control_word.out', nexe)
36 env.AddNodeToTestSuite(node, 39 env.AddNodeToTestSuite(node,
37 ['small_tests', 'sel_ldr_tests'], 40 ['small_tests', 'sel_ldr_tests'],
38 'run_fpu_control_word_test', 41 'run_fpu_control_word_test',
39 # Valgrind apparenty doesn't implement 42 # Valgrind apparenty doesn't implement
40 # fnstcw;fldcw correctly. 43 # fnstcw;fldcw correctly.
41 is_broken=env.IsRunningUnderValgrind()) 44 is_broken=env.IsRunningUnderValgrind())
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698