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

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

Issue 12594036: Add a scons pnacl finalize step for pnacl_generate_pexe tests. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Use StripSuffix Created 7 years, 8 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/barebones/nacl.scons ('k') | tests/gdb/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 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 Import('env') 6 Import('env')
7 7
8 if 'TRUSTED_ENV' not in env: 8 if 'TRUSTED_ENV' not in env:
9 Return() 9 Return()
10 trusted_env = env['TRUSTED_ENV'] 10 trusted_env = env['TRUSTED_ENV']
11 11
12 test_host = trusted_env.ComponentProgram( 12 test_host = trusted_env.ComponentProgram(
13 'desc_test_host', ['desc_test_host.c'], 13 'desc_test_host', ['desc_test_host.c'],
14 EXTRA_LIBS=['sel']) 14 EXTRA_LIBS=['sel'])
15 15
16 test_guest = env.ComponentProgram( 16 test_guest = env.ComponentProgram(
17 'desc_test_guest', ['desc_test_guest.c'], 17 'desc_test_guest', ['desc_test_guest.c'],
18 EXTRA_LIBS=['imc_syscalls', '${NONIRT_LIBS}']) 18 EXTRA_LIBS=['imc_syscalls', '${NONIRT_LIBS}'])
19 19
20 if env.ShouldTranslateToNexe(test_guest): 20 test_guest = env.GetTranslatedNexe(test_guest)
21 test_guest = env.GetTranslatedNexe(test_guest)
22 21
23 node = env.CommandTest('custom_desc_test.out', 22 node = env.CommandTest('custom_desc_test.out',
24 env.AddBootstrap(test_host, [test_guest])) 23 env.AddBootstrap(test_host, [test_guest]))
25 env.AddNodeToTestSuite(node, ['small_tests'], 'run_custom_desc_test', 24 env.AddNodeToTestSuite(node, ['small_tests'], 'run_custom_desc_test',
26 is_broken=not env.Bit('nacl_static_link')) 25 is_broken=not env.Bit('nacl_static_link'))
OLDNEW
« no previous file with comments | « tests/barebones/nacl.scons ('k') | tests/gdb/nacl.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698