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

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

Issue 7242011: Get rid of assumptions about ".nexe" extension. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: '' Created 9 years, 6 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/bundle_size/nacl.scons ('k') | tests/chrome_extension/nacl.scons » ('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 2011 The Native Client Authors. All rights reserved. 2 # Copyright 2011 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 this test is failing on the bots, you can find the seed 8 # If this test is failing on the bots, you can find the seed
9 # from the output of the bot. Look for "--seed=". 9 # from the output of the bot. Look for "--seed=".
10 # To reproduce the exact problem, set settings['seed'] below 10 # To reproduce the exact problem, set settings['seed'] below
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 j = (j+1) % len(envlist) 98 j = (j+1) % len(envlist)
99 99
100 # Create the module component objects 100 # Create the module component objects
101 modules = [] 101 modules = []
102 for i in xrange(num_modules): 102 for i in xrange(num_modules):
103 modules.append(module_env[i].ComponentObject(nodes[i+1])) 103 modules.append(module_env[i].ComponentObject(nodes[i+1]))
104 104
105 # Compile callingconv.c 105 # Compile callingconv.c
106 callingconv = link_env.ComponentObject('callingconv.c') 106 callingconv = link_env.ComponentObject('callingconv.c')
107 107
108 prog = link_env.ComponentProgram('callingconv.nexe', 108 prog = link_env.ComponentProgram('callingconv',
109 [callingconv] + modules) 109 [callingconv] + modules)
110 110
111 node = link_env.CommandSelLdrTestNacl( 111 node = link_env.CommandSelLdrTestNacl(
112 'callingconv.out', 112 'callingconv.out',
113 command=[prog], 113 prog,
114 stdout_golden=nodes[0]) 114 stdout_golden=nodes[0])
115 115
116 env.AddNodeToTestSuite(node, ['medium_tests'], 'run_callingconv_test', 116 env.AddNodeToTestSuite(node, ['medium_tests'], 'run_callingconv_test',
117 # This test takes too long to compile for ARM 117 # This test takes too long to compile for ARM
118 # and the resulting code doesn't pass this test. 118 # and the resulting code doesn't pass this test.
119 is_broken=env.Bit('target_arm')) 119 is_broken=env.Bit('target_arm'))
OLDNEW
« no previous file with comments | « tests/bundle_size/nacl.scons ('k') | tests/chrome_extension/nacl.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698