]> git.proxmox.com Git - mirror_qemu.git/commitdiff
qapi: Change frontend error messages to start with lower case
authorMarkus Armbruster <armbru@redhat.com>
Fri, 27 Sep 2019 13:46:19 +0000 (15:46 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Sat, 28 Sep 2019 15:17:18 +0000 (17:17 +0200)
Starting error messages with a capital letter complicates things when
text can get interpolated both at the beginning and in the middle of
an error message.  The next patch will do that.  Switch to lower case
to keep it simpler.

For what it's worth, the GNU Coding Standards advise the message
"should not begin with a capital letter when it follows a program name
and/or file name, because that isn’t the beginning of a sentence. (The
sentence conceptually starts at the beginning of the line.)"

While there, avoid breaking lines containing multiple arguments in the
middle of an argument.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20190927134639.4284-7-armbru@redhat.com>

121 files changed:
scripts/qapi/common.py
tests/qapi-schema/alternate-any.err
tests/qapi-schema/alternate-array.err
tests/qapi-schema/alternate-base.err
tests/qapi-schema/alternate-conflict-bool-string.err
tests/qapi-schema/alternate-conflict-dict.err
tests/qapi-schema/alternate-conflict-enum-bool.err
tests/qapi-schema/alternate-conflict-enum-int.err
tests/qapi-schema/alternate-conflict-num-string.err
tests/qapi-schema/alternate-conflict-string.err
tests/qapi-schema/alternate-empty.err
tests/qapi-schema/alternate-invalid-dict.err
tests/qapi-schema/alternate-nested.err
tests/qapi-schema/alternate-unknown.err
tests/qapi-schema/args-array-empty.err
tests/qapi-schema/args-array-unknown.err
tests/qapi-schema/args-member-array-bad.err
tests/qapi-schema/args-member-case.err
tests/qapi-schema/args-member-unknown.err
tests/qapi-schema/bad-type-int.err
tests/qapi-schema/base-cycle-direct.err
tests/qapi-schema/base-cycle-indirect.err
tests/qapi-schema/doc-bad-alternate-member.err
tests/qapi-schema/doc-bad-command-arg.err
tests/qapi-schema/doc-bad-symbol.err
tests/qapi-schema/doc-bad-union-member.err
tests/qapi-schema/doc-before-include.err
tests/qapi-schema/doc-before-pragma.err
tests/qapi-schema/doc-duplicated-return.err
tests/qapi-schema/doc-duplicated-since.err
tests/qapi-schema/doc-empty-arg.err
tests/qapi-schema/doc-empty-section.err
tests/qapi-schema/doc-empty-symbol.err
tests/qapi-schema/doc-invalid-end.err
tests/qapi-schema/doc-invalid-end2.err
tests/qapi-schema/doc-invalid-start.err
tests/qapi-schema/doc-missing-colon.err
tests/qapi-schema/doc-missing-expr.err
tests/qapi-schema/doc-missing-space.err
tests/qapi-schema/doc-missing.err
tests/qapi-schema/doc-no-symbol.err
tests/qapi-schema/double-type.err
tests/qapi-schema/duplicate-key.err
tests/qapi-schema/enum-bad-member.err
tests/qapi-schema/enum-bad-name.err
tests/qapi-schema/enum-bad-prefix.err
tests/qapi-schema/enum-dict-member-unknown.err
tests/qapi-schema/enum-int-member.err
tests/qapi-schema/enum-member-case.err
tests/qapi-schema/enum-missing-data.err
tests/qapi-schema/enum-wrong-data.err
tests/qapi-schema/escape-outside-string.err
tests/qapi-schema/event-boxed-empty.err
tests/qapi-schema/event-member-invalid-dict.err
tests/qapi-schema/event-nest-struct.err
tests/qapi-schema/features-bad-type.err
tests/qapi-schema/features-missing-name.err
tests/qapi-schema/features-name-bad-type.err
tests/qapi-schema/features-no-list.err
tests/qapi-schema/features-unknown-key.err
tests/qapi-schema/flat-union-array-branch.err
tests/qapi-schema/flat-union-bad-discriminator.err
tests/qapi-schema/flat-union-discriminator-bad-name.err
tests/qapi-schema/flat-union-empty.err
tests/qapi-schema/flat-union-inline-invalid-dict.err
tests/qapi-schema/flat-union-inline.err
tests/qapi-schema/flat-union-int-branch.err
tests/qapi-schema/flat-union-invalid-branch-key.err
tests/qapi-schema/flat-union-invalid-discriminator.err
tests/qapi-schema/flat-union-invalid-if-discriminator.err
tests/qapi-schema/flat-union-no-base.err
tests/qapi-schema/flat-union-optional-discriminator.err
tests/qapi-schema/flat-union-string-discriminator.err
tests/qapi-schema/funny-char.err
tests/qapi-schema/funny-word.err
tests/qapi-schema/ident-with-escape.err
tests/qapi-schema/include-before-err.err
tests/qapi-schema/include-cycle.err
tests/qapi-schema/include-extra-junk.err
tests/qapi-schema/include-nested-err.err
tests/qapi-schema/include-non-file.err
tests/qapi-schema/include-self-cycle.err
tests/qapi-schema/leading-comma-list.err
tests/qapi-schema/leading-comma-object.err
tests/qapi-schema/missing-colon.err
tests/qapi-schema/missing-comma-list.err
tests/qapi-schema/missing-comma-object.err
tests/qapi-schema/missing-type.err
tests/qapi-schema/nested-struct-data-invalid-dict.err
tests/qapi-schema/nested-struct-data.err
tests/qapi-schema/non-objects.err
tests/qapi-schema/pragma-doc-required-crap.err
tests/qapi-schema/pragma-extra-junk.err
tests/qapi-schema/pragma-name-case-whitelist-crap.err
tests/qapi-schema/pragma-non-dict.err
tests/qapi-schema/pragma-returns-whitelist-crap.err
tests/qapi-schema/pragma-unknown.err
tests/qapi-schema/quoted-structural-chars.err
tests/qapi-schema/reserved-enum-q.err
tests/qapi-schema/reserved-member-has.err
tests/qapi-schema/reserved-member-q.err
tests/qapi-schema/reserved-member-u.err
tests/qapi-schema/reserved-member-underscore.err
tests/qapi-schema/string-code-point-127.err
tests/qapi-schema/string-code-point-31.err
tests/qapi-schema/struct-member-invalid-dict.err
tests/qapi-schema/struct-member-invalid.err
tests/qapi-schema/trailing-comma-list.err
tests/qapi-schema/trailing-comma-object.err
tests/qapi-schema/unclosed-list.err
tests/qapi-schema/unclosed-object.err
tests/qapi-schema/unclosed-string.err
tests/qapi-schema/union-base-empty.err
tests/qapi-schema/union-base-no-discriminator.err
tests/qapi-schema/union-branch-case.err
tests/qapi-schema/union-branch-invalid-dict.err
tests/qapi-schema/union-empty.err
tests/qapi-schema/union-optional-branch.err
tests/qapi-schema/union-unknown.err
tests/qapi-schema/unknown-escape.err
tests/qapi-schema/unknown-expr-key.err

index ed4bff44794dc890ee50f24347faae2c6bf4064b..3d73332487b6d3d136a67394cf86d143c76e3e80 100644 (file)
@@ -207,7 +207,7 @@ class QAPIDoc(object):
             return
 
         if line[0] != ' ':
-            raise QAPIParseError(self._parser, "Missing space after #")
+            raise QAPIParseError(self._parser, "missing space after #")
         line = line[1:]
         self._append_line(line)
 
@@ -241,11 +241,11 @@ class QAPIDoc(object):
         # recognized, and get silently treated as ordinary text
         if not self.symbol and not self.body.text and line.startswith('@'):
             if not line.endswith(':'):
-                raise QAPIParseError(self._parser, "Line should end with ':'")
+                raise QAPIParseError(self._parser, "line should end with ':'")
             self.symbol = line[1:-1]
             # FIXME invalid names other than the empty string aren't flagged
             if not self.symbol:
-                raise QAPIParseError(self._parser, "Invalid name")
+                raise QAPIParseError(self._parser, "invalid name")
         elif self.symbol:
             # This is a definition documentation block
             if name.startswith('@') and name.endswith(':'):
@@ -344,7 +344,7 @@ class QAPIDoc(object):
     def _start_symbol_section(self, symbols_dict, name):
         # FIXME invalid names other than the empty string aren't flagged
         if not name:
-            raise QAPIParseError(self._parser, "Invalid parameter name")
+            raise QAPIParseError(self._parser, "invalid parameter name")
         if name in symbols_dict:
             raise QAPIParseError(self._parser,
                                  "'%s' parameter name duplicated" % name)
@@ -362,7 +362,7 @@ class QAPIDoc(object):
     def _start_section(self, name=None):
         if name in ('Returns', 'Since') and self.has_section(name):
             raise QAPIParseError(self._parser,
-                                 "Duplicated '%s' section" % name)
+                                 "duplicated '%s' section" % name)
         self._end_section()
         self._section = QAPIDoc.Section(name)
         self.sections.append(self._section)
@@ -371,8 +371,9 @@ class QAPIDoc(object):
         if self._section:
             text = self._section.text = self._section.text.strip()
             if self._section.name and (not text or text.isspace()):
-                raise QAPIParseError(self._parser, "Empty doc section '%s'"
-                                     % self._section.name)
+                raise QAPIParseError(
+                    self._parser,
+                    "empty doc section '%s'" % self._section.name)
             self._section = None
 
     def _append_freeform(self, line):
@@ -400,7 +401,7 @@ class QAPIDoc(object):
         if bogus:
             raise QAPISemError(
                 self.info,
-                "The following documented members are not in "
+                "the following documented members are not in "
                 "the declaration: %s" % ", ".join(bogus))
 
 
@@ -432,11 +433,11 @@ class QAPISchemaParser(object):
             if 'include' in expr:
                 self.reject_expr_doc(cur_doc)
                 if len(expr) != 1:
