| 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 648 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 659 ]) | 659 ]) |
| 660 nacl_glibc_skiplist.update(['%s_irt' % test for test in nacl_glibc_skiplist]) | 660 nacl_glibc_skiplist.update(['%s_irt' % test for test in nacl_glibc_skiplist]) |
| 661 | 661 |
| 662 # Whitelist of tests to run for Non-SFI Mode. Note that typos here will | 662 # Whitelist of tests to run for Non-SFI Mode. Note that typos here will |
| 663 # not be caught automatically! | 663 # not be caught automatically! |
| 664 # TODO(mseaborn): Eventually we should run all of small_tests instead of | 664 # TODO(mseaborn): Eventually we should run all of small_tests instead of |
| 665 # this whitelist. | 665 # this whitelist. |
| 666 nonsfi_test_whitelist = set([ | 666 nonsfi_test_whitelist = set([ |
| 667 'run_clock_get_test', | 667 'run_clock_get_test', |
| 668 'run_dup_test', | 668 'run_dup_test', |
| 669 'run_exception_test', |
| 669 'run_fcntl_test', | 670 'run_fcntl_test', |
| 670 'run_float_test', | 671 'run_float_test', |
| 671 'run_fork_test', | 672 'run_fork_test', |
| 672 'run_getpid_test', | 673 'run_getpid_test', |
| 673 'run_hello_world_test', | 674 'run_hello_world_test', |
| 674 'run_irt_futex_test', | 675 'run_irt_futex_test', |
| 675 'run_malloc_realloc_calloc_free_test', | 676 'run_malloc_realloc_calloc_free_test', |
| 676 'run_mmap_test', | 677 'run_mmap_test', |
| 677 'run_nanosleep_test', | 678 'run_nanosleep_test', |
| 678 'run_prctl_test', | 679 'run_prctl_test', |
| (...skipping 3321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4000 nacl_env.ValidateSdk() | 4001 nacl_env.ValidateSdk() |
| 4001 | 4002 |
| 4002 if BROKEN_TEST_COUNT > 0: | 4003 if BROKEN_TEST_COUNT > 0: |
| 4003 msg = "There are %d broken tests." % BROKEN_TEST_COUNT | 4004 msg = "There are %d broken tests." % BROKEN_TEST_COUNT |
| 4004 if GetOption('brief_comstr'): | 4005 if GetOption('brief_comstr'): |
| 4005 msg += " Add --verbose to the command line for more information." | 4006 msg += " Add --verbose to the command line for more information." |
| 4006 print msg | 4007 print msg |
| 4007 | 4008 |
| 4008 # separate warnings from actual build output | 4009 # separate warnings from actual build output |
| 4009 Banner('B U I L D - O U T P U T:') | 4010 Banner('B U I L D - O U T P U T:') |
| OLD | NEW |