From 137087f48880139fe8bf9d984b6e42f9c7afe438 Mon Sep 17 00:00:00 2001 From: Tobin Ehlis Date: Fri, 18 Nov 2016 16:56:15 -0700 Subject: 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. --- layers/vk_validation_stats.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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: -- cgit v1.2.3