-                    raise QAPISemError(info, "Invalid 'include' directive")
+                    raise QAPISemError(info, "invalid 'include' directive")
                 include = expr['include']
                 if not isinstance(include, str):
                     raise QAPISemError(info,
-                                       "Value of 'include' must be a string")
+                                       "value of 'include' must be a string")
                 incl_fname = os.path.join(os.path.dirname(self.fname),
                                           include)
                 self.exprs.append({'expr': {'include': incl_fname},
@@ -449,11 +450,11 @@ class QAPISchemaParser(object):
             elif "pragma" in expr:
                 self.reject_expr_doc(cur_doc)
                 if len(expr) != 1:
-                    raise QAPISemError(info, "Invalid 'pragma' directive")
+                    raise QAPISemError(info, "invalid 'pragma' directive")
                 pragma = expr['pragma']
                 if not isinstance(pragma, dict):
                     raise QAPISemError(
-                        info, "Value of 'pragma' must be an object")
+                        info, "value of 'pragma' must be an object")
                 for name, value in pragma.items():
                     self._pragma(name, value, info)
             else:
@@ -462,7 +463,7 @@ class QAPISchemaParser(object):
                 if cur_doc:
                     if not cur_doc.symbol:
                         raise QAPISemError(
-                            cur_doc.info, "Definition documentation required")
+                            cur_doc.info, "definition documentation required")
                     expr_elem['doc'] = cur_doc
                 self.exprs.append(expr_elem)
             cur_doc = None
@@ -473,7 +474,7 @@ class QAPISchemaParser(object):
         if doc and doc.symbol:
             raise QAPISemError(
                 doc.info,
-                "Documentation for '%s' is not followed by the definition"
+                "documentation for '%s' is not followed by the definition"
                 % doc.symbol)
 
     def _include(self, include, info, incl_fname, previously_included):
@@ -482,7 +483,7 @@ class QAPISchemaParser(object):
         inf = info
         while inf:
             if incl_abs_fname == os.path.abspath(inf.fname):
-                raise QAPISemError(info, "Inclusion loop for %s" % include)
+                raise QAPISemError(info, "inclusion loop for %s" % include)
             inf = inf.parent
 
         # skip multiple include of the same file
@@ -503,24 +504,24 @@ class QAPISchemaParser(object):
         if name == 'doc-required':
             if not isinstance(value, bool):
                 raise QAPISemError(info,
-                                   "Pragma 'doc-required' must be boolean")
+                                   "pragma 'doc-required' must be boolean")
             doc_required = value
         elif name == 'returns-whitelist':
             if (not isinstance(value, list)
                     or any([not isinstance(elt, str) for elt in value])):
-                raise QAPISemError(info,
-                                   "Pragma returns-whitelist must be"
-                                   " a list of strings")
+                raise QAPISemError(
+                    info,
+                    "pragma returns-whitelist must be a list of strings")
             returns_whitelist = value
         elif name == 'name-case-whitelist':
             if (not isinstance(value, list)
                     or any([not isinstance(elt, str) for elt in value])):
-                raise QAPISemError(info,
-                                   "Pragma name-case-whitelist must be"
-                                   " a list of strings")
+                raise QAPISemError(
+                    info,
+                    "pragma name-case-whitelist must be a list of strings")
             name_case_whitelist = value
         else:
-            raise QAPISemError(info, "Unknown pragma '%s'" % name)
+            raise QAPISemError(info, "unknown pragma '%s'" % name)
 
     def accept(self, skip_comment=True):
         while True:
@@ -547,13 +548,13 @@ class QAPISchemaParser(object):
                     ch = self.src[self.cursor]
                     self.cursor += 1
                     if ch == '\n':
-                        raise QAPIParseError(self, "Missing terminating \"'\"")
+                        raise QAPIParseError(self, "missing terminating \"'\"")
                     if esc:
                         # Note: we recognize only \\ because we have
                         # no use for funny characters in strings
                         if ch != '\\':
                             raise QAPIParseError(self,
-                                                 "Unknown escape \\%s" % ch)
+                                                 "unknown escape \\%s" % ch)
                         esc = False
                     elif ch == '\\':
                         esc = True
@@ -563,7 +564,7 @@ class QAPISchemaParser(object):
                         return
                     if ord(ch) < 32 or ord(ch) >= 127:
                         raise QAPIParseError(
-                            self, "Funny character in string")
+                            self, "funny character in string")
                     string += ch
             elif self.src.startswith('true', self.pos):
                 self.val = True
@@ -584,7 +585,7 @@ class QAPISchemaParser(object):
                 # character
                 match = re.match('[^[\\]{}:,\\s\'"]+',
                                  self.src[self.cursor-1:])
-                raise QAPIParseError(self, "Stray '%s'" % match.group(0))
+                raise QAPIParseError(self, "stray '%s'" % match.group(0))
 
     def get_members(self):
         expr = OrderedDict()
@@ -592,24 +593,24 @@ class QAPISchemaParser(object):
             self.accept()
             return expr
         if self.tok != "'":
-            raise QAPIParseError(self, "Expected string or '}'")
+            raise QAPIParseError(self, "expected string or '}'")
         while True:
             key = self.val
             self.accept()
             if self.tok != ':':
-                raise QAPIParseError(self, "Expected ':'")
+                raise QAPIParseError(self, "expected ':'")
             self.accept()
             if key in expr:
-                raise QAPIParseError(self, "Duplicate key '%s'" % key)
+                raise QAPIParseError(self, "duplicate key '%s'" % key)
             expr[key] = self.get_expr(True)
             if self.tok == '}':
                 self.accept()
                 return expr
             if self.tok != ',':
-                raise QAPIParseError(self, "Expected ',' or '}'")
+                raise QAPIParseError(self, "expected ',' or '}'")
             self.accept()
             if self.tok != "'":
-                raise QAPIParseError(self, "Expected string")
+                raise QAPIParseError(self, "expected string")
 
     def get_values(self):
         expr = []
@@ -618,19 +619,19 @@ class QAPISchemaParser(object):
             return expr
         if self.tok not in "{['tfn":
             raise QAPIParseError(
-                self, "Expected '{', '[', ']', string, boolean or 'null'")
+                self, "expected '{', '[', ']', string, boolean or 'null'")
         while True:
             expr.append(self.get_expr(True))
             if self.tok == ']':
                 self.accept()
                 return expr
             if self.tok != ',':
-                raise QAPIParseError(self, "Expected ',' or ']'")
+                raise QAPIParseError(self, "expected ',' or ']'")
             self.accept()
 
     def get_expr(self, nested):
         if self.tok != '{' and not nested:
-            raise QAPIParseError(self, "Expected '{'")
+            raise QAPIParseError(self, "expected '{'")
         if self.tok == '{':
             self.accept()
             expr = self.get_members()
@@ -642,13 +643,13 @@ class QAPISchemaParser(object):
             self.accept()
         else:
             raise QAPIParseError(
-                self, "Expected '{', '[', string, boolean or 'null'")
+                self, "expected '{', '[', string, boolean or 'null'")
         return expr
 
     def get_doc(self, info):
         if self.val != '##':
-            raise QAPIParseError(self, "Junk after '##' at start of "
-                                 "documentation comment")
+            raise QAPIParseError(
+                self, "junk after '##' at start of documentation comment")
 
         doc = QAPIDoc(self, info)
         self.accept(False)
@@ -656,8 +657,9 @@ class QAPISchemaParser(object):
             if self.val.startswith('##'):
                 # End of doc comment
                 if self.val != '##':
-                    raise QAPIParseError(self, "Junk after '##' at end of "
-                                         "documentation comment")
+                    raise QAPIParseError(
+                        self,
+                        "junk after '##' at end of documentation comment")
                 doc.end_comment()
                 self.accept()
                 return doc
@@ -665,7 +667,7 @@ class QAPISchemaParser(object):
                 doc.append(self.val)
             self.accept(False)
 
-        raise QAPIParseError(self, "Documentation comment must end with '##'")
+        raise QAPIParseError(self, "documentation comment must end with '##'")
 
 
 #
