Revision 93f2399e lib/opcodes.py
b/lib/opcodes.py | ||
---|---|---|
137 | 137 |
_PSkipChecks = ("skip_checks", ht.EmptyList, |
138 | 138 |
ht.TListOf(ht.TElemOf(constants.VERIFY_OPTIONAL_CHECKS)), |
139 | 139 |
"Which checks to skip") |
140 |
_PIgnoreErrors = ("ignore_errors", ht.EmptyList, |
|
141 |
ht.TListOf(ht.TElemOf(constants.CV_ALL_ECODES_STRINGS)), |
|
142 |
"List of error codes that should be treated as warnings") |
|
140 | 143 |
|
141 | 144 |
#: OP_ID conversion regular expression |
142 | 145 |
_OPID_RE = re.compile("([a-z])([A-Z])") |
... | ... | |
613 | 616 |
_PDebugSimulateErrors, |
614 | 617 |
_PErrorCodes, |
615 | 618 |
_PSkipChecks, |
619 |
_PIgnoreErrors, |
|
616 | 620 |
_PVerbose, |
617 | 621 |
("group_name", None, ht.TMaybeString, "Group to verify") |
618 | 622 |
] |
... | ... | |
626 | 630 |
OP_PARAMS = [ |
627 | 631 |
_PDebugSimulateErrors, |
628 | 632 |
_PErrorCodes, |
633 |
_PIgnoreErrors, |
|
629 | 634 |
_PVerbose, |
630 | 635 |
] |
631 | 636 |
OP_RESULT = ht.TBool |
... | ... | |
647 | 652 |
_PDebugSimulateErrors, |
648 | 653 |
_PErrorCodes, |
649 | 654 |
_PSkipChecks, |
655 |
_PIgnoreErrors, |
|
650 | 656 |
_PVerbose, |
651 | 657 |
] |
652 | 658 |
OP_RESULT = ht.TBool |
Also available in: Unified diff