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

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

Issue 7508011: More fixes for PNaCl Windows. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: Created 9 years, 4 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 | « site_scons/site_tools/naclsdk.py ('k') | tests/untrusted_check/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 Import('env') 6 Import('env')
7 7
8 # These tests only make sense for the PNaCl toolchain 8 # These tests only make sense for the PNaCl toolchain
9 if not env.Bit('bitcode'): 9 if not env.Bit('bitcode'):
10 Return() 10 Return()
11 11
12 # we do not have llvm's ${DISASS} when we run on ARM boxes 12 # we do not have llvm's ${DISASS} when we run on ARM boxes
13 if env.Bit('target_arm'): 13 if env.Bit('target_arm'):
14 Return() 14 Return()
15 15
16 TESTS = ['small_structs_by_value.c', 16 TESTS = ['small_structs_by_value.c',
17 'data_type.c', 17 'data_type.c',
18 ## 'vaarg.c',## todo(jasonwkim) comment out - upstream changes break th is test 18 ## 'vaarg.c',## todo(jasonwkim) comment out - upstream changes break th is test
19 ] 19 ]
20 20
21 for src in TESTS: 21 for src in TESTS:
22 name = src.split('.')[0] 22 name = src.split('.')[0]
23 node = env.ComponentObject(name + '.o', src) 23 node = env.ComponentObject(name + '.o', src)
24 test = env.CommandTest(name + '.out', 24 test = env.CommandTest(name + '.out',
25 ['${DISASS} -o -', node], 25 ['${DISASS}', '-o', '-', node],
26 stdout_golden=env.File(name + '.stdout'), 26 stdout_golden=env.File(name + '.stdout'),
27 filter_regex="'; ModuleID = '", 27 filter_regex='"; ModuleID = "',
28 filter_inverse='true', 28 filter_inverse='true',
29 ) 29 )
30 env.AddNodeToTestSuite(test, 30 env.AddNodeToTestSuite(test,
31 ['pnacl_abi_tests', 'small_tests'], 31 ['pnacl_abi_tests', 'small_tests'],
32 'run_' + name + '_test') 32 'run_' + name + '_test')
OLDNEW
« no previous file with comments | « site_scons/site_tools/naclsdk.py ('k') | tests/untrusted_check/nacl.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698