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

Side by Side Diff: src/trusted/validator_x86/build.scons

Issue 8161004: Handle ELFCLASS32 files for x86-64 (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: rebased; binary testdata committed separately Created 9 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
OLDNEW
1 # -*- python -*- 1 # -*- python -*-
2 # Copyright (c) 2011 The Native Client Authors. All rights reserved. 2 # Copyright (c) 2011 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 6
7 import os 7 import os
8 import sys 8 import sys
9 Import('env') 9 Import('env')
10 10
(...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after
386 ext = 'nval' 386 ext = 'nval'
387 node_val = test_env.CommandTest( 387 node_val = test_env.CommandTest(
388 __OutTestFile(test, base, ext), 388 __OutTestFile(test, base, ext),
389 [ncval, '--max_errors=-1', '--hex_text=-'], 389 [ncval, '--max_errors=-1', '--hex_text=-'],
390 stdin = __BaseTestFile(base, 'hex'), 390 stdin = __BaseTestFile(base, 'hex'),
391 stdout_golden = __BaseTestFile(base, ext)) 391 stdout_golden = __BaseTestFile(base, ext))
392 __AddTest(test, test_env, base, ext, node_val, 392 __AddTest(test, test_env, base, ext, node_val,
393 STANDARD_TESTS) 393 STANDARD_TESTS)
394 394
395 __AddNegMaxErrors() 395 __AddNegMaxErrors()
396
397 if test_env.Bit('target_x86_64'):
398 node = test_env.CommandTest('ncval_hello_x32.out',
399 [ncval,
400 env.File(os.path.join('${MAIN_DIR}/src/trusted',
401 'service_runtime',
402 'testdata/x86_64',
403 'hello_x32.nexe'))])
404 env.AddNodeToTestSuite(node, STANDARD_TESTS, 'run_ncval_hello_x32_test')
OLDNEW
« src/trusted/service_runtime/elf_util.c ('K') | « src/trusted/validator/ncfileutil.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698