diff options
| author | Dave Houlton <daveh@lunarg.com> | 2017-05-17 13:25:53 -0600 |
|---|---|---|
| committer | Dave Houlton <daveh@lunarg.com> | 2017-05-18 15:00:18 -0600 |
| commit | 92732bc3bc4683cd32c7629c624e2197d3abe1d8 (patch) | |
| tree | a760b12128974be4237aebb8d6319bc8180537fb /layers | |
| parent | 7ca4501733051bec726ed9a87a352f9fa3eac327 (diff) | |
| download | usermoji-92732bc3bc4683cd32c7629c624e2197d3abe1d8.tar.xz | |
layers: Add NotTestable as a valid testname entry
Modify spec.py to add the keyword NotTestable as a valid test name.
Use for VU checks that are implemented but which have no reasonable
method of testing.
Change-Id: Icd91e91b7c85484a8c652f970edc55d978829d81
Diffstat (limited to 'layers')
| -rw-r--r-- | layers/spec.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layers/spec.py b/layers/spec.py index 155d68cd..8c1831fb 100644 --- a/layers/spec.py +++ b/layers/spec.py @@ -256,7 +256,7 @@ class Specification: db_lines.append("# <error_enum>%s<check_implemented>%s<testname>%s<api>%s<errormsg>%s<note>" % (self.delimiter, self.delimiter, self.delimiter, self.delimiter, self.delimiter)) db_lines.append("# error_enum: Unique error enum for this check of format %s<uniqueid>" % validation_error_enum_name) db_lines.append("# check_implemented: 'Y' if check has been implemented in layers, or 'N' for not implemented") - db_lines.append("# testname: Name of validation test for this check, 'Unknown' for unknown, or 'None' if not implmented") + db_lines.append("# testname: Name of validation test for this check, 'Unknown' for unknown, 'None' if not implemented, or 'NotTestable' if cannot be implemented") db_lines.append("# api: Vulkan API function that this check is related to") db_lines.append("# errormsg: The unique error message for this check that includes spec language and link") db_lines.append("# note: Free txt field with any custom notes related to the check in question") @@ -405,7 +405,7 @@ class Specification: print ("Added msg '%s' w/ enum %s to orig_core_msg_dict" % (orig_core_msg_period, enum)) self.orig_core_msg_dict[orig_core_msg_period] = [enum] # Also capture all enums that have a test and/or implementation - if self.error_db_dict[enum]['check_implemented'] == 'Y' or self.error_db_dict[enum]['testname'] not in ['None','Unknown']: + if self.error_db_dict[enum]['check_implemented'] == 'Y' or self.error_db_dict[enum]['testname'] not in ['None','Unknown','NotTestable']: print ("Recording %s with implemented value %s and testname %s" % (enum, self.error_db_dict[enum]['check_implemented'], self.error_db_dict[enum]['testname'])) self.orig_test_imp_enums.add(enum) # Values to be used for the update dict |
