scripts:Ignore VALIDATION_ERROR_UNDEFINED
VALIDATION_ERROR_UNDEFINED is a special case that shouldn't be recorded
as an actual check in the source.
diff --git a/layers/vk_validation_stats.py b/layers/vk_validation_stats.py
index ea5b881..84d3dce 100755
--- a/layers/vk_validation_stats.py
+++ b/layers/vk_validation_stats.py
@@ -149,7 +149,7 @@
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 != '':