diff options
| author | Tobin Ehlis <tobine@google.com> | 2016-12-05 14:57:44 -0700 |
|---|---|---|
| committer | Tobin Ehlis <tobine@google.com> | 2016-12-09 14:57:04 -0700 |
| commit | 8d6556b91653f8a92af125dd0b48f65bb207bdde (patch) | |
| tree | 24e62d299060a7f9f5a1c6d75384d27084ef085a | |
| parent | ed1595412e7ce091d6b1edddc77b2d855533939c (diff) | |
| download | usermoji-8d6556b91653f8a92af125dd0b48f65bb207bdde.tar.xz | |
scripts:Ignore VALIDATION_ERROR_UNDEFINED
VALIDATION_ERROR_UNDEFINED is a special case that shouldn't be recorded
as an actual check in the source.
| -rwxr-xr-x | layers/vk_validation_stats.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layers/vk_validation_stats.py b/layers/vk_validation_stats.py index ea5b8812..84d3dce6 100755 --- a/layers/vk_validation_stats.py +++ b/layers/vk_validation_stats.py @@ -149,7 +149,7 @@ class ValidationSource: line_list = line.split() enum = '' for str in line_list: - if 'VALIDATION_ERROR_' in str and '[VALIDATION_ERROR_' not in str: + if 'VALIDATION_ERROR_' in str and True not in [ignore_str in str for ignore_str in ['[VALIDATION_ERROR_', 'VALIDATION_ERROR_UNDEFINED']]: enum = str.strip(',);') break if enum != '': |
