| 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 import os | 6 import os |
| 7 Import('env') | 7 Import('env') |
| 8 | 8 |
| 9 if not env.Bit('linux'): Return() | 9 if not env.Bit('linux'): Return() |
| 10 | 10 |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 'arm32_decode_named.cc' , | 114 'arm32_decode_named.cc' , |
| 115 'arm32_decode_named_classes.h', | 115 'arm32_decode_named_classes.h', |
| 116 'arm32_decode_named_decoder.h'] | 116 'arm32_decode_named_decoder.h'] |
| 117 | 117 |
| 118 # Set of generated source files. | 118 # Set of generated source files. |
| 119 GEN_LIST = [_gen_file(x) for x in (GEN_TEST_LIST + GEN_OTHER_LIST)] | 119 GEN_LIST = [_gen_file(x) for x in (GEN_TEST_LIST + GEN_OTHER_LIST)] |
| 120 | 120 |
| 121 # Adds the (NEON) turned off tables to the list of generator command | 121 # Adds the (NEON) turned off tables to the list of generator command |
| 122 # line arguments. | 122 # line arguments. |
| 123 if TURNED_OFF_TABLES: | 123 if TURNED_OFF_TABLES: |
| 124 GEN_CL_ARGS += GEN_CL_ARGS + ''.join( | 124 GEN_CL_ARGS = GEN_CL_ARGS + ''.join( |
| 125 [' --table_remove=' + tbl for tbl in TURNED_OFF_TABLES]) | 125 [' --table_remove=' + tbl for tbl in TURNED_OFF_TABLES]) |
| 126 | 126 |
| 127 generate = False | 127 generate = False |
| 128 gen_env = env.Clone(); | 128 gen_env = env.Clone(); |
| 129 if 'valgen' in COMMAND_LINE_TARGETS: generate = True | 129 if 'valgen' in COMMAND_LINE_TARGETS: generate = True |
| 130 if 'valclean' in COMMAND_LINE_TARGETS: generate = True | 130 if 'valclean' in COMMAND_LINE_TARGETS: generate = True |
| 131 | 131 |
| 132 if generate: | 132 if generate: |
| 133 gen_env.AlwaysBuild(gen_env.Alias('valgen', GEN_LIST)) | 133 gen_env.AlwaysBuild(gen_env.Alias('valgen', GEN_LIST)) |
| 134 gen_env.AlwaysBuild( | 134 gen_env.AlwaysBuild( |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 266 EXTRA_LIBS=['decoder_test_tools', 'arm_validator_core']) | 266 EXTRA_LIBS=['decoder_test_tools', 'arm_validator_core']) |
| 267 | 267 |
| 268 decoder_test_node = gtest_env.CommandTest( | 268 decoder_test_node = gtest_env.CommandTest( |
| 269 'arm32_decode_' + tbl + 'tests.out', | 269 'arm32_decode_' + tbl + 'tests.out', |
| 270 command=[decoder_tests_exe], | 270 command=[decoder_tests_exe], |
| 271 scale_timeout=1000) | 271 scale_timeout=1000) |
| 272 | 272 |
| 273 gtest_env.AddNodeToTestSuite(decoder_test_node, | 273 gtest_env.AddNodeToTestSuite(decoder_test_node, |
| 274 ['huge_tests', 'arm_decoder_tests'], | 274 ['huge_tests', 'arm_decoder_tests'], |
| 275 'run_arm32_decode_' + tbl + '_tests') | 275 'run_arm32_decode_' + tbl + '_tests') |
| OLD | NEW |