aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobin Ehlis <tobine@google.com>2016-11-18 16:56:15 -0700
committerTobin Ehlis <tobine@google.com>2016-11-21 06:49:00 -0700
commit137087f48880139fe8bf9d984b6e42f9c7afe438 (patch)
treebde0ac6ab209aa8a7434621e52ab873c59ee05ae
parent44c16fee922f14b35bfe6cfbf4d05db935b35c9a (diff)
downloadusermoji-137087f48880139fe8bf9d984b6e42f9c7afe438.tar.xz
scripts:Check image.cpp for unique error enums
Stats script wasn't checking image.cpp when looking for implemented unique error enums. Also updated script to include number of enums that it finds which are claiming to be implemented but not located in source.
-rwxr-xr-xlayers/vk_validation_stats.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/layers/vk_validation_stats.py b/layers/vk_validation_stats.py
index 47c593fd..56952800 100755
--- a/layers/vk_validation_stats.py
+++ b/layers/vk_validation_stats.py
@@ -46,6 +46,7 @@ layer_source_files = [
'descriptor_sets.cpp',
'parameter_validation.cpp',
'object_tracker.cpp',
+'image.cpp'
]
header_file = 'vk_validation_error_messages.h'
# TODO : Don't hardcode linux path format if we want this to run on windows
@@ -311,7 +312,7 @@ def main(argv=None):
else:
print(txt_color.red() + " Uh oh, Database claimed implemented don't match Source :(" + txt_color.endc())
if len(imp_not_found) != 0:
- print(txt_color.red() + " The following checks are claimed to be implemented in Database, but weren't found in source:" + txt_color.endc())
+ print(txt_color.red() + " The following %d checks are claimed to be implemented in Database, but weren't found in source:" % (len(imp_not_found)) + txt_color.endc())
for not_imp_enum in imp_not_found:
print(txt_color.red() + " %s" % (not_imp_enum) + txt_color.endc())
if len(imp_not_claimed) != 0: