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

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

Issue 7411005: Bump toolchain DEPs to pull in pnacl-ld fix, and turn on (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: Created 9 years, 5 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 | « DEPS ('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 (c) 2011 The Native Client Authors. All rights reserved. 2 # Copyright (c) 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 platform 6 import platform
7 import re # For StripArchFromLDCommand hack. 7 import re # For StripArchFromLDCommand hack.
8 import os.path # For getting basenames. 8 import os.path # For getting basenames.
9 9
10 Import('env') 10 Import('env')
11 11
12 # Browser tests for the pnacl translator. 12 # Browser tests for the pnacl translator.
13 13
14 # TODO(jvoung): allow pnacl to reuse normal NaCl browser tests. 14 # TODO(jvoung): allow pnacl to reuse normal NaCl browser tests.
15 if not env.Bit('bitcode'): 15 if not env.Bit('bitcode'):
16 Return() 16 Return()
17 17
18 # With current scons native lib lookups, we can't build the pexe
19 # unless platform=x86-32.
20 # http://code.google.com/p/nativeclient/issues/detail?id=2028
21 if not env.Bit('target_x86_32'):
22 Return()
23
24 #---------------------------------------------------------------------- 18 #----------------------------------------------------------------------
25 # Get list of translator files 19 # Get list of translator files
26 20
27 # Seriously, we need to make up our minds about whether or not we 21 # Seriously, we need to make up our minds about whether or not we
28 # want a dash in the ISA string. My vote is for keeping the dash, 22 # want a dash in the ISA string. My vote is for keeping the dash,
29 # since that is what the plugin will respond with. 23 # since that is what the plugin will respond with.
30 def DashFreeArch(arch): 24 def DashFreeArch(arch):
31 return arch.replace('-', '') 25 return arch.replace('-', '')
32 26
33 # Sigh, cases where we use the dash. 27 # Sigh, cases where we use the dash.
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 args=['--enable_experimental_js']) 195 args=['--enable_experimental_js'])
202 196
203 # Make sure the files are actually staged when this test runs. 197 # Make sure the files are actually staged when this test runs.
204 env.Depends(node, replicates_toolchain + replicates_page) 198 env.Depends(node, replicates_toolchain + replicates_page)
205 199
206 bitcode_env.AddNodeToTestSuite(node, 200 bitcode_env.AddNodeToTestSuite(node,
207 ['chrome_browser_tests'], 201 ['chrome_browser_tests'],
208 'run_pnacl_srpc_hw2_browser_test', 202 'run_pnacl_srpc_hw2_browser_test',
209 is_broken=( 203 is_broken=(
210 bitcode_env.PPAPIBrowserTesterIsBroken())) 204 bitcode_env.PPAPIBrowserTesterIsBroken()))
OLDNEW
« no previous file with comments | « DEPS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698