OLD | NEW |
1 #!/usr/bin/python | 1 #!/usr/bin/python |
2 # Copyright (c) 2011 The Native Client Authors. All rights reserved. | 2 # Copyright (c) 2011 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 | 7 |
8 # | 8 # |
9 # CoverageHelper | 9 # CoverageHelper |
10 # | 10 # |
(...skipping 26 matching lines...) Expand all Loading... |
37 filters = [ | 37 filters = [ |
38 'src/trusted/sel_universal', 'src/third_party/valgrind', 'src/tools'] | 38 'src/trusted/sel_universal', 'src/third_party/valgrind', 'src/tools'] |
39 return set([os.path.realpath(path) for path in filters]) | 39 return set([os.path.realpath(path) for path in filters]) |
40 | 40 |
41 # | 41 # |
42 # Set of files to ignore because they are in the TCB but used by the | 42 # Set of files to ignore because they are in the TCB but used by the |
43 # validator. | 43 # validator. |
44 # | 44 # |
45 def Ignore(self): | 45 def Ignore(self): |
46 return set([ | 46 return set([ |
| 47 'cpu_x86_test.c', |
47 'defsize64.c', | 48 'defsize64.c', |
48 'lock_insts.c', | 49 'lock_insts.c', |
49 'lock_insts.h', | 50 'lock_insts.h', |
50 'long_mode.c', | 51 'long_mode.c', |
51 'long_mode.h', | 52 'long_mode.h', |
52 'nacl_cpuid_test.c', | |
53 'nacl_illegal.c', | 53 'nacl_illegal.c', |
54 'nacl_illegal.h', | 54 'nacl_illegal.h', |
55 'nc_read_segment.c', | 55 'nc_read_segment.c', |
56 'nc_read_segment.h', | 56 'nc_read_segment.h', |
57 'nc_rep_prefix.c', | 57 'nc_rep_prefix.c', |
58 'nc_rep_prefix.h', | 58 'nc_rep_prefix.h', |
59 'ncdecodeX87.c', | 59 'ncdecodeX87.c', |
60 'ncdecode_OF.c', | 60 'ncdecode_OF.c', |
61 'ncdecode_forms.c', | 61 'ncdecode_forms.c', |
62 'ncdecode_forms.h', | 62 'ncdecode_forms.h', |
(...skipping 27 matching lines...) Expand all Loading... |
90 def Groups(self): | 90 def Groups(self): |
91 groups = [] | 91 groups = [] |
92 groups.append(os.path.realpath('scons-out')) | 92 groups.append(os.path.realpath('scons-out')) |
93 groups.append(os.path.realpath('src/include')) | 93 groups.append(os.path.realpath('src/include')) |
94 groups.append(os.path.realpath('src/tools')) | 94 groups.append(os.path.realpath('src/tools')) |
95 groups.extend(self.GetDirList('src/trusted')) | 95 groups.extend(self.GetDirList('src/trusted')) |
96 groups.extend(self.GetDirList('src/shared')) | 96 groups.extend(self.GetDirList('src/shared')) |
97 groups.extend(self.GetDirList('src/third_party')) | 97 groups.extend(self.GetDirList('src/third_party')) |
98 groups.extend(self.GetDirList('..')) | 98 groups.extend(self.GetDirList('..')) |
99 return groups | 99 return groups |
OLD | NEW |