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

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

Issue 11185060: Add a test to check the initial register state for a new thread (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Use longer name Created 8 years, 2 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/common/register_set.h ('k') | tests/syscall_return_regs/syscall_return_regs_test.c » ('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 (c) 2012 The Native Client Authors. All rights reserved. 2 # Copyright (c) 2012 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 not env.AllowInlineAssembly(): 8 if not env.AllowInlineAssembly():
9 Return() 9 Return()
10 10
11 valgrind = env.ComponentObject(
12 'valgrind_annotations.o',
13 '${MAIN_DIR}/src/untrusted/valgrind/dynamic_annotations.c')
14
11 nexe = env.ComponentProgram( 15 nexe = env.ComponentProgram(
12 'syscall_return_regs_test', ['syscall_return_regs_test.c'], 16 'syscall_return_regs_test', ['syscall_return_regs_test.c'] + valgrind,
13 EXTRA_LIBS=['${NONIRT_LIBS}', 'test_common']) 17 EXTRA_LIBS=['${NONIRT_LIBS}', 'test_common'])
14 18
15 node = env.CommandSelLdrTestNacl('syscall_return_regs_test.out', nexe) 19 node = env.CommandSelLdrTestNacl('syscall_return_regs_test.out', nexe)
16 env.AddNodeToTestSuite(node, ['small_tests'], 'run_syscall_return_regs_test') 20 env.AddNodeToTestSuite(node, ['small_tests'], 'run_syscall_return_regs_test')
OLDNEW
« no previous file with comments | « tests/common/register_set.h ('k') | tests/syscall_return_regs/syscall_return_regs_test.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698