OLD | NEW |
---|---|
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 | 6 |
7 import os | 7 import os |
8 import sys | 8 import sys |
9 Import('env') | 9 Import('env') |
10 | 10 |
(...skipping 29 matching lines...) Expand all Loading... | |
40 'validator_debug_stub_test', | 40 'validator_debug_stub_test', |
41 ['validator_debug_stub_test.cc'], | 41 ['validator_debug_stub_test.cc'], |
42 EXTRA_LIBS=['validators', 'nrd_xfer']) | 42 EXTRA_LIBS=['validators', 'nrd_xfer']) |
43 | 43 |
44 node = gtest_env.CommandTest( | 44 node = gtest_env.CommandTest( |
45 'validator_debug_stub_test.out', | 45 'validator_debug_stub_test.out', |
46 command=[validator_debug_stub_test_exe]) | 46 command=[validator_debug_stub_test_exe]) |
47 | 47 |
48 env.AddNodeToTestSuite(node, ['small_tests', 'validator_tests'], | 48 env.AddNodeToTestSuite(node, ['small_tests', 'validator_tests'], |
49 'run_validator_debug_stub_test') | 49 'run_validator_debug_stub_test') |
50 | |
51 if env.Bit('build_x86'): | |
52 gtest_env = env.MakeGTestEnv() | |
53 | |
54 validation_pnacl_mode_test_exe = gtest_env.ComponentProgram( | |
55 'validation_pnacl_mode_test', | |
56 ['validation_pnacl_mode_test.cc'], | |
57 EXTRA_LIBS=['validators', 'nrd_xfer']) | |
58 | |
59 node = gtest_env.CommandTest( | |
60 'validation_pnacl_mode_test.out', | |
61 command=[validation_pnacl_mode_test_exe]) | |
62 | |
63 env.AddNodeToTestSuite(node, ['small_tests', 'validator_tests'], | |
64 'run_pnacl_mode_test.cc') | |
Petr Hosek
2015/07/20 23:58:57
Nit: Could you please align this with the `node` a
ruiq
2015/07/21 02:52:24
Done.
| |
OLD | NEW |