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

Side by Side Diff: pnacl/driver/tests/build.scons

Issue 12459004: Adjust pnacl-translate sbtc flag override mechanism to append. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: do cpu check 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 | Annotate | Revision Log
« no previous file with comments | « pnacl/driver/pnacl-translate.py ('k') | pnacl/driver/tests/driver_test_utils.py » ('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 2012 The Native Client Authors. All rights reserved. 2 # Copyright 2012 The Native Client Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can 3 # Use of this source code is governed by a BSD-style license that can
4 # be found in the LICENSE file. 4 # be found in the LICENSE file.
5 5
6 6
7 Import('env') 7 Import('env')
8 8
9 # Depends on the opt-host version of sel_ldr and sel_universal.
10 if 'TRUSTED_ENV' not in env or env['OPTIMIZATION_LEVEL'] == 'dbg':
11 Return()
12
13 sel_universal = env['TRUSTED_ENV'].File(
14 '${STAGING_DIR}/${PROGPREFIX}sel_universal${PROGSUFFIX}')
15 sel_ldr = env.GetSelLdr()
16
9 node = env.CommandTest('pnacl_driver_tests.out', 17 node = env.CommandTest('pnacl_driver_tests.out',
10 command=['${PYTHON}', 18 command=['${PYTHON}',
11 env.File('driver_tests.py')], 19 env.File('driver_tests.py'),
20 '--platform=' + env.GetPlatform()],
12 direct_emulation=False) 21 direct_emulation=False)
13 env.AddNodeToTestSuite(node, ['small_tests'], 'run_pnacl_driver_tests') 22 env.AddNodeToTestSuite(node, ['small_tests'], 'run_pnacl_driver_tests')
14 23
24 # The pnacl-translate driver does a sanity check that sel_ldr and
25 # sel_universal are built when '--pnacl-sb' is specified.
26 # We may also want it to run the sandboxed translator all the way through
27 # to check if the sandboxed LLC got the right input.
28 env.Depends(node, sel_ldr)
29 env.Depends(node, sel_universal)
OLDNEW
« no previous file with comments | « pnacl/driver/pnacl-translate.py ('k') | pnacl/driver/tests/driver_test_utils.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698