OLD | NEW |
1 # -*- python -*- | 1 # -*- python -*- |
2 # Copyright 2012 The Native Client Authors. All rights reserved. | 2 # Copyright 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 Import('env') | 6 Import('env') |
7 | 7 |
8 # This test does not make any sense for pure pnacl | 8 # This test does not make any sense for pure pnacl |
9 if env.Bit('bitcode') and env.Bit('pnacl_generate_pexe'): | 9 if env.Bit('bitcode') and env.Bit('pnacl_generate_pexe'): |
10 Return() | 10 Return() |
11 | 11 |
| 12 # This test is disabled for MIPS because we do not have a MIPS-enabled nacl-gcc |
| 13 # to test PNaCl against. |
| 14 if env.Bit('target_mips32'): |
| 15 Return() |
| 16 |
12 # If this test is failing on the bots, you can find the seed | 17 # If this test is failing on the bots, you can find the seed |
13 # from the output of the bot. Look for "--seed=". | 18 # from the output of the bot. Look for "--seed=". |
14 # To reproduce the exact problem, set settings['seed'] below | 19 # To reproduce the exact problem, set settings['seed'] below |
15 # to the fixed seed you found on the bot. | 20 # to the fixed seed you found on the bot. |
16 | 21 |
17 # | 22 # |
18 # Calling Convention Test | 23 # Calling Convention Test |
19 # | 24 # |
20 # The "generate.py" script generates 4 modules (module0.c ... module3.c). | 25 # The "generate.py" script generates 4 modules (module0.c ... module3.c). |
21 # Each module has functions, and calls to other functions in other modules. | 26 # Each module has functions, and calls to other functions in other modules. |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 EXTRA_LIBS=['${NONIRT_LIBS}']) | 147 EXTRA_LIBS=['${NONIRT_LIBS}']) |
143 | 148 |
144 node = link_env.CommandSelLdrTestNacl( | 149 node = link_env.CommandSelLdrTestNacl( |
145 'callingconv.out', | 150 'callingconv.out', |
146 prog, | 151 prog, |
147 stdout_golden=nodes[0]) | 152 stdout_golden=nodes[0]) |
148 | 153 |
149 env.AddNodeToTestSuite(node, ['medium_tests', 'nonpexe_tests'], | 154 env.AddNodeToTestSuite(node, ['medium_tests', 'nonpexe_tests'], |
150 'run_callingconv_test', | 155 'run_callingconv_test', |
151 is_broken=is_broken) | 156 is_broken=is_broken) |
OLD | NEW |