OLD | NEW |
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 Loading... |
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') |
OLD | NEW |