Chromium Code Reviews| 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 # TODO(petarj): Add nacl-gcc for MIPS. | |
|
Mark Seaborn
2013/02/13 22:14:09
I doubt you plan to do this. :-) Maybe instead sa
petarj
2013/03/05 17:50:04
Done.
| |
| 13 if env.Bit('target_mips32'): | |
| 14 Return() | |
| 15 | |
| 12 # If this test is failing on the bots, you can find the seed | 16 # If this test is failing on the bots, you can find the seed |
| 13 # from the output of the bot. Look for "--seed=". | 17 # from the output of the bot. Look for "--seed=". |
| 14 # To reproduce the exact problem, set settings['seed'] below | 18 # To reproduce the exact problem, set settings['seed'] below |
| 15 # to the fixed seed you found on the bot. | 19 # to the fixed seed you found on the bot. |
| 16 | 20 |
| 17 # | 21 # |
| 18 # Calling Convention Test | 22 # Calling Convention Test |
| 19 # | 23 # |
| 20 # The "generate.py" script generates 4 modules (module0.c ... module3.c). | 24 # The "generate.py" script generates 4 modules (module0.c ... module3.c). |
| 21 # Each module has functions, and calls to other functions in other modules. | 25 # 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}']) | 146 EXTRA_LIBS=['${NONIRT_LIBS}']) |
| 143 | 147 |
| 144 node = link_env.CommandSelLdrTestNacl( | 148 node = link_env.CommandSelLdrTestNacl( |
| 145 'callingconv.out', | 149 'callingconv.out', |
| 146 prog, | 150 prog, |
| 147 stdout_golden=nodes[0]) | 151 stdout_golden=nodes[0]) |
| 148 | 152 |
| 149 env.AddNodeToTestSuite(node, ['medium_tests', 'nonpexe_tests'], | 153 env.AddNodeToTestSuite(node, ['medium_tests', 'nonpexe_tests'], |
| 150 'run_callingconv_test', | 154 'run_callingconv_test', |
| 151 is_broken=is_broken) | 155 is_broken=is_broken) |
| OLD | NEW |