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

Side by Side Diff: tests/rodata_not_writable/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/redir/nacl.scons ('k') | tests/signal_handler/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 2010 The Native Client Authors. All rights reserved. 2 # Copyright 2010 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 env.ComponentProgram('write_to_rodata.nexe', ['write_to_rodata.c']) 9 nexe = env.ComponentProgram('write_to_rodata', ['write_to_rodata.c'])
10 10
11 # We check the output to ensure that the process doesn't die for an 11 # We check the output to ensure that the process doesn't die for an
12 # unexpected reason. 12 # unexpected reason.
13 node = env.CommandSelLdrTestNacl( 13 node = env.CommandSelLdrTestNacl(
14 'write_to_rodata.out', 14 'write_to_rodata.out',
15 command=[env.File('write_to_rodata.nexe')], 15 nexe,
16 exit_status='untrusted_segfault', 16 exit_status='untrusted_segfault',
17 stdout_golden=env.File('write_to_rodata.stdout')) 17 stdout_golden=env.File('write_to_rodata.stdout'))
18 env.AddNodeToTestSuite(node, ['small_tests'], 'run_write_to_rodata_test') 18 env.AddNodeToTestSuite(node, ['small_tests'], 'run_write_to_rodata_test')
OLDNEW
« no previous file with comments | « tests/redir/nacl.scons ('k') | tests/signal_handler/nacl.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698