aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobin Ehlis <tobine@google.com>2016-12-05 14:57:44 -0700
committerTobin Ehlis <tobine@google.com>2016-12-09 14:57:04 -0700
commit8d6556b91653f8a92af125dd0b48f65bb207bdde (patch)
tree24e62d299060a7f9f5a1c6d75384d27084ef085a
parented1595412e7ce091d6b1edddc77b2d855533939c (diff)
downloadusermoji-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-xlayers/vk_validation_stats.py2
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 != '':