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 3343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4044 nacl_env.ValidateSdk() | 4045 nacl_env.ValidateSdk() |
4045 | 4046 |
4046 if BROKEN_TEST_COUNT > 0: | 4047 if BROKEN_TEST_COUNT > 0: |
4047 msg = "There are %d broken tests." % BROKEN_TEST_COUNT | 4048 msg = "There are %d broken tests." % BROKEN_TEST_COUNT |
4048 if GetOption('brief_comstr'): | 4049 if GetOption('brief_comstr'): |
4049 msg += " Add --verbose to the command line for more information." | 4050 msg += " Add --verbose to the command line for more information." |
4050 print msg | 4051 print msg |
4051 | 4052 |
4052 # separate warnings from actual build output | 4053 # separate warnings from actual build output |
4053 Banner('B U I L D - O U T P U T:') | 4054 Banner('B U I L D - O U T P U T:') |
OLD | NEW |