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

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

Issue 511253005: Added irt extension support for supplying the nacl_irt_memory interface. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Moved size declaration down Created 6 years, 3 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/irt_ext/mem_calls.c ('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) 2014 The Native Client Authors. All rights reserved. 2 # Copyright (c) 2014 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 # IRT extensions test 8 # IRT extensions test
9 9
10 # TODO(dyen): Currently IRT extensions only supports newlib. 10 # TODO(dyen): Currently IRT extensions only supports newlib.
11 if env.Bit('bitcode') or env.Bit('nacl_glibc'): 11 if env.Bit('bitcode') or env.Bit('nacl_glibc'):
12 Return() 12 Return()
13 13
14 IRT_EXT_TEST_SRCS = [ 14 IRT_EXT_TEST_SRCS = [
15 'error_report.c', 15 'error_report.c',
16 'file_desc.c', 16 'file_desc.c',
17 'mem_calls.c',
17 ] 18 ]
18 19
19 IRT_EXT_LIBC_TEST_SRCS = [ 20 IRT_EXT_LIBC_TEST_SRCS = [
20 'libc/file_tests.c', 21 'libc/file_tests.c',
21 'libc/libc_test.c', 22 'libc/libc_test.c',
23 'libc/mem_tests.c',
22 ] 24 ]
23 25
24 irt_ext_libc_test_nexe = env.ComponentProgram('irt_ext_libc_test', 26 irt_ext_libc_test_nexe = env.ComponentProgram('irt_ext_libc_test',
25 (IRT_EXT_TEST_SRCS + 27 (IRT_EXT_TEST_SRCS +
26 IRT_EXT_LIBC_TEST_SRCS), 28 IRT_EXT_LIBC_TEST_SRCS),
27 EXTRA_LIBS=['${NONIRT_LIBS}'], 29 EXTRA_LIBS=['${NONIRT_LIBS}'],
28 ) 30 )
29 31
30 node = env.CommandSelLdrTestNacl('irt_ext_libc_test.out', 32 node = env.CommandSelLdrTestNacl('irt_ext_libc_test.out',
31 irt_ext_libc_test_nexe) 33 irt_ext_libc_test_nexe)
32 34
33 env.AddNodeToTestSuite(node, ['small_tests'], 35 env.AddNodeToTestSuite(node, ['small_tests'],
34 'run_irt_ext_libc_test') 36 'run_irt_ext_libc_test')
OLDNEW
« no previous file with comments | « tests/irt_ext/mem_calls.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698