-
Notifications
You must be signed in to change notification settings - Fork 1
/
.coveragerc
60 lines (49 loc) · 1.6 KB
/
.coveragerc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
[run]
omit = revelation/test/*
data_file = ./.coverage
source = ./revelation/
[report]
# Regexes for lines to exclude from consideration
exclude_lines =
# Have to re-enable the standard pragma
pragma: no cover
# Don't complain about unimplemented code:
raise NotImplementedError
# Do not report on undocumented profiling code.
if self.profile
# Don't complain about Ctrl+c
except KeyboardInterrupt
# Don't complain if tests take a path which is only used in a test harness:
def init_state
def iread
# Don't complain about code that only executes when translated.
.*we_are_translated.*
def get_printable_location
# Don't complain about every single status bit.
self._get_nth_bit_of_register
self._set_nth_bit_of_register
def CTRLMODE
# Don't complain about not generating debug output.
if self.debug.enabled('flags'):
if self.debug.enabled('rf'):
if self.debug.enabled('mem'):
if self.debug.enabled('memcheck'):
if self.debug.enabled('trace'):
if s.debug.enabled('trace'):
if self.debug.enabled('syscalls'):
if s.debug.enabled('syscalls'):
if not sparse_storage:
if self.debug.enabled_flags:
if self.logger:
s.logger.log
self.logger.log
self.logger = Logger(LOG_FILENAME)
self.memory.debug.enabled_flags
s.debug_flags()
print
# Don't complain about invalid memory accesses.
if addr > self.size:
# Don't complain about code that executes if pypy is not on the PYTHONPATH.
except ImportError:
# Don't complain about importing anything rpython related.
from rpython*