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 atexit | 6 import atexit |
7 import json | 7 import json |
8 import os | 8 import os |
9 import platform | 9 import platform |
10 import re | 10 import re |
(...skipping 670 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
681 # Whitelist of tests to run for Non-SFI Mode. Note that typos here will | 681 # Whitelist of tests to run for Non-SFI Mode. Note that typos here will |
682 # not be caught automatically! | 682 # not be caught automatically! |
683 # TODO(mseaborn): Eventually we should run all of small_tests instead of | 683 # TODO(mseaborn): Eventually we should run all of small_tests instead of |
684 # this whitelist. | 684 # this whitelist. |
685 nonsfi_test_whitelist = set([ | 685 nonsfi_test_whitelist = set([ |
686 'run_arm_float_abi_test', | 686 'run_arm_float_abi_test', |
687 'run_clock_get_test', | 687 'run_clock_get_test', |
688 'run_dup_test', | 688 'run_dup_test', |
689 'run_exception_test', | 689 'run_exception_test', |
690 'run_fcntl_test', | 690 'run_fcntl_test', |
| 691 'run_file_descriptor_test', |
691 'run_float_test', | 692 'run_float_test', |
692 'run_fork_test', | 693 'run_fork_test', |
693 'run_getpid_test', | 694 'run_getpid_test', |
694 'run_hello_world_test', | 695 'run_hello_world_test', |
695 'run_irt_futex_test', | 696 'run_irt_futex_test', |
696 'run_malloc_realloc_calloc_free_test', | 697 'run_malloc_realloc_calloc_free_test', |
697 'run_mmap_test', | 698 'run_mmap_test', |
698 'run_nanosleep_test', | 699 'run_nanosleep_test', |
699 'run_prctl_test', | 700 'run_prctl_test', |
700 'run_printf_test', | 701 'run_printf_test', |
(...skipping 3362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4063 nacl_env.ValidateSdk() | 4064 nacl_env.ValidateSdk() |
4064 | 4065 |
4065 if BROKEN_TEST_COUNT > 0: | 4066 if BROKEN_TEST_COUNT > 0: |
4066 msg = "There are %d broken tests." % BROKEN_TEST_COUNT | 4067 msg = "There are %d broken tests." % BROKEN_TEST_COUNT |
4067 if GetOption('brief_comstr'): | 4068 if GetOption('brief_comstr'): |
4068 msg += " Add --verbose to the command line for more information." | 4069 msg += " Add --verbose to the command line for more information." |
4069 print msg | 4070 print msg |
4070 | 4071 |
4071 # separate warnings from actual build output | 4072 # separate warnings from actual build output |
4072 Banner('B U I L D - O U T P U T:') | 4073 Banner('B U I L D - O U T P U T:') |
OLD | NEW |