aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMark Lobodzinski <mark@lunarg.com>2017-10-05 10:44:27 -0600
committerMark Lobodzinski <mark@lunarg.com>2017-10-06 13:36:35 -0600
commit038a014b4948eb800a70d169abe37253adae1fbb (patch)
tree0bb73ff7ead5ff454da121afda5ea33bbdd631c9 /scripts
parentab1a511e62573305e23ae35beb280abb20797678 (diff)
downloadusermoji-038a014b4948eb800a70d169abe37253adae1fbb.tar.xz
tests: Fix doc validator script
Script was intolerant of unicode characters that now show up in the spec. Change-Id: I125f12139eec395ffc8ae61e92de1428fa2ac0c6
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/vk_validation_stats.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vk_validation_stats.py b/scripts/vk_validation_stats.py
index 36346b3e..58c5c0b4 100755
--- a/scripts/vk_validation_stats.py
+++ b/scripts/vk_validation_stats.py
@@ -103,7 +103,7 @@ class ValidationDatabase:
"""Read a database file into internal data structures, format of each line is <enum><implemented Y|N?><testname><api><errormsg><notes>"""
#db_dict = {} # This is a simple db of just enum->errormsg, the same as is created from spec
#max_id = 0
- with open(self.db_file, "r") as infile:
+ with open(self.db_file, "r", encoding="utf8") as infile:
for line in infile:
line = line.strip()
if line.startswith('#') or '' == line: