OLD | NEW |
1 # -*- python -*- | 1 # -*- python -*- |
2 # Copyright 2008 The Native Client Authors. All rights reserved. | 2 # Copyright 2008 The Native Client Authors. All rights reserved. |
3 # Use of this source code is governed by a BSD-style license that can | 3 # Use of this source code is governed by a BSD-style license that can |
4 # be found in the LICENSE file. | 4 # be found in the LICENSE file. |
5 | 5 |
6 import atexit | 6 import atexit |
7 import glob | 7 import glob |
8 import os | 8 import os |
9 import stat | 9 import stat |
10 import subprocess | 10 import subprocess |
(...skipping 846 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
857 return [] | 857 return [] |
858 | 858 |
859 sel_ldr = GetSelLdr(env, loader); | 859 sel_ldr = GetSelLdr(env, loader); |
860 if not sel_ldr: | 860 if not sel_ldr: |
861 print 'WARNING: no sel_ldr found. Skipping test %s' % name | 861 print 'WARNING: no sel_ldr found. Skipping test %s' % name |
862 return [] | 862 return [] |
863 | 863 |
864 if sel_ldr_flags is None: | 864 if sel_ldr_flags is None: |
865 sel_ldr_flags = [] | 865 sel_ldr_flags = [] |
866 | 866 |
867 if GetEmulator(env): | 867 if GetEmulator(env) or env.Bit('disable_hardy64_vmware_failures'): |
868 # in emulation we skip platform qualification tests | 868 # in emulation we skip platform qualification tests |
869 # NOTE: this only affects arm with user mode emulation | 869 # NOTE: this affects arm with user mode emulation and |
| 870 # some of the hardy64 build bots using vmware. |
870 sel_ldr_flags += ['-Q'] | 871 sel_ldr_flags += ['-Q'] |
871 | 872 |
872 if env.Bit('nacl_glibc'): | 873 if env.Bit('nacl_glibc'): |
873 command = ['${NACL_SDK_LIB}/runnable-ld.so', | 874 command = ['${NACL_SDK_LIB}/runnable-ld.so', |
874 '--library-path', '${NACL_SDK_LIB}'] + command | 875 '--library-path', '${NACL_SDK_LIB}'] + command |
875 # Enable file access. | 876 # Enable file access. |
876 sel_ldr_flags += ['-a'] | 877 sel_ldr_flags += ['-a'] |
877 # TODO(mseaborn): Remove the need for the -s (stub out) option. | 878 # TODO(mseaborn): Remove the need for the -s (stub out) option. |
878 sel_ldr_flags += ['-s'] | 879 sel_ldr_flags += ['-s'] |
879 | 880 |
(...skipping 1249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2129 family_map = SanityCheckAndMapExtraction(environment_list, selected_envs) | 2130 family_map = SanityCheckAndMapExtraction(environment_list, selected_envs) |
2130 ExportSpecialFamilyVars(selected_envs, family_map) | 2131 ExportSpecialFamilyVars(selected_envs, family_map) |
2131 | 2132 |
2132 BuildEnvironments(environment_list) | 2133 BuildEnvironments(environment_list) |
2133 | 2134 |
2134 # Change default to build everything, but not run tests. | 2135 # Change default to build everything, but not run tests. |
2135 Default(['all_programs', 'all_bundles', 'all_test_programs', 'all_libraries']) | 2136 Default(['all_programs', 'all_bundles', 'all_test_programs', 'all_libraries']) |
2136 | 2137 |
2137 # separate warnings from actual build output | 2138 # separate warnings from actual build output |
2138 Banner('B U I L D - O U T P U T:') | 2139 Banner('B U I L D - O U T P U T:') |
OLD | NEW |