@@ -804,18 +806,18 @@ def check_type(info, source, value,
 
     # value is a dictionary, check that each member is okay
     for (key, arg) in value.items():
-        check_name(info, "Member of %s" % source, key,
+        check_name(info, "member of %s" % source, key,
                    allow_optional=True, permit_upper=permit_upper)
         if c_name(key, False) == 'u' or c_name(key, False).startswith('has_'):
-            raise QAPISemError(info, "Member of %s uses reserved name '%s'"
-                               % (source, key))
+            raise QAPISemError(
+                info, "member of %s uses reserved name '%s'" % (source, key))
         # Todo: allow dictionaries to represent default values of
         # an optional argument.
         check_known_keys(info, "member '%s' of %s" % (key, source),
                          arg, ['type'], ['if'])
         check_if(arg, info)
         normalize_if(arg)
-        check_type(info, "Member '%s' of %s" % (key, source),
+        check_type(info, "member '%s' of %s" % (key, source),
                    arg['type'], allow_array=True,
                    allow_metas=['built-in', 'union', 'alternate', 'struct',
                                 'enum'])
@@ -868,8 +870,8 @@ def check_union(expr, info):
         enum_values = members.keys()
         allow_metas = ['built-in', 'union', 'alternate', 'struct', 'enum']
         if base is not None:
-            raise QAPISemError(info, "Simple union '%s' must not have a base" %
-                               name)
+            raise QAPISemError(
+                info, "simple union '%s' must not have a base" % name)
 
     # Else, it's a flat union.
     else:
@@ -878,46 +880,47 @@ def check_union(expr, info):
                    base, allow_dict=name,
                    allow_metas=['struct'])
         if not base:
-            raise QAPISemError(info, "Flat union '%s' must have a base"
-                               % name)
+            raise QAPISemError(
+                info, "flat union '%s' must have a base" % name)
         base_members = find_base_members(base)
         assert base_members is not None
 
         # The value of member 'discriminator' must name a non-optional
         # member of the base struct.
-        check_name(info, "Discriminator of flat union '%s'" % name,
+        check_name(info, "discriminator of flat union '%s'" % name,
                    discriminator)
         discriminator_value = base_members.get(discriminator)
         if not discriminator_value:
             raise QAPISemError(info,
-                               "Discriminator '%s' is not a member of 'base'"
+                               "discriminator '%s' is not a member of 'base'"
                                % discriminator)
         if discriminator_value.get('if'):
             raise QAPISemError(
                 info,
-                "The discriminator '%s' for union %s must not be conditional"
+                "the discriminator '%s' for union %s must not be conditional"
                 % (discriminator, name))
         enum_define = enum_types.get(discriminator_value['type'])
         # Do not allow string discriminator
         if not enum_define:
-            raise QAPISemError(info,
-                               "Discriminator '%s' must be of enumeration "
-                               "type" % discriminator)
+            raise QAPISemError(
+                info,
+                "discriminator '%s' must be of enumeration type"
+                % discriminator)
         enum_values = enum_get_names(enum_define)
         allow_metas = ['struct']
 
     if (len(enum_values) == 0):
-        raise QAPISemError(info, "Union '%s' has no branches" % name)
+        raise QAPISemError(info, "union '%s' has no branches" % name)
 
     for (key, value) in members.items():
-        check_name(info, "Member of union '%s'" % name, key)
+        check_name(info, "member of union '%s'" % name, key)
 
         check_known_keys(info, "member '%s' of union '%s'" % (key, name),
                          value, ['type'], ['if'])
         check_if(value, info)
         normalize_if(value)
         # Each value must name a known type
-        check_type(info, "Member '%s' of union '%s'" % (key, name),
+        check_type(info, "member '%s' of union '%s'" % (key, name),
                    value['type'],
                    allow_array=not base, allow_metas=allow_metas)
 
@@ -925,10 +928,10 @@ def check_union(expr, info):
         # of 'data' must also be members of the enum type.
         if discriminator is not None:
             if key not in enum_values:
-                raise QAPISemError(info,
-                                   "Discriminator value '%s' is not found in "
-                                   "enum '%s'"
-                                   % (key, enum_define['enum']))
+                raise QAPISemError(
+                    info,
+                    "discriminator value '%s' is not found in enum '%s'"
+                    % (key, enum_define['enum']))
 
 
 def check_alternate(expr, info):
@@ -938,9 +941,9 @@ def check_alternate(expr, info):
 
     if len(members) == 0:
         raise QAPISemError(info,
-                           "Alternate '%s' cannot have empty 'data'" % name)
+                           "alternate '%s' cannot have empty 'data'" % name)
     for (key, value) in members.items():
-        check_name(info, "Member of alternate '%s'" % name, key)
+        check_name(info, "member of alternate '%s'" % name, key)
         check_known_keys(info,
                          "member '%s' of alternate '%s'" % (key, name),
                          value, ['type'], ['if'])
@@ -949,12 +952,14 @@ def check_alternate(expr, info):
         typ = value['type']
 
         # Ensure alternates have no type conflicts.
-        check_type(info, "Member '%s' of alternate '%s'" % (key, name), typ,
+        check_type(info, "member '%s' of alternate '%s'" % (key, name), typ,
                    allow_metas=['built-in', 'union', 'struct', 'enum'])
         qtype = find_alternate_member_qtype(typ)
         if not qtype:
-            raise QAPISemError(info, "Alternate '%s' member '%s' cannot use "
-                               "type '%s'" % (name, key, typ))
+            raise QAPISemError(
+                info,
+                "alternate '%s' member '%s' cannot use type '%s'"
+                % (name, key, typ))
         conflicting = set([qtype])
         if qtype == 'QTYPE_QSTRING':
             enum_expr = enum_types.get(typ)
@@ -969,9 +974,11 @@ def check_alternate(expr, info):
                 conflicting.add('QTYPE_QBOOL')
         for qt in conflicting:
             if qt in types_seen:
-                raise QAPISemError(info, "Alternate '%s' member '%s' can't "
-                                   "be distinguished from member '%s'"
-                                   % (name, key, types_seen[qt]))
+                raise QAPISemError(
+                    info,
+                    "alternate '%s' member '%s' can't be distinguished "
+                    "from member '%s'"
+                    % (name, key, types_seen[qt]))
             types_seen[qt] = key
 
 
@@ -982,10 +989,10 @@ def check_enum(expr, info):
 
     if not isinstance(members, list):
         raise QAPISemError(info,
-                           "Enum '%s' requires an array for 'data'" % name)
+                           "enum '%s' requires an array for 'data'" % name)
     if prefix is not None and not isinstance(prefix, str):
         raise QAPISemError(info,
-                           "Enum '%s' requires a string for 'prefix'" % name)
+                           "enum '%s' requires a string for 'prefix'" % name)
 
     permit_upper = name in name_case_whitelist
 
@@ -994,7 +1001,7 @@ def check_enum(expr, info):
                          ['name'], ['if'])
         check_if(member, info)
         normalize_if(member)
-        check_name(info, "Member of enum '%s'" % name, member['name'],
+        check_name(info, "member of enum '%s'" % name, member['name'],
                    enum_member=True, permit_upper=permit_upper)
 
 
@@ -1010,9 +1017,8 @@ def check_struct(expr, info):
 
     if features:
         if not isinstance(features, list):
-            raise QAPISemError(info,
-                               "Struct '%s' requires an array for 'features'" %
-                               name)
+            raise QAPISemError(
+                info, "struct '%s' requires an array for 'features'" % name)
         for f in features:
             assert isinstance(f, dict)
             check_known_keys(info, "feature of struct %s" % name, f,
@@ -1020,7 +1026,7 @@ def check_struct(expr, info):
 
             check_if(f, info)
             normalize_if(f)
-            check_name(info, "Feature of struct %s" % name, f['name'])
+            check_name(info, "feature of struct %s" % name, f['name'])
 
 
 def check_known_keys(info, source, value, required, optional):
@@ -1030,15 +1036,19 @@ def check_known_keys(info, source, value, required, optional):
 
     missing = set(required) - set(value)
     if missing:
-        raise QAPISemError(info, "Key%s %s %s missing from %s"
-                           % ('s' if len(missing) > 1 else '', pprint(missing),
-                              'are' if len(missing) > 1 else 'is', source))
+        raise QAPISemError(
+            info,
+            "key%s %s %s missing from %s"
+            % ('s' if len(missing) > 1 else '', pprint(missing),
+               'are' if len(missing) > 1 else 'is', source))
     allowed = set(required + optional)
     unknown = set(value) - allowed
     if unknown:
-        raise QAPISemError(info, "Unknown key%s %s in %s\nValid keys are %s."
-                           % ('s' if len(unknown) > 1 else '', pprint(unknown),
-                              source, pprint(allowed)))
+        raise QAPISemError(
+            info,
+            "unknown key%s %s in %s\nValid keys are %s."
+            % ('s' if len(unknown) > 1 else '', pprint(unknown),
+               source, pprint(allowed)))
 
 
 def check_keys(expr, info, meta, required, optional=[]):
@@ -1106,7 +1116,7 @@ def check_exprs(exprs):
 
         if not doc and doc_required:
             raise QAPISemError(info,
-                               "Definition missing documentation comment")
+                               "definition missing documentation comment")
 
         if 'enum' in expr:
             meta = 'enum'
@@ -1142,14 +1152,16 @@ def check_exprs(exprs):
             check_keys(expr, info, 'event', [], ['data', 'boxed', 'if'])
             normalize_members(expr.get('data'))
         else:
-            raise QAPISemError(info, "Expression is missing metatype")
+            raise QAPISemError(info, "expression is missing metatype")
         normalize_if(expr)
         name = expr[meta]
         add_name(name, info, meta)
         info.set_defn(meta, name)
         if doc and doc.symbol != name:
-            raise QAPISemError(info, "Definition of '%s' follows documentation"
-                               " for '%s'" % (name, doc.symbol))
+            raise QAPISemError(
+                info,
+                "definition of '%s' follows documentation for '%s'"
+                % (name, doc.symbol))
 
     # Validate that exprs make sense
     for expr_elem in exprs:
@@ -1462,7 +1474,7 @@ class QAPISchemaObjectType(QAPISchemaType):
         if self._checked:
             # Recursed: C struct contains itself
             raise QAPISemError(self.info,
-                               "Object %s contains itself" % self.name)
+                               "object %s contains itself" % self.name)
 
         QAPISchemaType.check(self, schema)
         assert self._checked and self.members is None
@@ -1734,7 +1746,7 @@ class QAPISchemaCommand(QAPISchemaEntity):
             assert isinstance(self.arg_type, QAPISchemaObjectType)
             assert not self.arg_type.variants or self.boxed
         elif self.boxed:
-            raise QAPISemError(self.info, "Use of 'boxed' requires 'data'")
+            raise QAPISemError(self.info, "use of 'boxed' requires 'data'")
         if self._ret_type_name:
             self.ret_type = schema.lookup_type(self._ret_type_name)
             assert isinstance(self.ret_type, QAPISchemaType)
@@ -1763,7 +1775,7 @@ class QAPISchemaEvent(QAPISchemaEntity):
             assert isinstance(self.arg_type, QAPISchemaObjectType)
             assert not self.arg_type.variants or self.boxed
         elif self.boxed:
-            raise QAPISemError(self.info, "Use of 'boxed' requires 'data'")
+            raise QAPISemError(self.info, "use of 'boxed' requires 'data'")
 
     def visit(self, visitor):
         QAPISchemaEntity.visit(self, visitor)
index 177a11cc1277ad7170fd5eecdd59ed29b06fce07..53147607751fe99bff759d34f05f952fea27c2ed 100644 (file)
@@ -1,2 +1,2 @@
 tests/qapi-schema/alternate-any.json: In alternate 'Alt':
-tests/qapi-schema/alternate-any.json:2: Alternate 'Alt' member 'one' cannot use type 'any'
+tests/qapi-schema/alternate-any.json:2: alternate 'Alt' member 'one' cannot use type 'any'
index f16f266c76a87e9f67ff889ab48d86acf13f5d50..a72e4b274dd9aaa62438894f47e706ad6f7ec56f 100644 (file)
@@ -1,2 +1,2 @@
 tests/qapi-schema/alternate-array.json: In alternate 'Alt':
-tests/qapi-schema/alternate-array.json:5: Member 'two' of alternate 'Alt' cannot be an array
+tests/qapi-schema/alternate-array.json:5: member 'two' of alternate 'Alt' cannot be an array
index ebe05bc8984cb01ebd1ef1a26347fa7735491842..4c9158db02417effdb1e11416a62ed280a522c5b 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/alternate-base.json:4: Unknown key 'base' in alternate 'Alt'
+tests/qapi-schema/alternate-base.json:4: unknown key 'base' in alternate 'Alt'
 Valid keys are 'alternate', 'data', 'if'.
index edfd36b7ad60f3c6e67b30e170a7443ff2902b01..e2b89f3cacbf09f0294edafc7663e3f85efb0248 100644 (file)
@@ -1,2 +1,2 @@
 tests/qapi-schema/alternate-conflict-bool-string.json: In alternate 'Alt':
-tests/qapi-schema/alternate-conflict-bool-string.json:2: Alternate 'Alt' member 'two' can't be distinguished from member 'one'
+tests/qapi-schema/alternate-conflict-bool-string.json:2: alternate 'Alt' member 'two' can't be distinguished from member 'one'
index 61ae93273a36ad246b175e449fb61180f69495ed..e3f7d9072d89f57d605a6121d4b5f7ffab0ba1c4 100644 (file)
@@ -1,2 +1,2 @@
 tests/qapi-schema/alternate-conflict-dict.json: In alternate 'Alt':
-tests/qapi-schema/alternate-conflict-dict.json:6: Alternate 'Alt' member 'two' can't be distinguished from member 'one'
+tests/qapi-schema/alternate-conflict-dict.json:6: alternate 'Alt' member 'two' can't be distinguished from member 'one'
index b006d1efbc56446348cca79b26d0af8d85bb9464..d0fe1433fc199f47e3a7577a2025c547b80accfd 100644 (file)
@@ -1,2 +1,2 @@
 tests/qapi-schema/alternate-conflict-enum-bool.json: In alternate 'Alt':
-tests/qapi-schema/alternate-conflict-enum-bool.json:4: Alternate 'Alt' member 'two' can't be distinguished from member 'one'
+tests/qapi-schema/alternate-conflict-enum-bool.json:4: alternate 'Alt' member 'two' can't be distinguished from member 'one'
index 817b5c01913f947317135dd7d40235cee34b54ec..866428b1d1024f26cbd1eabb17dd322ff5672e87 100644 (file)
@@ -1,2 +1,2 @@
 tests/qapi-schema/alternate-conflict-enum-int.json: In alternate 'Alt':
-tests/qapi-schema/alternate-conflict-enum-int.json:4: Alternate 'Alt' member 'two' can't be distinguished from member 'one'
+tests/qapi-schema/alternate-conflict-enum-int.json:4: alternate 'Alt' member 'two' can't be distinguished from member 'one'
index abc188e0a6eae9ee1a9cfcd46c51922ac4146572..d00975453ec5d68ea3f61d745a2220cc25aa5057 100644 (file)
@@ -1,2 +1,2 @@
 tests/qapi-schema/alternate-conflict-num-string.json: In alternate 'Alt':
-tests/qapi-schema/alternate-conflict-num-string.json:2: Alternate 'Alt' member 'two' can't be distinguished from member 'one'
+tests/qapi-schema/alternate-conflict-num-string.json:2: alternate 'Alt' member 'two' can't be distinguished from member 'one'
index 77ccd80cd733b47fd1f37494a3dc1468898e0bc6..0231f4fed1b03e539c52bfd15dbf65e026b5b8c1 100644 (file)
@@ -1,2 +1,2 @@
 tests/qapi-schema/alternate-conflict-string.json: In alternate 'Alt':
-tests/qapi-schema/alternate-conflict-string.json:2: Alternate 'Alt' member 'two' can't be distinguished from member 'one'
+tests/qapi-schema/alternate-conflict-string.json:2: alternate 'Alt' member 'two' can't be distinguished from member 'one'
index 9daac031e47a9c3ca0a7649b3bc67d1b1dc84cf2..db92d70f10869a0412c0fcd99ef13e7369a25fda 100644 (file)
@@ -1,2 +1,2 @@
 tests/qapi-schema/alternate-empty.json: In alternate 'Alt':
-tests/qapi-schema/alternate-empty.json:2: Alternate 'Alt' cannot have empty 'data'
+tests/qapi-schema/alternate-empty.json:2: alternate 'Alt' cannot have empty 'data'
index 701db8cdcededf5b6c1d28d2f4161d9a680c0e54..f85b941750edb4fe7ce0c1ebfd2305735e2f12bd 100644 (file)
@@ -1,2 +1,2 @@
 tests/qapi-schema/alternate-invalid-dict.json: In alternate 'Alt':
-tests/qapi-schema/alternate-invalid-dict.json:2: Key 'type' is missing from member 'two' of alternate 'Alt'
+tests/qapi-schema/alternate-invalid-dict.json:2: key 'type' is missing from member 'two' of alternate 'Alt'
index 4ab5328025962632ac653b98aa97c72d7bc80a15..03fb9fb2125588fc6ab5fa95d81f82e1ebd8c361 100644 (file)
@@ -1,2 +1,2 @@
 tests/qapi-schema/alternate-nested.json: In alternate 'Alt2':
-tests/qapi-schema/alternate-nested.json:4: Member 'nested' of alternate 'Alt2' cannot use alternate type 'Alt1'
+tests/qapi-schema/alternate-nested.json:4: member 'nested' of alternate 'Alt2' cannot use alternate type 'Alt1'
index 5bd473325eaf6ecc683a710ff4a4959fc939a1e2..7a533b2b746ac524985aa05027ae34eab806bd20 100644 (file)
@@ -1,2 +1,2 @@
 tests/qapi-schema/alternate-unknown.json: In alternate 'Alt':
-tests/qapi-schema/alternate-unknown.json:2: Member 'unknown' of alternate 'Alt' uses unknown type 'MissingType'
+tests/qapi-schema/alternate-unknown.json:2: member 'unknown' of alternate 'Alt' uses unknown type 'MissingType'
index fb95f0c4deba60671af71dd86a72f66286059d31..fe1480671bf85f53452e8817ce4ba56fda3672ee 100644 (file)
@@ -1,2 +1,2 @@
 tests/qapi-schema/args-array-empty.json: In command 'oops':
-tests/qapi-schema/args-array-empty.json:2: Member 'empty' of 'data' for command 'oops': array type must contain single type name
+tests/qapi-schema/args-array-empty.json:2: member 'empty' of 'data' for command 'oops': array type must contain single type name
index c88a5612b26aab6fb1182cd94284778f8a203fd9..57b0d8972e32d41a63a71e452d41767536dce479 100644 (file)
@@ -1,2 +1,2 @@
 tests/qapi-schema/args-array-unknown.json: In command 'oops':
-tests/qapi-schema/args-array-unknown.json:2: Member 'array' of 'data' for command 'oops' uses unknown type 'NoSuchType'
+tests/qapi-schema/args-array-unknown.json:2: member 'array' of 'data' for command 'oops' uses unknown type 'NoSuchType'
index 81e1e95523e47339e9cba4b4f3084afefe898239..89b8b1ce016d464aad7583c51dc9ffa7f69f39e3 100644 (file)
@@ -1,2 +1,2 @@
 tests/qapi-schema/args-member-array-bad.json: In command 'oops':
-tests/qapi-schema/args-member-array-bad.json:2: Member 'member' of 'data' for command 'oops': array type must contain single type name
+tests/qapi-schema/args-member-array-bad.json:2: member 'member' of 'data' for command 'oops': array type must contain single type name
index da183957b2eff14782b4f1e0e2155956f4553d9a..faa8168d362e5ad417a15e2d2e52086e73b1eaa1 100644 (file)
@@ -1,2 +1,2 @@
 tests/qapi-schema/args-member-case.json: In command 'no-way-this-will-get-whitelisted':
-tests/qapi-schema/args-member-case.json:2: Member of 'data' for command 'no-way-this-will-get-whitelisted' uses uppercase in name 'Arg'
+tests/qapi-schema/args-member-case.json:2: member of 'data' for command 'no-way-this-will-get-whitelisted' uses uppercase in name 'Arg'
index 9d43e54ca94c958cb5c06b2cd5a2d75913d18fb1..168e24a4b81741723831df419ad763f60d335854 100644 (file)
@@ -1,2 +1,2 @@
 tests/qapi-schema/args-member-unknown.json: In command 'oops':
-tests/qapi-schema/args-member-unknown.json:2: Member 'member' of 'data' for command 'oops' uses unknown type 'NoSuchType'
+tests/qapi-schema/args-member-unknown.json:2: member 'member' of 'data' for command 'oops' uses unknown type 'NoSuchType'
index 9b2c12c1ebe5ecf72630ee917502b7afee8b1dc3..7f5916ea29d03a1e0e59f1edd7c5806c1a2d9332 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/bad-type-int.json:3:13: Stray '123'
+tests/qapi-schema/bad-type-int.json:3:13: stray '123'
index 52c21bc2b8aca6b6e77b9ce33a49dae85e167be4..233e4b89528ba98a65f44be03a6e6f506092c7be 100644 (file)
@@ -1,2 +1,2 @@
 tests/qapi-schema/base-cycle-direct.json: In struct 'Loopy':
-tests/qapi-schema/base-cycle-direct.json:2: Object Loopy contains itself
+tests/qapi-schema/base-cycle-direct.json:2: object Loopy contains itself
index 1f60cd78f6befb3e68c88e48be8128fd081c10f6..4472f30ba1e8f1c6bfe40ad7aacf9b9a94c97d51 100644 (file)
@@ -1,2 +1,2 @@
 tests/qapi-schema/base-cycle-indirect.json: In struct 'Base1':
-tests/qapi-schema/base-cycle-indirect.json:2: Object Base1 contains itself
+tests/qapi-schema/base-cycle-indirect.json:2: object Base1 contains itself
index 387f7824daa5cf55ad6df8c2339a332ea7930649..19a1ffd76ec4a085d50367253079c8d9f3ee0f64 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/doc-bad-alternate-member.json:3: The following documented members are not in the declaration: aa, bb
+tests/qapi-schema/doc-bad-alternate-member.json:3: the following documented members are not in the declaration: aa, bb
index 8075b146ae35665a83b87553dfe8d5cdd523f2ac..6962ebed6992fbeee75ccb5ea3a668b02c83bef1 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/doc-bad-command-arg.json:3: The following documented members are not in the declaration: b
+tests/qapi-schema/doc-bad-command-arg.json:3: the following documented members are not in the declaration: b
index 375cdff939d0890850104df308d1382732f86e00..205d0ed6192ab2208d9884bfc902771d26ded8e6 100644 (file)
@@ -1,2 +1,2 @@
 tests/qapi-schema/doc-bad-symbol.json: In command 'foo':
-tests/qapi-schema/doc-bad-symbol.json:6: Definition of 'foo' follows documentation for 'food'
+tests/qapi-schema/doc-bad-symbol.json:6: definition of 'foo' follows documentation for 'food'
index 4b016df7ff70f9011e66eacbe7333223a56a1863..da3cd806e3ac8e7918bfec848b01937cd61c315e 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/doc-bad-union-member.json:3: The following documented members are not in the declaration: a, b
+tests/qapi-schema/doc-bad-union-member.json:3: the following documented members are not in the declaration: a, b
index a649d38a630e158c525c75845b2185811fb7b213..e5566f11e945bfa1c729e3b5d12716d1f6fd02e8 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/doc-before-include.json:3: Documentation for 'foo' is not followed by the definition
+tests/qapi-schema/doc-before-include.json:3: documentation for 'foo' is not followed by the definition
index c0fb0660d141fe9ac33406df6fae8bb2c663ee8d..8a97ebb578a8de37d114e7d663ba17976dfd8d2e 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/doc-before-pragma.json:3: Documentation for 'foo' is not followed by the definition
+tests/qapi-schema/doc-before-pragma.json:3: documentation for 'foo' is not followed by the definition
index e48039f8e53dd9e9ad4865b0e9afe4d27ed52a89..763193309318e5287c2fcb41f1d9c1983cdbb967 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/doc-duplicated-return.json:7:1: Duplicated 'Returns' section
+tests/qapi-schema/doc-duplicated-return.json:7:1: duplicated 'Returns' section
index 3fb890744a4e520af715679125b25890cd67c4c5..5ee15ae2a19e6743bfdb8ece9d66c4b3d6ad0af2 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/doc-duplicated-since.json:7:1: Duplicated 'Since' section
+tests/qapi-schema/doc-duplicated-since.json:7:1: duplicated 'Since' section
index 2895518fa7f51205ea716bb174857a2f440e8883..3c78a37ae1d4ba50196930c93c4fe658f107c50d 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/doc-empty-arg.json:5:1: Invalid parameter name
+tests/qapi-schema/doc-empty-arg.json:5:1: invalid parameter name
index b61e4a788601c88c78fd0a6de0cc0fe848fedc04..f6586c566fcc5b8c1b6a13766b126c3ed5dc87c3 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/doc-empty-section.json:7:1: Empty doc section 'Note'
+tests/qapi-schema/doc-empty-section.json:7:1: empty doc section 'Note'
index 1936ad094f8c00b5d2791c6708b0a65eed2c9565..2dcddca7f6ceb002b1f33962f85cd4039daf8570 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/doc-empty-symbol.json:4:1: Invalid name
+tests/qapi-schema/doc-empty-symbol.json:4:1: invalid name
index 2bda28cb548d45cde282a8d6acff224774e80e28..6345aa6a0fbf8d8797a2fc96e4a1304eaf84bec6 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/doc-invalid-end.json:5:2: Documentation comment must end with '##'
+tests/qapi-schema/doc-invalid-end.json:5:2: documentation comment must end with '##'
index 6fad9c789e765817539f1370df9dcb47d36c64f2..13ead36fd2f7965682dbd7469815a8bfc20ed801 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/doc-invalid-end2.json:5:1: Junk after '##' at end of documentation comment
+tests/qapi-schema/doc-invalid-end2.json:5:1: junk after '##' at end of documentation comment
index 149af2bfacd7d4ffa88987b07140ceda16265e0a..dcaa9699d6ac75902a771c1b5362aaca712e12df 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/doc-invalid-start.json:3:1: Junk after '##' at start of documentation comment
+tests/qapi-schema/doc-invalid-start.json:3:1: junk after '##' at start of documentation comment
index b41d5078b0d804ed9c7886c862a5cd273c9901b5..6fb5a380bdb04aae53002846d29b0ea6a40d6138 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/doc-missing-colon.json:4:1: Line should end with ':'
+tests/qapi-schema/doc-missing-colon.json:4:1: line should end with ':'
index c909e26eca5507f3d71a9cf36289791ba138cc18..622a37cc6cfb440d644b12273206ea76e35622da 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/doc-missing-expr.json:3: Documentation for 'bar' is not followed by the definition
+tests/qapi-schema/doc-missing-expr.json:3: documentation for 'bar' is not followed by the definition
index d6b46ffd77889a788d2f7599ef263817eb998046..1187ba12c42cd3f8e7e42051287ee5c2db1e2d5a 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/doc-missing-space.json:5:1: Missing space after #
+tests/qapi-schema/doc-missing-space.json:5:1: missing space after #
index 3a377ddc5703b0694f90a4ac85efa95c36779353..08c827931a8585757fc5eaafbfe6e4ea16b01a43 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/doc-missing.json:5: Definition missing documentation comment
+tests/qapi-schema/doc-missing.json:5: definition missing documentation comment
index 212984ff209c5be070e843a08e50b0ae852c001d..9a3057730cecb5f23445c178baa8dcc04edf65bd 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/doc-no-symbol.json:3: Definition documentation required
+tests/qapi-schema/doc-no-symbol.json:3: definition documentation required
index 69457173a70549c4ec7c758629b3a8e2d80a31bc..44a9dfdd55a1153c8a6ee6cb0ebf944930568a1e 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/double-type.json:2: Unknown key 'command' in struct 'bar'
+tests/qapi-schema/double-type.json:2: unknown key 'command' in struct 'bar'
 Valid keys are 'base', 'data', 'features', 'if', 'struct'.
index 3af2f55174feb0f83ec1851b190a930c5fc23db4..7f34a34eb6441f047444e02587bd587bc5bda3ac 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/duplicate-key.json:3:10: Duplicate key 'key'
+tests/qapi-schema/duplicate-key.json:3:10: duplicate key 'key'
index 49e4160dc4cfb0ac4556ecfdb80bea5b4161f468..1e59d42fca12afbf8dee85605bb6fb6f09af0af5 100644 (file)
@@ -1,2 +1,2 @@
 tests/qapi-schema/enum-bad-member.json: In enum 'MyEnum':
-tests/qapi-schema/enum-bad-member.json:2: Member of enum 'MyEnum' requires a string name
+tests/qapi-schema/enum-bad-member.json:2: member of enum 'MyEnum' requires a string name
index 3af7345792399cd14138deefa3030d8f29365034..ed2d608098e0d4849481c0e38cceb0b118820c7a 100644 (file)
@@ -1,2 +1,2 @@
 tests/qapi-schema/enum-bad-name.json: In enum 'MyEnum':
-tests/qapi-schema/enum-bad-name.json:3: Member of enum 'MyEnum' uses invalid name 'not\possible'
+tests/qapi-schema/enum-bad-name.json:3: member of enum 'MyEnum' uses invalid name 'not\possible'
index 383ebaea7e94337c0c4b80184a8ee3efb28e2aec..4f92736e521121dcf8ba1a85ad9a0b3e21cd4654 100644 (file)
@@ -1,2 +1,2 @@
 tests/qapi-schema/enum-bad-prefix.json: In enum 'MyEnum':
-tests/qapi-schema/enum-bad-prefix.json:2: Enum 'MyEnum' requires a string for 'prefix'
+tests/qapi-schema/enum-bad-prefix.json:2: enum 'MyEnum' requires a string for 'prefix'
index 02952f472a2a4c47d2b3c72f0372967b5e21e9ee..79062729a100a393fbae8117e5022401b735ec6f 100644 (file)
@@ -1,3 +1,3 @@
 tests/qapi-schema/enum-dict-member-unknown.json: In enum 'MyEnum':
-tests/qapi-schema/enum-dict-member-unknown.json:2: Unknown key 'bad-key' in member of enum 'MyEnum'
+tests/qapi-schema/enum-dict-member-unknown.json:2: unknown key 'bad-key' in member of enum 'MyEnum'
 Valid keys are 'if', 'name'.
index 3f8d7b5b712e3b655638b4a6738d1b65877cefea..27f06e334c80e7ffd728cbf29729db09dccbe8bd 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/enum-int-member.json:3:31: Stray '1'
+tests/qapi-schema/enum-int-member.json:3:31: stray '1'
index 8f2007c86f8a75d9ac83300862e7e066d7c8b452..c3c6f8d70938bafe81d9389a961d609003719331 100644 (file)
@@ -1,2 +1,2 @@
 tests/qapi-schema/enum-member-case.json: In enum 'NoWayThisWillGetWhitelisted':
-tests/qapi-schema/enum-member-case.json:4: Member of enum 'NoWayThisWillGetWhitelisted' uses uppercase in name 'Value'
+tests/qapi-schema/enum-member-case.json:4: member of enum 'NoWayThisWillGetWhitelisted' uses uppercase in name 'Value'
index ba4873ae69ada3459aa27e3d4acceca1a958fe1c..3c3c52d0376be60438f87a9873342668be168da5 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/enum-missing-data.json:2: Key 'data' is missing from enum 'MyEnum'
+tests/qapi-schema/enum-missing-data.json:2: key 'data' is missing from enum 'MyEnum'
index 4ab0c44e48a036a09b19f203bbecda360002e959..ab9af5e995a431dd129ac20962e52a3e05a9a0cc 100644 (file)
@@ -1,2 +1,2 @@
 tests/qapi-schema/enum-wrong-data.json: In enum 'MyEnum':
-tests/qapi-schema/enum-wrong-data.json:2: Enum 'MyEnum' requires an array for 'data'
+tests/qapi-schema/enum-wrong-data.json:2: enum 'MyEnum' requires an array for 'data'
index efee335ba030eab7eb02b0ae2d35633d754dd85e..06f5f2ed55c7391dad929a1d40ddbad50054f036 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/escape-outside-string.json:3:27: Stray '\'
+tests/qapi-schema/escape-outside-string.json:3:27: stray '\'
index 6ccbdf7b220da8128e9178fa25eec706affbf8c8..9c691b7d97f7714339161587845e9bb96727c526 100644 (file)
@@ -1,2 +1,2 @@
 tests/qapi-schema/event-boxed-empty.json: In event 'FOO':
-tests/qapi-schema/event-boxed-empty.json:2: Use of 'boxed' requires 'data'
+tests/qapi-schema/event-boxed-empty.json:2: use of 'boxed' requires 'data'
index 9981a48b8174feffa61af5ea3f0e708c21faf068..8bf89b7a3af5191839f09a807f49e88983645f7a 100644 (file)
@@ -1,2 +1,2 @@
 tests/qapi-schema/event-member-invalid-dict.json: In event 'EVENT_A':
-tests/qapi-schema/event-member-invalid-dict.json:1: Key 'type' is missing from member 'a' of 'data' for event 'EVENT_A'
+tests/qapi-schema/event-member-invalid-dict.json:1: key 'type' is missing from member 'a' of 'data' for event 'EVENT_A'
index 2dd57f1784891e0e84249b11e208153b753c306e..8900052e834a7ed79e69ba975a886ab8518a9685 100644 (file)
@@ -1,2 +1,2 @@
 tests/qapi-schema/event-nest-struct.json: In event 'EVENT_A':
-tests/qapi-schema/event-nest-struct.json:1: Member 'a' of 'data' for event 'EVENT_A' should be a type name
+tests/qapi-schema/event-nest-struct.json:1: member 'a' of 'data' for event 'EVENT_A' should be a type name
index a08485387abb118093b675a6324b3bcb441586ef..2182c3ec752e21643ec5d0b0c8342649deb38493 100644 (file)
@@ -1,2 +1,2 @@
 tests/qapi-schema/features-bad-type.json: In struct 'FeatureStruct0':
-tests/qapi-schema/features-bad-type.json:1: Feature of struct FeatureStruct0 requires a string name
+tests/qapi-schema/features-bad-type.json:1: feature of struct FeatureStruct0 requires a string name
index d445936b0ce54686870d7c468528062f720e28ad..8cbf1ef3f0ad7b12b9cd90af82d4f86e364bcc01 100644 (file)
@@ -1,2 +1,2 @@
 tests/qapi-schema/features-missing-name.json: In struct 'FeatureStruct0':
-tests/qapi-schema/features-missing-name.json:1: Key 'name' is missing from feature of struct FeatureStruct0
+tests/qapi-schema/features-missing-name.json:1: key 'name' is missing from feature of struct FeatureStruct0
index cc4bd33e7f6d71f6145fa2713d2df5060420816f..19a7b61214b25fa98ee7c65ee73d66e078511a94 100644 (file)
@@ -1,2 +1,2 @@
 tests/qapi-schema/features-name-bad-type.json: In struct 'FeatureStruct0':
-tests/qapi-schema/features-name-bad-type.json:1: Feature of struct FeatureStruct0 requires a string name
+tests/qapi-schema/features-name-bad-type.json:1: feature of struct FeatureStruct0 requires a string name
index 663d9cd15841e544b293b42dc421b3c7374814f6..28f91824bd711e02a21b059a14700822aaa451a8 100644 (file)
@@ -1,2 +1,2 @@
 tests/qapi-schema/features-no-list.json: In struct 'FeatureStruct0':
-tests/qapi-schema/features-no-list.json:1: Struct 'FeatureStruct0' requires an array for 'features'
+tests/qapi-schema/features-no-list.json:1: struct 'FeatureStruct0' requires an array for 'features'
index 2aeca4c1a6784eddd8388729c3d97e65df9012ee..78e63c8cf7446d16f3d9df40257ce74c422f3d15 100644 (file)
@@ -1,3 +1,3 @@
 tests/qapi-schema/features-unknown-key.json: In struct 'FeatureStruct0':
-tests/qapi-schema/features-unknown-key.json:1: Unknown key 'colour' in feature of struct FeatureStruct0
+tests/qapi-schema/features-unknown-key.json:1: unknown key 'colour' in feature of struct FeatureStruct0
 Valid keys are 'if', 'name'.
index 13b4e6065858f2767ce8d30175fa8938410fb870..323d79737ca62e17a6f31d709525518c01429fc4 100644 (file)
@@ -1,2 +1,2 @@
 tests/qapi-schema/flat-union-array-branch.json: In union 'TestUnion':
-tests/qapi-schema/flat-union-array-branch.json:8: Member 'value1' of union 'TestUnion' cannot be an array
+tests/qapi-schema/flat-union-array-branch.json:8: member 'value1' of union 'TestUnion' cannot be an array
index 9b3746343f850363489dd47ea6d6d4255176c92d..27a6c9f3fbf3d78ce95a8af9ad57a8472a3d3309 100644 (file)
@@ -1,2 +1,2 @@
 tests/qapi-schema/flat-union-bad-discriminator.json: In union 'TestUnion':
-tests/qapi-schema/flat-union-bad-discriminator.json:11: Discriminator of flat union 'TestUnion' requires a string name
+tests/qapi-schema/flat-union-bad-discriminator.json:11: discriminator of flat union 'TestUnion' requires a string name
index 72dc328bad4d0e4c3d7547b5ff53c1fef1086233..f7f64c5c1a775898c14ae4e4d4ebeff10ba3d368 100644 (file)
@@ -1,2 +1,2 @@
 tests/qapi-schema/flat-union-discriminator-bad-name.json: In union 'MyUnion':
-tests/qapi-schema/flat-union-discriminator-bad-name.json:7: Discriminator of flat union 'MyUnion' does not allow optional name '*switch'
+tests/qapi-schema/flat-union-discriminator-bad-name.json:7: discriminator of flat union 'MyUnion' does not allow optional name '*switch'
index 3fa79a6a47940cbb6c250f49ec250b66fe9c5bd9..96fe46b918ff9c8698a1e89fcf6b08cd6015fe55 100644 (file)
@@ -1,2 +1,2 @@
 tests/qapi-schema/flat-union-empty.json: In union 'Union':
-tests/qapi-schema/flat-union-empty.json:4: Union 'Union' has no branches
+tests/qapi-schema/flat-union-empty.json:4: union 'Union' has no branches
index 3716c02a9b5bad33136661daba32b08a7b9fa360..85739c27330dfd61fa9eac713f35e60ca30d5930 100644 (file)
@@ -1,2 +1,2 @@
 tests/qapi-schema/flat-union-inline-invalid-dict.json: In union 'TestUnion':
-tests/qapi-schema/flat-union-inline-invalid-dict.json:7: Key 'type' is missing from member 'value1' of union 'TestUnion'
+tests/qapi-schema/flat-union-inline-invalid-dict.json:7: key 'type' is missing from member 'value1' of union 'TestUnion'
index 0a7a94b03f609cf729a2ed8e83d3959227883cba..33a8d6e3bdbd8745fa97a1fb72fe092bcf0e37dc 100644 (file)
@@ -1,2 +1,2 @@
 tests/qapi-schema/flat-union-inline.json: In union 'TestUnion':
-tests/qapi-schema/flat-union-inline.json:7: Member 'value1' of union 'TestUnion' should be a type name
+tests/qapi-schema/flat-union-inline.json:7: member 'value1' of union 'TestUnion' should be a type name
index 075751bcf60ba857a7670ca369086132e1b98572..2bbb8bf22e09aa317e982d6ac34b1e341ab1d6ae 100644 (file)
@@ -1,2 +1,2 @@
 tests/qapi-schema/flat-union-int-branch.json: In union 'TestUnion':
-tests/qapi-schema/flat-union-int-branch.json:8: Member 'value1' of union 'TestUnion' cannot use built-in type 'int'
+tests/qapi-schema/flat-union-int-branch.json:8: member 'value1' of union 'TestUnion' cannot use built-in type 'int'
index a4d0e3ee661708c2209782d1ae741ea66b4a51f2..da4377be69f97101be347dfa8f3b318f37b52ad7 100644 (file)
@@ -1,2 +1,2 @@
 tests/qapi-schema/flat-union-invalid-branch-key.json: In union 'TestUnion':
-tests/qapi-schema/flat-union-invalid-branch-key.json:13: Discriminator value 'value_wrong' is not found in enum 'TestEnum'
+tests/qapi-schema/flat-union-invalid-branch-key.json:13: discriminator value 'value_wrong' is not found in enum 'TestEnum'
index ca9a413dae5994fb0feab0e8a4a20eeb5556b938..3f80de30445e08c0f6440c21d6ca898b353b337e 100644 (file)
@@ -1,2 +1,2 @@
 tests/qapi-schema/flat-union-invalid-discriminator.json: In union 'TestUnion':
-tests/qapi-schema/flat-union-invalid-discriminator.json:10: Discriminator 'enum_wrong' is not a member of 'base'
+tests/qapi-schema/flat-union-invalid-discriminator.json:10: discriminator 'enum_wrong' is not a member of 'base'
index c06307db980853c9c1b9fb7b76ae791809f0926e..be770d6baa09a4a05c68d81113dda7e2cde89595 100644 (file)
@@ -1,2 +1,2 @@
 tests/qapi-schema/flat-union-invalid-if-discriminator.json: In union 'TestUnion':
-tests/qapi-schema/flat-union-invalid-if-discriminator.json:10: The discriminator 'enum1' for union TestUnion must not be conditional
+tests/qapi-schema/flat-union-invalid-if-discriminator.json:10: the discriminator 'enum1' for union TestUnion must not be conditional
index 6e2035495ce9e170de7478d2f945b6c69f9544f9..c84525982458a5275eb3b6b075ebe167c84cd32d 100644 (file)
@@ -1,2 +1,2 @@
 tests/qapi-schema/flat-union-no-base.json: In union 'TestUnion':
-tests/qapi-schema/flat-union-no-base.json:9: Flat union 'TestUnion' must have a base
+tests/qapi-schema/flat-union-no-base.json:9: flat union 'TestUnion' must have a base
index db268fffaa38fe7e4fe948b4775e3f6a76c0075e..536ac775e22b57d3ffcf454acd96314bc64c7293 100644 (file)
@@ -1,2 +1,2 @@
 tests/qapi-schema/flat-union-optional-discriminator.json: In union 'MyUnion':
-tests/qapi-schema/flat-union-optional-discriminator.json:7: Discriminator 'switch' is not a member of 'base'
+tests/qapi-schema/flat-union-optional-discriminator.json:7: discriminator 'switch' is not a member of 'base'
index 9bca7082bb2f244047826d5e7fb835ac5a325cf7..f5635a577422c4df2788f1498cb02360f3a228f5 100644 (file)
@@ -1,2 +1,2 @@
 tests/qapi-schema/flat-union-string-discriminator.json: In union 'TestUnion':
-tests/qapi-schema/flat-union-string-discriminator.json:13: Discriminator 'kind' must be of enumeration type
+tests/qapi-schema/flat-union-string-discriminator.json:13: discriminator 'kind' must be of enumeration type
index 139ecf4eb845988eaa68c074692943d7677c0632..132fac93ea0f8eca161e334c6f728bfabf65bfcb 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/funny-char.json:2:36: Stray ';'
+tests/qapi-schema/funny-char.json:2:36: stray ';'
index af92fe2551c5c760a54903a88100a90b02e5b027..d9286c8962d6c89976ed7db099e191bcf9c85dc5 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/funny-word.json:1:3: Stray 'command'
+tests/qapi-schema/funny-word.json:1:3: stray 'command'
index 5517dcb4b189347270a7f345b2fb856d49ef6b0c..1117283c81a8367256394b1817da37395d29e34e 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/ident-with-escape.json:3:3: Unknown escape \u
+tests/qapi-schema/ident-with-escape.json:3:3: unknown escape \u
index 2b26322170c264cfdd905de7cc68173190894647..098314bc49525b4b00399ba240a75925ddbd835e 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/include-before-err.json:2:13: Expected ':'
+tests/qapi-schema/include-before-err.json:2:13: expected ':'
index bdcd07dce25fc1c67b73d926c29efc0a97746adc..52028669b5bb0120257b314b02fb74e1fcf2dfc1 100644 (file)
@@ -1,3 +1,3 @@
 In file included from tests/qapi-schema/include-cycle.json:1:
 In file included from tests/qapi-schema/include-cycle-b.json:1:
-tests/qapi-schema/include-cycle-c.json:1: Inclusion loop for include-cycle.json
+tests/qapi-schema/include-cycle-c.json:1: inclusion loop for include-cycle.json
index e6ef2a3720d349feb0197a50aac5ca8510662676..854cec3ce35ec225f899d6acdb84b33e0459bb9d 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/include-extra-junk.json:3: Invalid 'include' directive
+tests/qapi-schema/include-extra-junk.json:3: invalid 'include' directive
index aec6207eb047f6cd3254542272071d19ea05201f..11928b4f7fa4a3eeb7a479d07da6949fa53846c4 100644 (file)
@@ -1,2 +1,2 @@
 In file included from tests/qapi-schema/include-nested-err.json:1:
-tests/qapi-schema/missing-colon.json:1:10: Expected ':'
+tests/qapi-schema/missing-colon.json:1:10: expected ':'
index faae1eacf1aa2e5412393a16456ff7d97cb0850f..65dd3c7c2c75cdce7079c5fadb30e6cb390d3406 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/include-non-file.json:1: Value of 'include' must be a string
+tests/qapi-schema/include-non-file.json:1: value of 'include' must be a string
index 981742ae5f555f850616924c9a8f36cb09b9924c..c84795d1dc43b187fbec98192e2089f9ee4e6e0d 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/include-self-cycle.json:1: Inclusion loop for include-self-cycle.json
+tests/qapi-schema/include-self-cycle.json:1: inclusion loop for include-self-cycle.json
index e021e42ad96633ab1793047bedbe9dfa6aa74e76..cddf471f71277c3783efd38d4948535fe927de51 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/leading-comma-list.json:2:13: Expected '{', '[', ']', string, boolean or 'null'
+tests/qapi-schema/leading-comma-list.json:2:13: expected '{', '[', ']', string, boolean or 'null'
index 3852f123d21a6c9de3efc74a55a9c568097e7933..2f3b19327405b981b5c61249cc61ff5f400cdb72 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/leading-comma-object.json:1:3: Expected string or '}'
+tests/qapi-schema/leading-comma-object.json:1:3: expected string or '}'
index a255e519189d36af2a6b4836cfc63dce19e24624..e642c7c5497c0f4dc2bffdb2f582e7d8691d29a5 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/missing-colon.json:1:10: Expected ':'
+tests/qapi-schema/missing-colon.json:1:10: expected ':'
index df3f553f394c5d7857ae71d30e846dd089bbff2f..53594994307d9d41697797057eb636d676869163 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/missing-comma-list.json:2:20: Expected ',' or ']'
+tests/qapi-schema/missing-comma-list.json:2:20: expected ',' or ']'
index 0f691b8ddd3bd29e5ea89ebf7f84c2cee44d25cd..c9b02b0760bb54c1e06618ec60262ce43c64174c 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/missing-comma-object.json:2:3: Expected ',' or '}'
+tests/qapi-schema/missing-comma-object.json:2:3: expected ',' or '}'
index b3e7b14e420a27d2e86fc79dfca03c2ac609505a..19b7c495e774d2e4bcaa2d24573c941c1f5b9deb 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/missing-type.json:2: Expression is missing metatype
+tests/qapi-schema/missing-type.json:2: expression is missing metatype
index 4d9c9b491a2045669139a2f7a2fcce16abc6c575..f2c7a8096ca81fbc5c2950631395ef46cdc4977a 100644 (file)
@@ -1,2 +1,2 @@
 tests/qapi-schema/nested-struct-data-invalid-dict.json: In command 'foo':
-tests/qapi-schema/nested-struct-data-invalid-dict.json:2: Key 'type' is missing from member 'a' of 'data' for command 'foo'
+tests/qapi-schema/nested-struct-data-invalid-dict.json:2: key 'type' is missing from member 'a' of 'data' for command 'foo'
index 74d44ab111c10160b23cb25e4b344412601d930d..b5e136674c6088af1736a58e1f5beb01e4e2b47e 100644 (file)
@@ -1,2 +1,2 @@
 tests/qapi-schema/nested-struct-data.json: In command 'foo':
-tests/qapi-schema/nested-struct-data.json:2: Member 'a' of 'data' for command 'foo' should be a type name
+tests/qapi-schema/nested-struct-data.json:2: member 'a' of 'data' for command 'foo' should be a type name
index a972abd937d002d129595e298af6203c99f44457..9237af693978df51f1b705427008da96e6a92256 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/non-objects.json:1:1: Expected '{'
+tests/qapi-schema/non-objects.json:1:1: expected '{'
index 39cd56cd4839f51bd8688623ea3210b92e622f21..bcd981ada86cc280ebe241112c63cf7ee49caee9 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/pragma-doc-required-crap.json:3: Pragma 'doc-required' must be boolean
+tests/qapi-schema/pragma-doc-required-crap.json:3: pragma 'doc-required' must be boolean
index 4481688dbf0854f381f58c7ffd1a72eb05ded4f2..3ae48d3668c504e40c5ff41c475f4b3660a0cfe2 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/pragma-extra-junk.json:3: Invalid 'pragma' directive
+tests/qapi-schema/pragma-extra-junk.json:3: invalid 'pragma' directive
index f83b97e075ac85695387bd324c116f0d25f289e1..81f829ff364a132e9f270f10cddc371df93dc331 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/pragma-name-case-whitelist-crap.json:3: Pragma name-case-whitelist must be a list of strings
+tests/qapi-schema/pragma-name-case-whitelist-crap.json:3: pragma name-case-whitelist must be a list of strings
index b35826105097f887a9c170d12816790752457f48..8221724b0a551d6e180e05bae6fddafd4abf4728 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/pragma-non-dict.json:3: Value of 'pragma' must be an object
+tests/qapi-schema/pragma-non-dict.json:3: value of 'pragma' must be an object
index 5d7702167490b9d7990002efeaf35231896362c1..c0cae5de18dc4f60e033e5687409c6f866c8ac8d 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/pragma-returns-whitelist-crap.json:3: Pragma returns-whitelist must be a list of strings
+tests/qapi-schema/pragma-returns-whitelist-crap.json:3: pragma returns-whitelist must be a list of strings
index 6ef2058316bdb7927536f3fc95482a1ceb793a47..f1335f0a0aa01b488e759e414f9e194cbdc75ca2 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/pragma-unknown.json:1: Unknown pragma 'no-such-pragma'
+tests/qapi-schema/pragma-unknown.json:1: unknown pragma 'no-such-pragma'
index 6e036c8044f56aac7ebcbd0ebc70b428e2d7832d..d8460a63a79bd18e90d865ad2a1c3730a8a175a5 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/quoted-structural-chars.json:1:1: Expected '{'
+tests/qapi-schema/quoted-structural-chars.json:1:1: expected '{'
index e3eecd29dc6aa0d4cddd6193bf5ff5c0418ff226..d9c0af5a05ada7ed0144c7892d668dc36743c4e6 100644 (file)
@@ -1,2 +1,2 @@
 tests/qapi-schema/reserved-enum-q.json: In enum 'Foo':
-tests/qapi-schema/reserved-enum-q.json:4: Member of enum 'Foo' uses invalid name 'q-Unix'
+tests/qapi-schema/reserved-enum-q.json:4: member of enum 'Foo' uses invalid name 'q-Unix'
index 2c6d0418db1e0558db2453f3c09a9c68843df04e..6f405ec2a98a3fe86d5c3272ce7cb5b97e1d788c 100644 (file)
@@ -1,2 +1,2 @@
 tests/qapi-schema/reserved-member-has.json: In command 'oops':
-tests/qapi-schema/reserved-member-has.json:5: Member of 'data' for command 'oops' uses reserved name 'has-a'
+tests/qapi-schema/reserved-member-has.json:5: member of 'data' for command 'oops' uses reserved name 'has-a'
index eaabe579bcb39282503e17b5957e24833c9f396a..ece26640051464d6119ea06b2c6eca5d6b339110 100644 (file)
@@ -1,2 +1,2 @@
 tests/qapi-schema/reserved-member-q.json: In struct 'Foo':
-tests/qapi-schema/reserved-member-q.json:4: Member of 'data' for struct 'Foo' uses invalid name 'q-unix'
+tests/qapi-schema/reserved-member-q.json:4: member of 'data' for struct 'Foo' uses invalid name 'q-unix'
index b01629da29c4681667bd68d4e4a09b4bab00107d..e812a1e404c118c1fcc8dafd51302d9d18393e4f 100644 (file)
@@ -1,2 +1,2 @@
 tests/qapi-schema/reserved-member-u.json: In struct 'Oops':
-tests/qapi-schema/reserved-member-u.json:7: Member of 'data' for struct 'Oops' uses reserved name 'u'
+tests/qapi-schema/reserved-member-u.json:7: member of 'data' for struct 'Oops' uses reserved name 'u'
index 6089cc1d3bf50a50738fede3f3f052f4cfe01e8c..e1d54f0a273ce8aa5f53fea69d7e26ee3fd891fe 100644 (file)
@@ -1,2 +1,2 @@
 tests/qapi-schema/reserved-member-underscore.json: In struct 'Oops':
-tests/qapi-schema/reserved-member-underscore.json:4: Member of 'data' for struct 'Oops' uses invalid name '_oops'
+tests/qapi-schema/reserved-member-underscore.json:4: member of 'data' for struct 'Oops' uses invalid name '_oops'
index c310910c23e6180e5d9f595020c56833063eb0ca..b4fa2610a9f1034ec3789e9fd92ae2f81791e883 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/string-code-point-127.json:2:14: Funny character in string
+tests/qapi-schema/string-code-point-127.json:2:14: funny character in string
index 45797928d9d21c758d16c2568ef5b6075e1d3452..0bb5ce37b854fc2bb40ef385f78f191f1463a8e2 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/string-code-point-31.json:2:14: Funny character in string
+tests/qapi-schema/string-code-point-31.json:2:14: funny character in string
index e8b0ee72e0265783a38e82755d6a610ce53ed406..0c770bb1e83ca4aeba7737d94dddcc7b48cf9834 100644 (file)
@@ -1,2 +1,2 @@
 tests/qapi-schema/struct-member-invalid-dict.json: In struct 'foo':
-tests/qapi-schema/struct-member-invalid-dict.json:2: Key 'type' is missing from member '*a' of 'data' for struct 'foo'
+tests/qapi-schema/struct-member-invalid-dict.json:2: key 'type' is missing from member '*a' of 'data' for struct 'foo'
index 466c1af1d0ae2c020525e818a299586c75aa66c6..e5a19fc8af717c761f8b874a0ca3d862e5d5d88f 100644 (file)
@@ -1,2 +1,2 @@
 tests/qapi-schema/struct-member-invalid.json: In struct 'foo':
-tests/qapi-schema/struct-member-invalid.json:1: Member 'a' of 'data' for struct 'foo' should be a type name
+tests/qapi-schema/struct-member-invalid.json:1: member 'a' of 'data' for struct 'foo' should be a type name
index 601c4537c3c90c14d4c60d3a0a2adaf673326b62..167d688bebd7fdc0e28d0330b2d73ce6d3db5ed6 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/trailing-comma-list.json:2:36: Expected '{', '[', string, boolean or 'null'
+tests/qapi-schema/trailing-comma-list.json:2:36: expected '{', '[', string, boolean or 'null'
index 30bce5e1945130280be66db70a4b57fb5653f594..186df0fa4538a16ba5d79181d1f952c8c269fce0 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/trailing-comma-object.json:2:38: Expected string
+tests/qapi-schema/trailing-comma-object.json:2:38: expected string
index 1cc3a094fea5c2b183666dd87f09cf23284f7d79..6648a8e30b1464495f5d6a764a77fd99617af6ce 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/unclosed-list.json:1:20: Expected ',' or ']'
+tests/qapi-schema/unclosed-list.json:1:20: expected ',' or ']'
index fd1a86b70440fdd4a20e9bd7a189d0f4f14a4245..54d221e3a98907608fefd1ac9afb26361f4657ae 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/unclosed-object.json:1:21: Expected ',' or '}'
+tests/qapi-schema/unclosed-object.json:1:21: expected ',' or '}'
index 12b187074e7d42a44b20f331f0a6f9cad1ea1e2a..9439698fe06b4801a90347443ebfdf2cd9ec9b64 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/unclosed-string.json:1:11: Missing terminating "'"
+tests/qapi-schema/unclosed-string.json:1:11: missing terminating "'"
index 1e243418196f8f4e22409b359a6fd4f2767f973a..b76542d47a06e93d4ea3bd40b1b59882523d4f17 100644 (file)
@@ -1,2 +1,2 @@
 tests/qapi-schema/union-base-empty.json: In union 'TestUnion':
-tests/qapi-schema/union-base-empty.json:5: Discriminator 'type' is not a member of 'base'
+tests/qapi-schema/union-base-empty.json:5: discriminator 'type' is not a member of 'base'
index fa9343fb8ee87a46c07df11b023a0237f0bcce4c..883a98866b7f906936d37f15bb473e51d26fcb4d 100644 (file)
@@ -1,2 +1,2 @@
 tests/qapi-schema/union-base-no-discriminator.json: In union 'TestUnion':
-tests/qapi-schema/union-base-no-discriminator.json:11: Simple union 'TestUnion' must not have a base
+tests/qapi-schema/union-base-no-discriminator.json:11: simple union 'TestUnion' must not have a base
index 09313d7f83f634b39f1ee04ce1c91895a71a63f2..f111210281e0fa2cd2417aceac00a17c22bd6756 100644 (file)
@@ -1,2 +1,2 @@
 tests/qapi-schema/union-branch-case.json: In union 'Uni':
-tests/qapi-schema/union-branch-case.json:2: Member of union 'Uni' uses uppercase in name 'Branch'
+tests/qapi-schema/union-branch-case.json:2: member of union 'Uni' uses uppercase in name 'Branch'
index 5b8b68432c6f9a8e3e468711304aaa3050f6a66e..d11a739674c2d09ea287035c9ed52298219d419d 100644 (file)
@@ -1,2 +1,2 @@
 tests/qapi-schema/union-branch-invalid-dict.json: In union 'UnionInvalidBranch':
-tests/qapi-schema/union-branch-invalid-dict.json:2: Key 'type' is missing from member 'integer' of union 'UnionInvalidBranch'
+tests/qapi-schema/union-branch-invalid-dict.json:2: key 'type' is missing from member 'integer' of union 'UnionInvalidBranch'
index 75f2fa9f2187e123f7486fb3ba4e577f4ae8ecbc..522b19e7ae675ced0aa63e24d79eb14fbd41a019 100644 (file)
@@ -1,2 +1,2 @@
 tests/qapi-schema/union-empty.json: In union 'Union':
-tests/qapi-schema/union-empty.json:2: Union 'Union' has no branches
+tests/qapi-schema/union-empty.json:2: union 'Union' has no branches
index 09320416adbc9cbd6bb524dc55b61b9dc2401515..a5677f74bca74ea900c425e3e6533ba5fe96184a 100644 (file)
@@ -1,2 +1,2 @@
 tests/qapi-schema/union-optional-branch.json: In union 'Union':
-tests/qapi-schema/union-optional-branch.json:2: Member of union 'Union' does not allow optional name '*a'
+tests/qapi-schema/union-optional-branch.json:2: member of union 'Union' does not allow optional name '*a'
index 7c6cabb8cc4393c6c44c5be00964d5593c901df5..5d4fdd2857f11bf21f2c27ed366a81d0527547db 100644 (file)
@@ -1,2 +1,2 @@
 tests/qapi-schema/union-unknown.json: In union 'Union':
-tests/qapi-schema/union-unknown.json:2: Member 'unknown' of union 'Union' uses unknown type 'MissingType'
+tests/qapi-schema/union-unknown.json:2: member 'unknown' of union 'Union' uses unknown type 'MissingType'
index 000e30ddf3335608d2aaeb8f9050dc89a0fd1fe1..e24bbaf046e0ae9247580f688e48ecec06485501 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/unknown-escape.json:3:21: Unknown escape \x
+tests/qapi-schema/unknown-escape.json:3:21: unknown escape \x
index 4340eaf894ea05af13fadc83dafb599e62ed09e5..07558edb789f32e2975025108ca04d63ce182a68 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/unknown-expr-key.json:2: Unknown keys 'bogus', 'phony' in struct 'bar'
+tests/qapi-schema/unknown-expr-key.json:2: unknown keys 'bogus', 'phony' in struct 'bar'
 Valid keys are 'base', 'data', 'features', 'if', 'struct'.