qapi: Speed up frontend tests
authorMarkus Armbruster <armbru@redhat.com>
Fri, 18 Oct 2019 07:43:42 +0000 (09:43 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Tue, 22 Oct 2019 07:26:12 +0000 (09:26 +0200)
"make check-qapi-schema" takes around 10s user + system time for me.
With -j, it takes a bit over 3s real time.  We have worse tests.  It's
still annoying when you work on the QAPI generator.

Some 1.4s user + system time is consumed by make figuring out what to
do, measured by making a target that does nothing.  There's nothing I
can do about that right now.  But let's see what we can do about the
other 8s.

Almost 7s are spent running test-qapi.py for every test case, the rest
normalizing and diffing test-qapi.py output.  We have 190 test cases.

If I downgrade to python2, it's 4.5s, but python2 is a goner.

Hacking up test-qapi.py to exit(0) without doing anything makes it
only marginally faster.  The problem is Python startup overhead.

Our configure puts -B into $(PYTHON).  Running without -B is faster:
4.4s.

We could improve the Makefile to run test cases only when the test
case or the generator changed.  But I'm after improvement in the case
where the generator changed.

test-qapi.py is designed to be the simplest possible building block
for a shell script to do the complete job (it's actually a Makefile,
not a shell script; no real difference).  Python is just not meant for
that.  It's for bigger blocks.

Move the post-processing and diffing into test-qapi.py, and make it
capable of testing multiple schema files.  Set executable bits while
there.

Running it once per test case now takes slightly longer than 8s.  But
running it once for all of them takes under 0.2s.

Messing with the Makefile to run it only on the tests that need
retesting is clearly not worth the bother.

Expected error output changes because the new normalization strips off
$(SRCDIR)/tests/qapi-schema/ instead of just $(SRCDIR)/.

The .exit files go away, because there is no exit status to test
anymore.

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

364 files changed:
tests/Makefile.include
tests/qapi-schema/allow-preconfig-test.err
tests/qapi-schema/allow-preconfig-test.exit [deleted file]
tests/qapi-schema/alternate-any.err
tests/qapi-schema/alternate-any.exit [deleted file]
tests/qapi-schema/alternate-array.err
tests/qapi-schema/alternate-array.exit [deleted file]
tests/qapi-schema/alternate-base.err
tests/qapi-schema/alternate-base.exit [deleted file]
tests/qapi-schema/alternate-branch-if-invalid.err
tests/qapi-schema/alternate-branch-if-invalid.exit [deleted file]
tests/qapi-schema/alternate-clash.err
tests/qapi-schema/alternate-clash.exit [deleted file]
tests/qapi-schema/alternate-conflict-bool-string.err
tests/qapi-schema/alternate-conflict-bool-string.exit [deleted file]
tests/qapi-schema/alternate-conflict-dict.err
tests/qapi-schema/alternate-conflict-dict.exit [deleted file]
tests/qapi-schema/alternate-conflict-enum-bool.err
tests/qapi-schema/alternate-conflict-enum-bool.exit [deleted file]
tests/qapi-schema/alternate-conflict-enum-int.err
tests/qapi-schema/alternate-conflict-enum-int.exit [deleted file]
tests/qapi-schema/alternate-conflict-num-string.err
tests/qapi-schema/alternate-conflict-num-string.exit [deleted file]
tests/qapi-schema/alternate-conflict-string.err
tests/qapi-schema/alternate-conflict-string.exit [deleted file]
tests/qapi-schema/alternate-empty.err
tests/qapi-schema/alternate-empty.exit [deleted file]
tests/qapi-schema/alternate-invalid-dict.err
tests/qapi-schema/alternate-invalid-dict.exit [deleted file]
tests/qapi-schema/alternate-nested.err
tests/qapi-schema/alternate-nested.exit [deleted file]
tests/qapi-schema/alternate-unknown.err
tests/qapi-schema/alternate-unknown.exit [deleted file]
tests/qapi-schema/args-alternate.err
tests/qapi-schema/args-alternate.exit [deleted file]
tests/qapi-schema/args-any.err
tests/qapi-schema/args-any.exit [deleted file]
tests/qapi-schema/args-array-empty.err
tests/qapi-schema/args-array-empty.exit [deleted file]
tests/qapi-schema/args-array-unknown.err
tests/qapi-schema/args-array-unknown.exit [deleted file]
tests/qapi-schema/args-bad-boxed.err
tests/qapi-schema/args-bad-boxed.exit [deleted file]
tests/qapi-schema/args-boxed-anon.err
tests/qapi-schema/args-boxed-anon.exit [deleted file]
tests/qapi-schema/args-boxed-string.err
tests/qapi-schema/args-boxed-string.exit [deleted file]
tests/qapi-schema/args-int.err
tests/qapi-schema/args-int.exit [deleted file]
tests/qapi-schema/args-invalid.err
tests/qapi-schema/args-invalid.exit [deleted file]
tests/qapi-schema/args-member-array-bad.err
tests/qapi-schema/args-member-array-bad.exit [deleted file]
tests/qapi-schema/args-member-case.err
tests/qapi-schema/args-member-case.exit [deleted file]
tests/qapi-schema/args-member-unknown.err
tests/qapi-schema/args-member-unknown.exit [deleted file]
tests/qapi-schema/args-name-clash.err
tests/qapi-schema/args-name-clash.exit [deleted file]
tests/qapi-schema/args-union.err
tests/qapi-schema/args-union.exit [deleted file]
tests/qapi-schema/args-unknown.err
tests/qapi-schema/args-unknown.exit [deleted file]
tests/qapi-schema/bad-base.err
tests/qapi-schema/bad-base.exit [deleted file]
tests/qapi-schema/bad-data.err
tests/qapi-schema/bad-data.exit [deleted file]
tests/qapi-schema/bad-ident.err
tests/qapi-schema/bad-ident.exit [deleted file]
tests/qapi-schema/bad-if-empty-list.err
tests/qapi-schema/bad-if-empty-list.exit [deleted file]
tests/qapi-schema/bad-if-empty.err
tests/qapi-schema/bad-if-empty.exit [deleted file]
tests/qapi-schema/bad-if-list.err
tests/qapi-schema/bad-if-list.exit [deleted file]
tests/qapi-schema/bad-if.err
tests/qapi-schema/bad-if.exit [deleted file]
tests/qapi-schema/bad-type-bool.err
tests/qapi-schema/bad-type-bool.exit [deleted file]
tests/qapi-schema/bad-type-dict.err
tests/qapi-schema/bad-type-dict.exit [deleted file]
tests/qapi-schema/bad-type-int.err
tests/qapi-schema/bad-type-int.exit [deleted file]
tests/qapi-schema/base-cycle-direct.err
tests/qapi-schema/base-cycle-direct.exit [deleted file]
tests/qapi-schema/base-cycle-indirect.err
tests/qapi-schema/base-cycle-indirect.exit [deleted file]
tests/qapi-schema/command-int.err
tests/qapi-schema/command-int.exit [deleted file]
tests/qapi-schema/comments.exit [deleted file]
tests/qapi-schema/doc-bad-alternate-member.err
tests/qapi-schema/doc-bad-alternate-member.exit [deleted file]
tests/qapi-schema/doc-bad-command-arg.err
tests/qapi-schema/doc-bad-command-arg.exit [deleted file]
tests/qapi-schema/doc-bad-section.exit [deleted file]
tests/qapi-schema/doc-bad-symbol.err
tests/qapi-schema/doc-bad-symbol.exit [deleted file]
tests/qapi-schema/doc-bad-union-member.err
tests/qapi-schema/doc-bad-union-member.exit [deleted file]
tests/qapi-schema/doc-before-include.err
tests/qapi-schema/doc-before-include.exit [deleted file]
tests/qapi-schema/doc-before-pragma.err
tests/qapi-schema/doc-before-pragma.exit [deleted file]
tests/qapi-schema/doc-duplicated-arg.err
tests/qapi-schema/doc-duplicated-arg.exit [deleted file]
tests/qapi-schema/doc-duplicated-return.err
tests/qapi-schema/doc-duplicated-return.exit [deleted file]
tests/qapi-schema/doc-duplicated-since.err
tests/qapi-schema/doc-duplicated-since.exit [deleted file]
tests/qapi-schema/doc-empty-arg.err
tests/qapi-schema/doc-empty-arg.exit [deleted file]
tests/qapi-schema/doc-empty-section.err
tests/qapi-schema/doc-empty-section.exit [deleted file]
tests/qapi-schema/doc-empty-symbol.err
tests/qapi-schema/doc-empty-symbol.exit [deleted file]
tests/qapi-schema/doc-good.exit [deleted file]
tests/qapi-schema/doc-interleaved-section.err
tests/qapi-schema/doc-interleaved-section.exit [deleted file]
tests/qapi-schema/doc-invalid-end.err
tests/qapi-schema/doc-invalid-end.exit [deleted file]
tests/qapi-schema/doc-invalid-end2.err
tests/qapi-schema/doc-invalid-end2.exit [deleted file]
tests/qapi-schema/doc-invalid-return.err
tests/qapi-schema/doc-invalid-return.exit [deleted file]
tests/qapi-schema/doc-invalid-section.err
tests/qapi-schema/doc-invalid-section.exit [deleted file]
tests/qapi-schema/doc-invalid-start.err
tests/qapi-schema/doc-invalid-start.exit [deleted file]
tests/qapi-schema/doc-missing-colon.err
tests/qapi-schema/doc-missing-colon.exit [deleted file]
tests/qapi-schema/doc-missing-expr.err
tests/qapi-schema/doc-missing-expr.exit [deleted file]
tests/qapi-schema/doc-missing-space.err
tests/qapi-schema/doc-missing-space.exit [deleted file]
tests/qapi-schema/doc-missing.err
tests/qapi-schema/doc-missing.exit [deleted file]
tests/qapi-schema/doc-no-symbol.err
tests/qapi-schema/doc-no-symbol.exit [deleted file]
tests/qapi-schema/double-type.err
tests/qapi-schema/double-type.exit [deleted file]
tests/qapi-schema/duplicate-key.err
tests/qapi-schema/duplicate-key.exit [deleted file]
tests/qapi-schema/empty.exit [deleted file]
tests/qapi-schema/enum-bad-member.err
tests/qapi-schema/enum-bad-member.exit [deleted file]
tests/qapi-schema/enum-bad-name.err
tests/qapi-schema/enum-bad-name.exit [deleted file]
tests/qapi-schema/enum-bad-prefix.err
tests/qapi-schema/enum-bad-prefix.exit [deleted file]
tests/qapi-schema/enum-clash-member.err
tests/qapi-schema/enum-clash-member.exit [deleted file]
tests/qapi-schema/enum-dict-member-unknown.err
tests/qapi-schema/enum-dict-member-unknown.exit [deleted file]
tests/qapi-schema/enum-if-invalid.err
tests/qapi-schema/enum-if-invalid.exit [deleted file]
tests/qapi-schema/enum-int-member.err
tests/qapi-schema/enum-int-member.exit [deleted file]
tests/qapi-schema/enum-member-case.err
tests/qapi-schema/enum-member-case.exit [deleted file]
tests/qapi-schema/enum-missing-data.err
tests/qapi-schema/enum-missing-data.exit [deleted file]
tests/qapi-schema/enum-wrong-data.err
tests/qapi-schema/enum-wrong-data.exit [deleted file]
tests/qapi-schema/escape-outside-string.err
tests/qapi-schema/event-boxed-empty.err
tests/qapi-schema/event-boxed-empty.exit [deleted file]
tests/qapi-schema/event-case.exit [deleted file]
tests/qapi-schema/event-member-invalid-dict.err
tests/qapi-schema/event-member-invalid-dict.exit [deleted file]
tests/qapi-schema/event-nest-struct.err
tests/qapi-schema/event-nest-struct.exit [deleted file]
tests/qapi-schema/features-bad-type.err
tests/qapi-schema/features-bad-type.exit [deleted file]
tests/qapi-schema/features-duplicate-name.err
tests/qapi-schema/features-duplicate-name.exit [deleted file]
tests/qapi-schema/features-if-invalid.err
tests/qapi-schema/features-if-invalid.exit [deleted file]
tests/qapi-schema/features-missing-name.err
tests/qapi-schema/features-missing-name.exit [deleted file]
tests/qapi-schema/features-name-bad-type.err
tests/qapi-schema/features-name-bad-type.exit [deleted file]
tests/qapi-schema/features-no-list.err
tests/qapi-schema/features-no-list.exit [deleted file]
tests/qapi-schema/features-unknown-key.err
tests/qapi-schema/features-unknown-key.exit [deleted file]
tests/qapi-schema/flat-union-array-branch.err
tests/qapi-schema/flat-union-array-branch.exit [deleted file]
tests/qapi-schema/flat-union-bad-base.err
tests/qapi-schema/flat-union-bad-base.exit [deleted file]
tests/qapi-schema/flat-union-bad-discriminator.err
tests/qapi-schema/flat-union-bad-discriminator.exit [deleted file]
tests/qapi-schema/flat-union-base-any.err
tests/qapi-schema/flat-union-base-any.exit [deleted file]
tests/qapi-schema/flat-union-base-union.err
tests/qapi-schema/flat-union-base-union.exit [deleted file]
tests/qapi-schema/flat-union-clash-member.err
tests/qapi-schema/flat-union-clash-member.exit [deleted file]
tests/qapi-schema/flat-union-discriminator-bad-name.err
tests/qapi-schema/flat-union-discriminator-bad-name.exit [deleted file]
tests/qapi-schema/flat-union-empty.err
tests/qapi-schema/flat-union-empty.exit [deleted file]
tests/qapi-schema/flat-union-inline-invalid-dict.err
tests/qapi-schema/flat-union-inline-invalid-dict.exit [deleted file]
tests/qapi-schema/flat-union-inline.err
tests/qapi-schema/flat-union-inline.exit [deleted file]
tests/qapi-schema/flat-union-int-branch.err
tests/qapi-schema/flat-union-int-branch.exit [deleted file]
tests/qapi-schema/flat-union-invalid-branch-key.err
tests/qapi-schema/flat-union-invalid-branch-key.exit [deleted file]
tests/qapi-schema/flat-union-invalid-discriminator.err
tests/qapi-schema/flat-union-invalid-discriminator.exit [deleted file]
tests/qapi-schema/flat-union-invalid-if-discriminator.err
tests/qapi-schema/flat-union-invalid-if-discriminator.exit [deleted file]
tests/qapi-schema/flat-union-no-base.err
tests/qapi-schema/flat-union-no-base.exit [deleted file]
tests/qapi-schema/flat-union-optional-discriminator.err
tests/qapi-schema/flat-union-optional-discriminator.exit [deleted file]
tests/qapi-schema/flat-union-string-discriminator.err
tests/qapi-schema/flat-union-string-discriminator.exit [deleted file]
tests/qapi-schema/funny-char.err
tests/qapi-schema/funny-char.exit [deleted file]
tests/qapi-schema/funny-word.err
tests/qapi-schema/funny-word.exit [deleted file]
tests/qapi-schema/ident-with-escape.err
tests/qapi-schema/ident-with-escape.exit [deleted file]
tests/qapi-schema/include-before-err.err
tests/qapi-schema/include-before-err.exit [deleted file]
tests/qapi-schema/include-cycle.err
tests/qapi-schema/include-cycle.exit [deleted file]
tests/qapi-schema/include-extra-junk.err
tests/qapi-schema/include-extra-junk.exit [deleted file]
tests/qapi-schema/include-nested-err.err
tests/qapi-schema/include-nested-err.exit [deleted file]
tests/qapi-schema/include-no-file.err
tests/qapi-schema/include-no-file.exit [deleted file]
tests/qapi-schema/include-non-file.err
tests/qapi-schema/include-non-file.exit [deleted file]
tests/qapi-schema/include-repetition.exit [deleted file]
tests/qapi-schema/include-self-cycle.err
tests/qapi-schema/include-self-cycle.exit [deleted file]
tests/qapi-schema/include-simple.exit [deleted file]
tests/qapi-schema/indented-expr.exit [deleted file]
tests/qapi-schema/leading-comma-list.err
tests/qapi-schema/leading-comma-list.exit [deleted file]
tests/qapi-schema/leading-comma-object.err
tests/qapi-schema/leading-comma-object.exit [deleted file]
tests/qapi-schema/missing-colon.err
tests/qapi-schema/missing-colon.exit [deleted file]
tests/qapi-schema/missing-comma-list.err
tests/qapi-schema/missing-comma-list.exit [deleted file]
tests/qapi-schema/missing-comma-object.err
tests/qapi-schema/missing-comma-object.exit [deleted file]
tests/qapi-schema/missing-type.err
tests/qapi-schema/missing-type.exit [deleted file]
tests/qapi-schema/nested-struct-data-invalid-dict.err
tests/qapi-schema/nested-struct-data-invalid-dict.exit [deleted file]
tests/qapi-schema/nested-struct-data.err
tests/qapi-schema/nested-struct-data.exit [deleted file]
tests/qapi-schema/non-objects.err
tests/qapi-schema/non-objects.exit [deleted file]
tests/qapi-schema/oob-test.err
tests/qapi-schema/oob-test.exit [deleted file]
tests/qapi-schema/pragma-doc-required-crap.err
tests/qapi-schema/pragma-doc-required-crap.exit [deleted file]
tests/qapi-schema/pragma-extra-junk.err
tests/qapi-schema/pragma-extra-junk.exit [deleted file]
tests/qapi-schema/pragma-name-case-whitelist-crap.err
tests/qapi-schema/pragma-name-case-whitelist-crap.exit [deleted file]
tests/qapi-schema/pragma-non-dict.err
tests/qapi-schema/pragma-non-dict.exit [deleted file]
tests/qapi-schema/pragma-returns-whitelist-crap.err
tests/qapi-schema/pragma-returns-whitelist-crap.exit [deleted file]
tests/qapi-schema/pragma-unknown.err
tests/qapi-schema/pragma-unknown.exit [deleted file]
tests/qapi-schema/qapi-schema-test.exit [deleted file]
tests/qapi-schema/quoted-structural-chars.err
tests/qapi-schema/quoted-structural-chars.exit [deleted file]
tests/qapi-schema/redefined-builtin.err
tests/qapi-schema/redefined-builtin.exit [deleted file]
tests/qapi-schema/redefined-command.err
tests/qapi-schema/redefined-command.exit [deleted file]
tests/qapi-schema/redefined-event.err
tests/qapi-schema/redefined-event.exit [deleted file]
tests/qapi-schema/redefined-type.err
tests/qapi-schema/redefined-type.exit [deleted file]
tests/qapi-schema/reserved-command-q.err
tests/qapi-schema/reserved-command-q.exit [deleted file]
tests/qapi-schema/reserved-enum-q.err
tests/qapi-schema/reserved-enum-q.exit [deleted file]
tests/qapi-schema/reserved-member-has.err
tests/qapi-schema/reserved-member-has.exit [deleted file]
tests/qapi-schema/reserved-member-q.err
tests/qapi-schema/reserved-member-q.exit [deleted file]
tests/qapi-schema/reserved-member-u.err
tests/qapi-schema/reserved-member-u.exit [deleted file]
tests/qapi-schema/reserved-member-underscore.err
tests/qapi-schema/reserved-member-underscore.exit [deleted file]
tests/qapi-schema/reserved-type-kind.err
tests/qapi-schema/reserved-type-kind.exit [deleted file]
tests/qapi-schema/reserved-type-list.err
tests/qapi-schema/reserved-type-list.exit [deleted file]
tests/qapi-schema/returns-alternate.err
tests/qapi-schema/returns-alternate.exit [deleted file]
tests/qapi-schema/returns-array-bad.err
tests/qapi-schema/returns-array-bad.exit [deleted file]
tests/qapi-schema/returns-dict.err
tests/qapi-schema/returns-dict.exit [deleted file]
tests/qapi-schema/returns-unknown.err
tests/qapi-schema/returns-unknown.exit [deleted file]
tests/qapi-schema/returns-whitelist.err
tests/qapi-schema/returns-whitelist.exit [deleted file]
tests/qapi-schema/string-code-point-127.err
tests/qapi-schema/string-code-point-127.exit [deleted file]
tests/qapi-schema/string-code-point-31.err
tests/qapi-schema/string-code-point-31.exit [deleted file]
tests/qapi-schema/struct-base-clash-deep.err
tests/qapi-schema/struct-base-clash-deep.exit [deleted file]
tests/qapi-schema/struct-base-clash.err
tests/qapi-schema/struct-base-clash.exit [deleted file]
tests/qapi-schema/struct-data-invalid.err
tests/qapi-schema/struct-data-invalid.exit [deleted file]
tests/qapi-schema/struct-member-if-invalid.err
tests/qapi-schema/struct-member-if-invalid.exit [deleted file]
tests/qapi-schema/struct-member-invalid-dict.err
tests/qapi-schema/struct-member-invalid-dict.exit [deleted file]
tests/qapi-schema/struct-member-invalid.err
tests/qapi-schema/struct-member-invalid.exit [deleted file]
tests/qapi-schema/test-qapi.py [changed mode: 0644->0755]
tests/qapi-schema/trailing-comma-list.err
tests/qapi-schema/trailing-comma-list.exit [deleted file]
tests/qapi-schema/trailing-comma-object.err
tests/qapi-schema/trailing-comma-object.exit [deleted file]
tests/qapi-schema/type-bypass-bad-gen.err
tests/qapi-schema/type-bypass-bad-gen.exit [deleted file]
tests/qapi-schema/unclosed-list.err
tests/qapi-schema/unclosed-list.exit [deleted file]
tests/qapi-schema/unclosed-object.err
tests/qapi-schema/unclosed-object.exit [deleted file]
tests/qapi-schema/unclosed-string.err
tests/qapi-schema/unclosed-string.exit [deleted file]
tests/qapi-schema/union-base-empty.err
tests/qapi-schema/union-base-empty.exit [deleted file]
tests/qapi-schema/union-base-no-discriminator.err
tests/qapi-schema/union-base-no-discriminator.exit [deleted file]
tests/qapi-schema/union-branch-case.err
tests/qapi-schema/union-branch-case.exit [deleted file]
tests/qapi-schema/union-branch-if-invalid.err
tests/qapi-schema/union-branch-if-invalid.exit [deleted file]
tests/qapi-schema/union-branch-invalid-dict.err
tests/qapi-schema/union-branch-invalid-dict.exit [deleted file]
tests/qapi-schema/union-clash-branches.err
tests/qapi-schema/union-clash-branches.exit [deleted file]
tests/qapi-schema/union-empty.err
tests/qapi-schema/union-empty.exit [deleted file]
tests/qapi-schema/union-invalid-base.err
tests/qapi-schema/union-invalid-base.exit [deleted file]
tests/qapi-schema/union-optional-branch.err
tests/qapi-schema/union-optional-branch.exit [deleted file]
tests/qapi-schema/union-unknown.err
tests/qapi-schema/union-unknown.exit [deleted file]
tests/qapi-schema/unknown-escape.err
tests/qapi-schema/unknown-escape.exit [deleted file]
tests/qapi-schema/unknown-expr-key.err
tests/qapi-schema/unknown-expr-key.exit [deleted file]

index 214fbd941c8687bc7177934dd514e7dd3ab1d914..1b24b8ba1008229aafab10c01e386e43bf652d4c 100644 (file)
@@ -1102,17 +1102,11 @@ check-tests/check-block.sh: tests/check-block.sh qemu-img$(EXESUF) \
                $(patsubst %,%/all,$(filter %-softmmu,$(TARGET_DIRS)))
        @$<
 
-.PHONY: $(patsubst %, check-%, $(check-qapi-schema-y))
-$(patsubst %, check-%, $(check-qapi-schema-y)): check-%.json: $(SRC_PATH)/%.json
+.PHONY: check-tests/qapi-schema/frontend
+check-tests/qapi-schema/frontend: $(addprefix $(SRC_PATH)/, $(check-qapi-schema-y))
        $(call quiet-command, PYTHONPATH=$(SRC_PATH)/scripts \
-               PYTHONIOENCODING=utf-8 $(PYTHON) $(SRC_PATH)/tests/qapi-schema/test-qapi.py \
-               $^ >$*.test.out 2>$*.test.err; \
-               echo $$? >$*.test.exit, \
-               "TEST","$*.out")
-       @# Sanitize error messages (make them independent of build directory)
-       @perl -p -e 's|\Q$(SRC_PATH)\E/||g' $*.test.err | diff -u $(SRC_PATH)/$*.err -
-       @diff -u $(SRC_PATH)/$*.out $*.test.out
-       @diff -u $(SRC_PATH)/$*.exit $*.test.exit
+         PYTHONIOENCODING=utf-8 $(PYTHON) $(SRC_PATH)/tests/qapi-schema/test-qapi.py $^, \
+         TEST, check-qapi-schema)
 
 .PHONY: check-tests/qapi-schema/doc-good.texi
 check-tests/qapi-schema/doc-good.texi: tests/qapi-schema/doc-good.test.texi
@@ -1170,7 +1164,7 @@ check-acceptance: check-venv $(TESTS_RESULTS_DIR)
 # Consolidated targets
 
 .PHONY: check-block check-qapi-schema check-qtest check-unit check check-clean
-check-qapi-schema: $(patsubst %,check-%, $(check-qapi-schema-y)) check-tests/qapi-schema/doc-good.texi
+check-qapi-schema: check-tests/qapi-schema/frontend check-tests/qapi-schema/doc-good.texi
 check-qtest: $(patsubst %,check-qtest-%, $(QTEST_TARGETS))
 check-block: $(patsubst %,check-%, $(check-block-y))
 check: check-block check-qapi-schema check-unit check-softfloat check-qtest check-decodetree
index 2a4e6ce663402d80e981ebdda1f8ae3bcc627f74..3cd672bc6180572e7bb5b738c7d7d98fcd549af8 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/allow-preconfig-test.json: In command 'allow-preconfig-test':
-tests/qapi-schema/allow-preconfig-test.json:2: flag 'allow-preconfig' may only use true value
+allow-preconfig-test.json: In command 'allow-preconfig-test':
+allow-preconfig-test.json:2: flag 'allow-preconfig' may only use true value
diff --git a/tests/qapi-schema/allow-preconfig-test.exit b/tests/qapi-schema/allow-preconfig-test.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 03aaf29506d291943747f04f62bececb1432b91b..baeb3f66d1608381f8a6a69429d7044ea98295bc 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/alternate-any.json: In alternate 'Alt':
-tests/qapi-schema/alternate-any.json:2: branch 'one' cannot use built-in type 'any'
+alternate-any.json: In alternate 'Alt':
+alternate-any.json:2: branch 'one' cannot use built-in type 'any'
diff --git a/tests/qapi-schema/alternate-any.exit b/tests/qapi-schema/alternate-any.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index dfbe3ee99896b69504b6f9b168785100602bddbc..b1aa1f4e8d5a263642e6f13a47c5b63de91fd532 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/alternate-array.json: In alternate 'Alt':
-tests/qapi-schema/alternate-array.json:5: 'data' member 'two' cannot be an array
+alternate-array.json: In alternate 'Alt':
+alternate-array.json:5: 'data' member 'two' cannot be an array
diff --git a/tests/qapi-schema/alternate-array.exit b/tests/qapi-schema/alternate-array.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 04cea97e5c5fb1e10960889c66ad1abe1e44281b..31ebe56bbf8646e90c675b01f6d9feafb4be3027 100644 (file)
@@ -1,3 +1,3 @@
-tests/qapi-schema/alternate-base.json: In alternate 'Alt':
-tests/qapi-schema/alternate-base.json:4: alternate has unknown key 'base'
+alternate-base.json: In alternate 'Alt':
+alternate-base.json:4: alternate has unknown key 'base'
 Valid keys are 'alternate', 'data', 'if'.
diff --git a/tests/qapi-schema/alternate-base.exit b/tests/qapi-schema/alternate-base.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 6c68e5a92268ebaed7128b4feb16c0c50a982b3c..d384929c51c8f8f1de48ea9dfb669e2073e453e0 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/alternate-branch-if-invalid.json: In alternate 'Alt':
-tests/qapi-schema/alternate-branch-if-invalid.json:2: 'if' condition ' ' of 'data' member 'branch' makes no sense
+alternate-branch-if-invalid.json: In alternate 'Alt':
+alternate-branch-if-invalid.json:2: 'if' condition ' ' of 'data' member 'branch' makes no sense
diff --git a/tests/qapi-schema/alternate-branch-if-invalid.exit b/tests/qapi-schema/alternate-branch-if-invalid.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 73a52d69d12a689c657a54440f6e81c44996ee77..f58b977f7b25fc7a3c3147379ea0f5095b599fd7 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/alternate-clash.json: In alternate 'Alt1':
-tests/qapi-schema/alternate-clash.json:7: branch 'a_b' collides with branch 'a-b'
+alternate-clash.json: In alternate 'Alt1':
+alternate-clash.json:7: branch 'a_b' collides with branch 'a-b'
diff --git a/tests/qapi-schema/alternate-clash.exit b/tests/qapi-schema/alternate-clash.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index f7513b9cbe062e145e2a03924493489c46b2ea75..59ff5efa87280bea674723c5a3cf42b793642fa0 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: branch 'two' can't be distinguished from 'one'
+alternate-conflict-bool-string.json: In alternate 'Alt':
+alternate-conflict-bool-string.json:2: branch 'two' can't be distinguished from 'one'
diff --git a/tests/qapi-schema/alternate-conflict-bool-string.exit b/tests/qapi-schema/alternate-conflict-bool-string.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index e5b42d04c95a53f29431eda1aa9aab8d931d3ce3..d4970284ba5d6f6686e5c2734ff7ffc3fcb25923 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/alternate-conflict-dict.json: In alternate 'Alt':
-tests/qapi-schema/alternate-conflict-dict.json:6: branch 'two' can't be distinguished from 'one'
+alternate-conflict-dict.json: In alternate 'Alt':
+alternate-conflict-dict.json:6: branch 'two' can't be distinguished from 'one'
diff --git a/tests/qapi-schema/alternate-conflict-dict.exit b/tests/qapi-schema/alternate-conflict-dict.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 3d23aeba5167050be3c2874ea881c5ff99ea26fd..5f358552749772aa3beecb6893da61220a38fe84 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: branch 'two' can't be distinguished from 'one'
+alternate-conflict-enum-bool.json: In alternate 'Alt':
+alternate-conflict-enum-bool.json:4: branch 'two' can't be distinguished from 'one'
diff --git a/tests/qapi-schema/alternate-conflict-enum-bool.exit b/tests/qapi-schema/alternate-conflict-enum-bool.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index b72768caa42c8a689808efb34632152f04faade5..6a6d1566645d0d85d769968634190fb64769b813 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: branch 'two' can't be distinguished from 'one'
+alternate-conflict-enum-int.json: In alternate 'Alt':
+alternate-conflict-enum-int.json:4: branch 'two' can't be distinguished from 'one'
diff --git a/tests/qapi-schema/alternate-conflict-enum-int.exit b/tests/qapi-schema/alternate-conflict-enum-int.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index b8a2bb18293fc2cd733c46ae87c552e577038aca..38c805ea1fd0746c89b486eb7c8895dfdfdfac82 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: branch 'two' can't be distinguished from 'one'
+alternate-conflict-num-string.json: In alternate 'Alt':
+alternate-conflict-num-string.json:2: branch 'two' can't be distinguished from 'one'
diff --git a/tests/qapi-schema/alternate-conflict-num-string.exit b/tests/qapi-schema/alternate-conflict-num-string.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 3edec51911569ab4ec7705369a5eadbfe686cd44..2fa08193db2800e3f3fecf96bb1a25215351628b 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/alternate-conflict-string.json: In alternate 'Alt':
-tests/qapi-schema/alternate-conflict-string.json:2: branch 'two' can't be distinguished from 'one'
+alternate-conflict-string.json: In alternate 'Alt':
+alternate-conflict-string.json:2: branch 'two' can't be distinguished from 'one'
diff --git a/tests/qapi-schema/alternate-conflict-string.exit b/tests/qapi-schema/alternate-conflict-string.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 908c309518fc9968fcee57f0159d33eae5a6ca13..c6f6401d1870733145a34753c1e9bb973236b3b6 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/alternate-empty.json: In alternate 'Alt':
-tests/qapi-schema/alternate-empty.json:2: 'data' must not be empty
+alternate-empty.json: In alternate 'Alt':
+alternate-empty.json:2: 'data' must not be empty
diff --git a/tests/qapi-schema/alternate-empty.exit b/tests/qapi-schema/alternate-empty.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index d6a18a294b74a5cacfa85b6cc25670498b65892f..e9e50252267b213cb31f1bcd04509415e7026c6c 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/alternate-invalid-dict.json: In alternate 'Alt':
-tests/qapi-schema/alternate-invalid-dict.json:2: 'data' member 'two' misses key 'type'
+alternate-invalid-dict.json: In alternate 'Alt':
+alternate-invalid-dict.json:2: 'data' member 'two' misses key 'type'
diff --git a/tests/qapi-schema/alternate-invalid-dict.exit b/tests/qapi-schema/alternate-invalid-dict.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index cd7a076ce567469a042bd5f6cd0811a88c945e3b..3ae9cd2f114efa8a635af7ce82c38e48e1581af8 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/alternate-nested.json: In alternate 'Alt2':
-tests/qapi-schema/alternate-nested.json:4: branch 'nested' cannot use alternate type 'Alt1'
+alternate-nested.json: In alternate 'Alt2':
+alternate-nested.json:4: branch 'nested' cannot use alternate type 'Alt1'
diff --git a/tests/qapi-schema/alternate-nested.exit b/tests/qapi-schema/alternate-nested.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index df05860bbacb0916a56ffb292b1d6bdd5b2e48b7..17fec1cd17789f7ecb81e44313362a0610364ef8 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/alternate-unknown.json: In alternate 'Alt':
-tests/qapi-schema/alternate-unknown.json:2: branch 'unknown' uses unknown type 'MissingType'
+alternate-unknown.json: In alternate 'Alt':
+alternate-unknown.json:2: branch 'unknown' uses unknown type 'MissingType'
diff --git a/tests/qapi-schema/alternate-unknown.exit b/tests/qapi-schema/alternate-unknown.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 852b81b89c307f0ab8246ceabb1eb0c57080786b..b1530aa61005ae196276b916b3403f2a6d4b3531 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/args-alternate.json: In command 'oops':
-tests/qapi-schema/args-alternate.json:3: command's 'data' cannot take alternate type 'Alt'
+args-alternate.json: In command 'oops':
+args-alternate.json:3: command's 'data' cannot take alternate type 'Alt'
diff --git a/tests/qapi-schema/args-alternate.exit b/tests/qapi-schema/args-alternate.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 04e11df29f2fbe7e5a80932825789226a76ca6ef..4b60560247e26210982e3ce724071e8fe03cca58 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/args-any.json: In command 'oops':
-tests/qapi-schema/args-any.json:2: command's 'data' cannot take built-in type 'any'
+args-any.json: In command 'oops':
+args-any.json:2: command's 'data' cannot take built-in type 'any'
diff --git a/tests/qapi-schema/args-any.exit b/tests/qapi-schema/args-any.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index c7d367730eea5a61e0dfd259b83204abeb8b1d9d..181222296e9708b87266264e82117e3f76ede20f 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/args-array-empty.json: In command 'oops':
-tests/qapi-schema/args-array-empty.json:2: 'data' member 'empty': array type must contain single type name
+args-array-empty.json: In command 'oops':
+args-array-empty.json:2: 'data' member 'empty': array type must contain single type name
diff --git a/tests/qapi-schema/args-array-empty.exit b/tests/qapi-schema/args-array-empty.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 218fc4bf9a23fd3e3287fd2a5cdc41c6d9281a14..cbc598e4ff6eeb76e3edc9e467d376741c6368f6 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/args-array-unknown.json: In command 'oops':
-tests/qapi-schema/args-array-unknown.json:2: command uses unknown type 'NoSuchType'
+args-array-unknown.json: In command 'oops':
+args-array-unknown.json:2: command uses unknown type 'NoSuchType'
diff --git a/tests/qapi-schema/args-array-unknown.exit b/tests/qapi-schema/args-array-unknown.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 31d39038fc877ec689b17e39e0e7c6b40695887c..361276eb292f4c98a8dfa52055b7dafb81f2f344 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/args-bad-boxed.json: In command 'foo':
-tests/qapi-schema/args-bad-boxed.json:2: flag 'boxed' may only use true value
+args-bad-boxed.json: In command 'foo':
+args-bad-boxed.json:2: flag 'boxed' may only use true value
diff --git a/tests/qapi-schema/args-bad-boxed.exit b/tests/qapi-schema/args-bad-boxed.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 5e0c2979b7ce87695fbd991fb7bdcef956ea2c18..a89af75bef75198ed679b65a3898352fa421056f 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/args-boxed-anon.json: In command 'foo':
-tests/qapi-schema/args-boxed-anon.json:2: 'data' should be a type name
+args-boxed-anon.json: In command 'foo':
+args-boxed-anon.json:2: 'data' should be a type name
diff --git a/tests/qapi-schema/args-boxed-anon.exit b/tests/qapi-schema/args-boxed-anon.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index dc2b00f217f1f5d62bb4591a2532ca8a0e5778ba..415c1148a9fc340ea8e12f39dbc8f36adfc48657 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/args-boxed-string.json: In command 'foo':
-tests/qapi-schema/args-boxed-string.json:2: command's 'data' cannot take built-in type 'str'
+args-boxed-string.json: In command 'foo':
+args-boxed-string.json:2: command's 'data' cannot take built-in type 'str'
diff --git a/tests/qapi-schema/args-boxed-string.exit b/tests/qapi-schema/args-boxed-string.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 81b6f86b66a4fb45079f7cfec62a9acaec1b1bb9..a2331c55439dc5e6c64ce0ee4a7ce655727af762 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/args-int.json: In command 'oops':
-tests/qapi-schema/args-int.json:2: command's 'data' cannot take built-in type 'int'
+args-int.json: In command 'oops':
+args-int.json:2: command's 'data' cannot take built-in type 'int'
diff --git a/tests/qapi-schema/args-int.exit b/tests/qapi-schema/args-int.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index c4971e1399332af77d6212841b9f79f74e729a3d..1527c4a48d18b6b49161d75abd1a6501d094b0c4 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/args-invalid.json: In command 'foo':
-tests/qapi-schema/args-invalid.json:1: 'data' should be an object or type name
+args-invalid.json: In command 'foo':
+args-invalid.json:1: 'data' should be an object or type name
diff --git a/tests/qapi-schema/args-invalid.exit b/tests/qapi-schema/args-invalid.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index f95ac01372da2a40f01b272eaab72da70e5f8216..194a3052d29b6885f1664b67a930c0c3906c808e 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: 'data' member 'member': array type must contain single type name
+args-member-array-bad.json: In command 'oops':
+args-member-array-bad.json:2: 'data' member 'member': array type must contain single type name
diff --git a/tests/qapi-schema/args-member-array-bad.exit b/tests/qapi-schema/args-member-array-bad.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 3ecd276040c7124e340694113881012680f4d9d8..4f33dbbc38810ca462b6069a4ed44c1d7ceaddf1 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: 'data' member 'Arg' uses uppercase in name
+args-member-case.json: In command 'no-way-this-will-get-whitelisted':
+args-member-case.json:2: 'data' member 'Arg' uses uppercase in name
diff --git a/tests/qapi-schema/args-member-case.exit b/tests/qapi-schema/args-member-case.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 0626e1209d4acbe5cf9a301755c3b743958f6c95..96b6e5d289fb456c2f4ebe6d4ce430538e42142e 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/args-member-unknown.json: In command 'oops':
-tests/qapi-schema/args-member-unknown.json:2: parameter 'member' uses unknown type 'NoSuchType'
+args-member-unknown.json: In command 'oops':
+args-member-unknown.json:2: parameter 'member' uses unknown type 'NoSuchType'
diff --git a/tests/qapi-schema/args-member-unknown.exit b/tests/qapi-schema/args-member-unknown.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index c5916a80fb850fb7b4b94d5a8fc8d6cca6668b75..3e04817bc0a1c87881d1db00a25b670d906494c8 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/args-name-clash.json: In command 'oops':
-tests/qapi-schema/args-name-clash.json:4: parameter 'a_b' collides with parameter 'a-b'
+args-name-clash.json: In command 'oops':
+args-name-clash.json:4: parameter 'a_b' collides with parameter 'a-b'
diff --git a/tests/qapi-schema/args-name-clash.exit b/tests/qapi-schema/args-name-clash.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 3a77b2863f6a9d84faa33fbf4fbc0ba0c5af1e32..4bf49550278c246b88224e6243b6d4012ae3775d 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/args-union.json: In command 'oops':
-tests/qapi-schema/args-union.json:3: command's 'data' can take union type 'Uni' only with 'boxed': true
+args-union.json: In command 'oops':
+args-union.json:3: command's 'data' can take union type 'Uni' only with 'boxed': true
diff --git a/tests/qapi-schema/args-union.exit b/tests/qapi-schema/args-union.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 6857d6bf48e4f9bbbed28a0f7f4762268fa0a70f..44bf8706aeae1002a95ff981d3859a3b93c06baf 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/args-unknown.json: In command 'oops':
-tests/qapi-schema/args-unknown.json:2: command's 'data' uses unknown type 'NoSuchType'
+args-unknown.json: In command 'oops':
+args-unknown.json:2: command's 'data' uses unknown type 'NoSuchType'
diff --git a/tests/qapi-schema/args-unknown.exit b/tests/qapi-schema/args-unknown.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 039678a36426c3b2034f01a335a202f481fd1d9d..61a1efc2c06c04fb214ec7ba7401acc1de6c91bd 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/bad-base.json: In struct 'MyType':
-tests/qapi-schema/bad-base.json:3: 'base' requires a struct type, union type 'Union' isn't
+bad-base.json: In struct 'MyType':
+bad-base.json:3: 'base' requires a struct type, union type 'Union' isn't
diff --git a/tests/qapi-schema/bad-base.exit b/tests/qapi-schema/bad-base.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 5227bdce7e9afe7aa7abc2f72ba6556c7795b85e..7991c8898def0ca2dff96dbbf304367d3dce1d35 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/bad-data.json: In command 'oops':
-tests/qapi-schema/bad-data.json:2: 'data' cannot be an array
+bad-data.json: In command 'oops':
+bad-data.json:2: 'data' cannot be an array
diff --git a/tests/qapi-schema/bad-data.exit b/tests/qapi-schema/bad-data.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index ad38a679c72fd51c6314dd65680fe39552818350..263fcd3ecde13633b575258dc3c7d10e2b13eb60 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/bad-ident.json: In struct '*oops':
-tests/qapi-schema/bad-ident.json:2: struct has an invalid name
+bad-ident.json: In struct '*oops':
+bad-ident.json:2: struct has an invalid name
diff --git a/tests/qapi-schema/bad-ident.exit b/tests/qapi-schema/bad-ident.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 517519f5008f1b98f76e5ef6a51eec190d9cb310..a946376d060d85639db2fdde38559e27eea98e3a 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/bad-if-empty-list.json: In struct 'TestIfStruct':
-tests/qapi-schema/bad-if-empty-list.json:2: 'if' condition [] of struct is useless
+bad-if-empty-list.json: In struct 'TestIfStruct':
+bad-if-empty-list.json:2: 'if' condition [] of struct is useless
diff --git a/tests/qapi-schema/bad-if-empty-list.exit b/tests/qapi-schema/bad-if-empty-list.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 5f1767388e0e7829fc7b32f21c12d14cab43df4f..a0f3effefbd3b88ccfddb26f23a2df7b2397c838 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/bad-if-empty.json: In struct 'TestIfStruct':
-tests/qapi-schema/bad-if-empty.json:2: 'if' condition '' of struct makes no sense
+bad-if-empty.json: In struct 'TestIfStruct':
+bad-if-empty.json:2: 'if' condition '' of struct makes no sense
diff --git a/tests/qapi-schema/bad-if-empty.exit b/tests/qapi-schema/bad-if-empty.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index e5d72b2f397da361e15111b65fa76470629008d5..c462f11b90be395aa100756689ce4a3ecd7ae0e4 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/bad-if-list.json: In struct 'TestIfStruct':
-tests/qapi-schema/bad-if-list.json:2: 'if' condition ' ' of struct makes no sense
+bad-if-list.json: In struct 'TestIfStruct':
+bad-if-list.json:2: 'if' condition ' ' of struct makes no sense
diff --git a/tests/qapi-schema/bad-if-list.exit b/tests/qapi-schema/bad-if-list.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 65d8efd7e4b06af08dec4a1e20eb24a072d06d91..f83dee65da1251371b4cbb6f366077097590dba5 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/bad-if.json: In struct 'TestIfStruct':
-tests/qapi-schema/bad-if.json:2: 'if' condition of struct must be a string or a list of strings
+bad-if.json: In struct 'TestIfStruct':
+bad-if.json:2: 'if' condition of struct must be a string or a list of strings
diff --git a/tests/qapi-schema/bad-if.exit b/tests/qapi-schema/bad-if.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 984a77c4e3b1883c2cc5da807865d41af98ba8da..42ccc18988f7e151b5674cc9fc0fee356ce30e07 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/bad-type-bool.json:2: 'struct' requires a string name
+bad-type-bool.json:2: 'struct' requires a string name
diff --git a/tests/qapi-schema/bad-type-bool.exit b/tests/qapi-schema/bad-type-bool.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index e83b8cfb410bd604a5c6cf4cfb4b7be94d133eeb..3d97cd3f0a4cc179bff697d13e04f5612d4604f0 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/bad-type-dict.json:2: 'command' requires a string name
+bad-type-dict.json:2: 'command' requires a string name
diff --git a/tests/qapi-schema/bad-type-dict.exit b/tests/qapi-schema/bad-type-dict.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 7f5916ea29d03a1e0e59f1edd7c5806c1a2d9332..90d06bd94db7b46c1fb9726b07c362eb7723d2c8 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/bad-type-int.json:3:13: stray '123'
+bad-type-int.json:3:13: stray '123'
diff --git a/tests/qapi-schema/bad-type-int.exit b/tests/qapi-schema/bad-type-int.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 233e4b89528ba98a65f44be03a6e6f506092c7be..4ea6c5064e7a74570d9639915eec55fce31321fd 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
+base-cycle-direct.json: In struct 'Loopy':
+base-cycle-direct.json:2: object Loopy contains itself
diff --git a/tests/qapi-schema/base-cycle-direct.exit b/tests/qapi-schema/base-cycle-direct.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 4472f30ba1e8f1c6bfe40ad7aacf9b9a94c97d51..9b5e7ec174b1d63073a02e3159e4cdcc3c8b1ebb 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
+base-cycle-indirect.json: In struct 'Base1':
+base-cycle-indirect.json:2: object Base1 contains itself
diff --git a/tests/qapi-schema/base-cycle-indirect.exit b/tests/qapi-schema/base-cycle-indirect.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 3523d50a79b1ae7a2797d6634a75320e0bc2d069..df0e5f5a57a3d3f77e5711db68e8a7f7582ce2e8 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/command-int.json: In command 'int':
-tests/qapi-schema/command-int.json:2: built-in type 'int' is already defined
+command-int.json: In command 'int':
+command-int.json:2: built-in type 'int' is already defined
diff --git a/tests/qapi-schema/command-int.exit b/tests/qapi-schema/command-int.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
diff --git a/tests/qapi-schema/comments.exit b/tests/qapi-schema/comments.exit
deleted file mode 100644 (file)
index 573541a..0000000
+++ /dev/null
@@ -1 +0,0 @@
-0
index 19a1ffd76ec4a085d50367253079c8d9f3ee0f64..a1c282f93555135a7225e4cc9a7f2c8a6b831983 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/doc-bad-alternate-member.json:3: the following documented members are not in the declaration: aa, bb
+doc-bad-alternate-member.json:3: the following documented members are not in the declaration: aa, bb
diff --git a/tests/qapi-schema/doc-bad-alternate-member.exit b/tests/qapi-schema/doc-bad-alternate-member.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 6962ebed6992fbeee75ccb5ea3a668b02c83bef1..153ea0330a3395b43139cf4b8b3ae9b8d4ef6ff8 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/doc-bad-command-arg.json:3: the following documented members are not in the declaration: b
+doc-bad-command-arg.json:3: the following documented members are not in the declaration: b
diff --git a/tests/qapi-schema/doc-bad-command-arg.exit b/tests/qapi-schema/doc-bad-command-arg.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
diff --git a/tests/qapi-schema/doc-bad-section.exit b/tests/qapi-schema/doc-bad-section.exit
deleted file mode 100644 (file)
index 573541a..0000000
+++ /dev/null
@@ -1 +0,0 @@
-0
index b23e99d160aecd3203fd863bddfa4677671fccf6..166c8dcc18f595ddd47b93751355afbbd3d6af9a 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/doc-bad-symbol.json: In command 'foo':
-tests/qapi-schema/doc-bad-symbol.json:6: documentation comment is for 'food'
+doc-bad-symbol.json: In command 'foo':
+doc-bad-symbol.json:6: documentation comment is for 'food'
diff --git a/tests/qapi-schema/doc-bad-symbol.exit b/tests/qapi-schema/doc-bad-symbol.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index da3cd806e3ac8e7918bfec848b01937cd61c315e..8b9d36eab187183068587035b4269115760f9635 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/doc-bad-union-member.json:3: the following documented members are not in the declaration: a, b
+doc-bad-union-member.json:3: the following documented members are not in the declaration: a, b
diff --git a/tests/qapi-schema/doc-bad-union-member.exit b/tests/qapi-schema/doc-bad-union-member.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index e5566f11e945bfa1c729e3b5d12716d1f6fd02e8..ae23ea2f57120794bf64b0041ce4e79ec1a5e5c6 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/doc-before-include.json:3: documentation for 'foo' is not followed by the definition
+doc-before-include.json:3: documentation for 'foo' is not followed by the definition
diff --git a/tests/qapi-schema/doc-before-include.exit b/tests/qapi-schema/doc-before-include.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 8a97ebb578a8de37d114e7d663ba17976dfd8d2e..c776252e07ada95bc4dd4d15f72223274a4f6b43 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/doc-before-pragma.json:3: documentation for 'foo' is not followed by the definition
+doc-before-pragma.json:3: documentation for 'foo' is not followed by the definition
diff --git a/tests/qapi-schema/doc-before-pragma.exit b/tests/qapi-schema/doc-before-pragma.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 1c3f8e0a542b47497cfaab8a366b3d893dde78cd..0d0d777a1f9bb7222068809d611f536b0e1bf9c8 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/doc-duplicated-arg.json:6:1: 'a' parameter name duplicated
+doc-duplicated-arg.json:6:1: 'a' parameter name duplicated
diff --git a/tests/qapi-schema/doc-duplicated-arg.exit b/tests/qapi-schema/doc-duplicated-arg.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 763193309318e5287c2fcb41f1d9c1983cdbb967..fe97e3db8dcc04877077a8fa704088b72e30f309 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/doc-duplicated-return.json:7:1: duplicated 'Returns' section
+doc-duplicated-return.json:7:1: duplicated 'Returns' section
diff --git a/tests/qapi-schema/doc-duplicated-return.exit b/tests/qapi-schema/doc-duplicated-return.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 5ee15ae2a19e6743bfdb8ece9d66c4b3d6ad0af2..abca141a2c6c19dbc2f47aa98f638312937fe32f 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/doc-duplicated-since.json:7:1: duplicated 'Since' section
+doc-duplicated-since.json:7:1: duplicated 'Since' section
diff --git a/tests/qapi-schema/doc-duplicated-since.exit b/tests/qapi-schema/doc-duplicated-since.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 3c78a37ae1d4ba50196930c93c4fe658f107c50d..2d0f35f310f6f307c433b57133a4cc0ad5137abc 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/doc-empty-arg.json:5:1: invalid parameter name
+doc-empty-arg.json:5:1: invalid parameter name
diff --git a/tests/qapi-schema/doc-empty-arg.exit b/tests/qapi-schema/doc-empty-arg.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index f6586c566fcc5b8c1b6a13766b126c3ed5dc87c3..ba7ba701258b89e8b14aee9ecbe1d7cc5eef224f 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/doc-empty-section.json:7:1: empty doc section 'Note'
+doc-empty-section.json:7:1: empty doc section 'Note'
diff --git a/tests/qapi-schema/doc-empty-section.exit b/tests/qapi-schema/doc-empty-section.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 2dcddca7f6ceb002b1f33962f85cd4039daf8570..81b90e882a77d1020879bf30a3896d242b0de2e6 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/doc-empty-symbol.json:4:1: invalid name
+doc-empty-symbol.json:4:1: invalid name
diff --git a/tests/qapi-schema/doc-empty-symbol.exit b/tests/qapi-schema/doc-empty-symbol.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
diff --git a/tests/qapi-schema/doc-good.exit b/tests/qapi-schema/doc-good.exit
deleted file mode 100644 (file)
index 573541a..0000000
+++ /dev/null
@@ -1 +0,0 @@
-0
index d373eabc556fcb4c1ff64c3e36e0b6e14e104857..715d58cd312d7905cfff32561275f831032d30b7 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/doc-interleaved-section.json:15:1: '@foobar:' can't follow 'Note' section
+doc-interleaved-section.json:15:1: '@foobar:' can't follow 'Note' section
diff --git a/tests/qapi-schema/doc-interleaved-section.exit b/tests/qapi-schema/doc-interleaved-section.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 6345aa6a0fbf8d8797a2fc96e4a1304eaf84bec6..919e4d317e76877e36ce699a737b4320284f4997 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/doc-invalid-end.json:5:2: documentation comment must end with '##'
+doc-invalid-end.json:5:2: documentation comment must end with '##'
diff --git a/tests/qapi-schema/doc-invalid-end.exit b/tests/qapi-schema/doc-invalid-end.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 13ead36fd2f7965682dbd7469815a8bfc20ed801..d88a15cc8a0ee7cb566d51627498344e035256c7 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/doc-invalid-end2.json:5:1: junk after '##' at end of documentation comment
+doc-invalid-end2.json:5:1: junk after '##' at end of documentation comment
diff --git a/tests/qapi-schema/doc-invalid-end2.exit b/tests/qapi-schema/doc-invalid-end2.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 5aaba33bb422f103dd8a216dcc4bb4cf58e8a712..2ad89c594110e1dfd928b56c20750a7e3e098b27 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/doc-invalid-return.json:3: 'Returns:' is only valid for commands
+doc-invalid-return.json:3: 'Returns:' is only valid for commands
diff --git a/tests/qapi-schema/doc-invalid-return.exit b/tests/qapi-schema/doc-invalid-return.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index bda93b44fde7618287c45b620d53099253d80dfa..d2d40e570423c3dca518d4170a9112cdc466c7c3 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/doc-invalid-section.json:5:1: '@note:' not allowed in free-form documentation
+doc-invalid-section.json:5:1: '@note:' not allowed in free-form documentation
diff --git a/tests/qapi-schema/doc-invalid-section.exit b/tests/qapi-schema/doc-invalid-section.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index dcaa9699d6ac75902a771c1b5362aaca712e12df..276c033600dcbe584d62fcaa37fcc4e87b3bbb88 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/doc-invalid-start.json:3:1: junk after '##' at start of documentation comment
+doc-invalid-start.json:3:1: junk after '##' at start of documentation comment
diff --git a/tests/qapi-schema/doc-invalid-start.exit b/tests/qapi-schema/doc-invalid-start.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 6fb5a380bdb04aae53002846d29b0ea6a40d6138..cbcea00715392ff773b0adcbb921684bcbf31013 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/doc-missing-colon.json:4:1: line should end with ':'
+doc-missing-colon.json:4:1: line should end with ':'
diff --git a/tests/qapi-schema/doc-missing-colon.exit b/tests/qapi-schema/doc-missing-colon.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 622a37cc6cfb440d644b12273206ea76e35622da..c9b32a96fa15f6eb3cc73de9d5982d65fd324a23 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/doc-missing-expr.json:3: documentation for 'bar' is not followed by the definition
+doc-missing-expr.json:3: documentation for 'bar' is not followed by the definition
diff --git a/tests/qapi-schema/doc-missing-expr.exit b/tests/qapi-schema/doc-missing-expr.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 1187ba12c42cd3f8e7e42051287ee5c2db1e2d5a..350031d1d60e2d1b1c1279731c3e392e09f60ec7 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/doc-missing-space.json:5:1: missing space after #
+doc-missing-space.json:5:1: missing space after #
diff --git a/tests/qapi-schema/doc-missing-space.exit b/tests/qapi-schema/doc-missing-space.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 7fbf54ff65744dc0dce9ee3b43a2206dce9c0e14..b89d925bcc91233daa7f99fead3c6e1c793859f4 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/doc-missing.json: In command 'undocumented':
-tests/qapi-schema/doc-missing.json:5: documentation comment required
+doc-missing.json: In command 'undocumented':
+doc-missing.json:5: documentation comment required
diff --git a/tests/qapi-schema/doc-missing.exit b/tests/qapi-schema/doc-missing.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 9a3057730cecb5f23445c178baa8dcc04edf65bd..1b4fa14a22fcf555e3d5e36d7ed05a84c7b3cd19 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/doc-no-symbol.json:3: definition documentation required
+doc-no-symbol.json:3: definition documentation required
diff --git a/tests/qapi-schema/doc-no-symbol.exit b/tests/qapi-schema/doc-no-symbol.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 23f88aae99b72df99a1093793fd405d4d2853d7d..71fc4dbb5212b4c86114b86828d2cf33139eb5dc 100644 (file)
@@ -1,3 +1,3 @@
-tests/qapi-schema/double-type.json: In struct 'bar':
-tests/qapi-schema/double-type.json:2: struct has unknown key 'command'
+double-type.json: In struct 'bar':
+double-type.json:2: struct has unknown key 'command'
 Valid keys are 'base', 'data', 'features', 'if', 'struct'.
diff --git a/tests/qapi-schema/double-type.exit b/tests/qapi-schema/double-type.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 7f34a34eb6441f047444e02587bd587bc5bda3ac..7ea8e95e8cc9e0fe293cf1bdca13b3fbd6215426 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/duplicate-key.json:3:10: duplicate key 'key'
+duplicate-key.json:3:10: duplicate key 'key'
diff --git a/tests/qapi-schema/duplicate-key.exit b/tests/qapi-schema/duplicate-key.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
diff --git a/tests/qapi-schema/empty.exit b/tests/qapi-schema/empty.exit
deleted file mode 100644 (file)
index 573541a..0000000
+++ /dev/null
@@ -1 +0,0 @@
-0
index 2b1b4f98d0d204e4c0c563364d4ade311d6da6a1..f75d8c56ffd6114a470999974e03c4298025a479 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/enum-bad-member.json: In enum 'MyEnum':
-tests/qapi-schema/enum-bad-member.json:2: 'data' member requires a string name
+enum-bad-member.json: In enum 'MyEnum':
+enum-bad-member.json:2: 'data' member requires a string name
diff --git a/tests/qapi-schema/enum-bad-member.exit b/tests/qapi-schema/enum-bad-member.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 3273a9808ae54f607cee414248b1a8d000f80c06..d26044b8e3e83b0bd53c85474fd09acb5b227c70 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/enum-bad-name.json: In enum 'MyEnum':
-tests/qapi-schema/enum-bad-name.json:3: 'data' member 'not\possible' has an invalid name
+enum-bad-name.json: In enum 'MyEnum':
+enum-bad-name.json:3: 'data' member 'not\possible' has an invalid name
diff --git a/tests/qapi-schema/enum-bad-name.exit b/tests/qapi-schema/enum-bad-name.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 933e33aa1834b047aa2a17ff0d008d9fc7702450..7a2b35787eebe04d426422608b4b26f1f0f10013 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/enum-bad-prefix.json: In enum 'MyEnum':
-tests/qapi-schema/enum-bad-prefix.json:2: 'prefix' must be a string
+enum-bad-prefix.json: In enum 'MyEnum':
+enum-bad-prefix.json:2: 'prefix' must be a string
diff --git a/tests/qapi-schema/enum-bad-prefix.exit b/tests/qapi-schema/enum-bad-prefix.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 84e02db82cf0aa83cea1153e1832b3c0efc00c75..5986571427bf9a042479a2c68971aa01d8d37c76 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/enum-clash-member.json: In enum 'MyEnum':
-tests/qapi-schema/enum-clash-member.json:2: value 'one_two' collides with value 'one-two'
+enum-clash-member.json: In enum 'MyEnum':
+enum-clash-member.json:2: value 'one_two' collides with value 'one-two'
diff --git a/tests/qapi-schema/enum-clash-member.exit b/tests/qapi-schema/enum-clash-member.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 5df0236343f9deb45ebb689e54850b2d229c9fd2..f8617ea17907f8ebcd0229d35f1e0ffdf99041b3 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: 'data' member has unknown key 'bad-key'
+enum-dict-member-unknown.json: In enum 'MyEnum':
+enum-dict-member-unknown.json:2: 'data' member has unknown key 'bad-key'
 Valid keys are 'if', 'name'.
diff --git a/tests/qapi-schema/enum-dict-member-unknown.exit b/tests/qapi-schema/enum-dict-member-unknown.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 30c1f0e91c40499950ea50d89359cf226d27990f..0556dc967be6b8daa18c916216dd311579bfedaa 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/enum-if-invalid.json: In enum 'TestIfEnum':
-tests/qapi-schema/enum-if-invalid.json:2: 'if' condition of 'data' member 'bar' must be a string or a list of strings
+enum-if-invalid.json: In enum 'TestIfEnum':
+enum-if-invalid.json:2: 'if' condition of 'data' member 'bar' must be a string or a list of strings
diff --git a/tests/qapi-schema/enum-if-invalid.exit b/tests/qapi-schema/enum-if-invalid.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 27f06e334c80e7ffd728cbf29729db09dccbe8bd..3a15294963459694de182f5ed9ed71e4323b64cb 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/enum-int-member.json:3:31: stray '1'
+enum-int-member.json:3:31: stray '1'
diff --git a/tests/qapi-schema/enum-int-member.exit b/tests/qapi-schema/enum-int-member.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index e6b080c6e5603b05d139060f7d519dee3b2ba4c9..8b3aefe37a6267ebc871fedd40f6e143739849b0 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/enum-member-case.json: In enum 'NoWayThisWillGetWhitelisted':
-tests/qapi-schema/enum-member-case.json:4: 'data' member 'Value' uses uppercase in name
+enum-member-case.json: In enum 'NoWayThisWillGetWhitelisted':
+enum-member-case.json:4: 'data' member 'Value' uses uppercase in name
diff --git a/tests/qapi-schema/enum-member-case.exit b/tests/qapi-schema/enum-member-case.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 4809b01f34d25b6826fa1c3d3aff09607284b24e..ec4bdae037b3ae13c6c6029cfb7cb03d5d8315cf 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/enum-missing-data.json: In enum 'MyEnum':
-tests/qapi-schema/enum-missing-data.json:2: enum misses key 'data'
+enum-missing-data.json: In enum 'MyEnum':
+enum-missing-data.json:2: enum misses key 'data'
diff --git a/tests/qapi-schema/enum-missing-data.exit b/tests/qapi-schema/enum-missing-data.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index ad5f0ce46fe46cfa94db11aeb99b9ded3f96657d..a9f34481ba0bc7eef8b6d33b44ed34acca726183 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/enum-wrong-data.json: In enum 'MyEnum':
-tests/qapi-schema/enum-wrong-data.json:2: 'data' must be an array
+enum-wrong-data.json: In enum 'MyEnum':
+enum-wrong-data.json:2: 'data' must be an array
diff --git a/tests/qapi-schema/enum-wrong-data.exit b/tests/qapi-schema/enum-wrong-data.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 06f5f2ed55c7391dad929a1d40ddbad50054f036..c49fe0c285fde1f403f9a6aa1f55cab3b462b4fe 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/escape-outside-string.json:3:27: stray '\'
+escape-outside-string.json:3:27: stray '\'
index 931c10b036d8c8e8098943d66b9e49d49d8fb3f5..b3872cdab5e3fd941ae018a81ac8d838b9171ed0 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/event-boxed-empty.json: In event 'FOO':
-tests/qapi-schema/event-boxed-empty.json:2: 'boxed': true requires 'data'
+event-boxed-empty.json: In event 'FOO':
+event-boxed-empty.json:2: 'boxed': true requires 'data'
diff --git a/tests/qapi-schema/event-boxed-empty.exit b/tests/qapi-schema/event-boxed-empty.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
diff --git a/tests/qapi-schema/event-case.exit b/tests/qapi-schema/event-case.exit
deleted file mode 100644 (file)
index 573541a..0000000
+++ /dev/null
@@ -1 +0,0 @@
-0
index 8406c43df716c859e3c94af1a7bf46fcf832f9e8..c7a6a243050b1a8af645aeb597ecf558f4579cc6 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: 'data' member 'a' misses key 'type'
+event-member-invalid-dict.json: In event 'EVENT_A':
+event-member-invalid-dict.json:1: 'data' member 'a' misses key 'type'
diff --git a/tests/qapi-schema/event-member-invalid-dict.exit b/tests/qapi-schema/event-member-invalid-dict.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 1a3254a73cb4868d76e6acafb499e0d11e5a35ac..8c5f6ed311df9c63d4ffaa395b4b82badd3c0eb3 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: 'data' member 'a' should be a type name
+event-nest-struct.json: In event 'EVENT_A':
+event-nest-struct.json:1: 'data' member 'a' should be a type name
diff --git a/tests/qapi-schema/event-nest-struct.exit b/tests/qapi-schema/event-nest-struct.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 30deb8b624da26633f29135fbfedfd5ec7a04286..3c635916324eccde8f4159753649cb3376636323 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/features-bad-type.json: In struct 'FeatureStruct0':
-tests/qapi-schema/features-bad-type.json:1: 'features' member requires a string name
+features-bad-type.json: In struct 'FeatureStruct0':
+features-bad-type.json:1: 'features' member requires a string name
diff --git a/tests/qapi-schema/features-bad-type.exit b/tests/qapi-schema/features-bad-type.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index a99bbde737f10fa79d3315002ac7ca789702f575..0adbee6b0a784f30cda2d8631fd5274d3bdfa168 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/features-duplicate-name.json: In struct 'FeatureStruct0':
-tests/qapi-schema/features-duplicate-name.json:1: feature 'foo' collides with feature 'foo'
+features-duplicate-name.json: In struct 'FeatureStruct0':
+features-duplicate-name.json:1: feature 'foo' collides with feature 'foo'
diff --git a/tests/qapi-schema/features-duplicate-name.exit b/tests/qapi-schema/features-duplicate-name.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index ffb39378af72f037883bee5ddd79d58403105966..f63b89535e05077ae85442516a568fb921fc3849 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/features-if-invalid.json: In struct 'Stru':
-tests/qapi-schema/features-if-invalid.json:2: 'if' condition of 'features' member 'f' must be a string or a list of strings
+features-if-invalid.json: In struct 'Stru':
+features-if-invalid.json:2: 'if' condition of 'features' member 'f' must be a string or a list of strings
diff --git a/tests/qapi-schema/features-if-invalid.exit b/tests/qapi-schema/features-if-invalid.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index b8db328acc58809fe1f9cfc80b30b30f2ea08c63..ce02412d2e88488fbda8cd6e712af078161e46df 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/features-missing-name.json: In struct 'FeatureStruct0':
-tests/qapi-schema/features-missing-name.json:1: 'features' member misses key 'name'
+features-missing-name.json: In struct 'FeatureStruct0':
+features-missing-name.json:1: 'features' member misses key 'name'
diff --git a/tests/qapi-schema/features-missing-name.exit b/tests/qapi-schema/features-missing-name.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 86db2c0ea2697102b168310cc959aa88a576d2ba..4afcd5fdc3f45d55a645ead92efedf05c11b83c8 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: 'features' member requires a string name
+features-name-bad-type.json: In struct 'FeatureStruct0':
+features-name-bad-type.json:1: 'features' member requires a string name
diff --git a/tests/qapi-schema/features-name-bad-type.exit b/tests/qapi-schema/features-name-bad-type.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index e493f8505725cd1b9332de7714fad1c7c7dc3351..5cfaa3f21671c328996a0cbaae66dcb7d1f01c3d 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/features-no-list.json: In struct 'FeatureStruct0':
-tests/qapi-schema/features-no-list.json:1: 'features' must be an array
+features-no-list.json: In struct 'FeatureStruct0':
+features-no-list.json:1: 'features' must be an array
diff --git a/tests/qapi-schema/features-no-list.exit b/tests/qapi-schema/features-no-list.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 22f5dcf4b0c9ccb2668be963663f085130693769..13e359a2160b5fd4499140f70600122bb89e9d0d 100644 (file)
@@ -1,3 +1,3 @@
-tests/qapi-schema/features-unknown-key.json: In struct 'FeatureStruct0':
-tests/qapi-schema/features-unknown-key.json:1: 'features' member has unknown key 'colour'
+features-unknown-key.json: In struct 'FeatureStruct0':
+features-unknown-key.json:1: 'features' member has unknown key 'colour'
 Valid keys are 'if', 'name'.
diff --git a/tests/qapi-schema/features-unknown-key.exit b/tests/qapi-schema/features-unknown-key.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index de07a7b32a102e3e2dc88fff9471a121136363b3..20a8ef140699f78d9e806087e8ccd73f55c670f6 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: 'data' member 'value1' cannot be an array
+flat-union-array-branch.json: In union 'TestUnion':
+flat-union-array-branch.json:8: 'data' member 'value1' cannot be an array
diff --git a/tests/qapi-schema/flat-union-array-branch.exit b/tests/qapi-schema/flat-union-array-branch.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 5da7602c200f5d82154381b2b6c8d139c8ffac3b..e0a205a58ca58be7cf350b04d520fefa2f8a54ec 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/flat-union-bad-base.json: In union 'TestUnion':
-tests/qapi-schema/flat-union-bad-base.json:8: member 'string' of type 'TestTypeA' collides with base member 'string'
+flat-union-bad-base.json: In union 'TestUnion':
+flat-union-bad-base.json:8: member 'string' of type 'TestTypeA' collides with base member 'string'
diff --git a/tests/qapi-schema/flat-union-bad-base.exit b/tests/qapi-schema/flat-union-bad-base.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index c1b4209ffdc498675eb4b0393c68bd262baa63be..b705439bd95435742a0c6a2bc7455d15d92419df 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' requires a string name
+flat-union-bad-discriminator.json: In union 'TestUnion':
+flat-union-bad-discriminator.json:11: 'discriminator' requires a string name
diff --git a/tests/qapi-schema/flat-union-bad-discriminator.exit b/tests/qapi-schema/flat-union-bad-discriminator.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 7ab3402396ad91bc8b7eee617794c9fb5066e014..c2d4de6a5d0c76d72ea17ff369a2fa7e64426943 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/flat-union-base-any.json: In union 'TestUnion':
-tests/qapi-schema/flat-union-base-any.json:8: 'base' requires a struct type, built-in type 'any' isn't
+flat-union-base-any.json: In union 'TestUnion':
+flat-union-base-any.json:8: 'base' requires a struct type, built-in type 'any' isn't
diff --git a/tests/qapi-schema/flat-union-base-any.exit b/tests/qapi-schema/flat-union-base-any.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 5db7b1e4043fe483fd62cdf371a3e378cae21879..3b0087220e2ab667977b75feca8e6f1f8efb7e3d 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/flat-union-base-union.json: In union 'TestUnion':
-tests/qapi-schema/flat-union-base-union.json:14: 'base' requires a struct type, union type 'UnionBase' isn't
+flat-union-base-union.json: In union 'TestUnion':
+flat-union-base-union.json:14: 'base' requires a struct type, union type 'UnionBase' isn't
diff --git a/tests/qapi-schema/flat-union-base-union.exit b/tests/qapi-schema/flat-union-base-union.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 40f10681f894f53ac9b744b326b902947871a91a..07551e6ef517f07bc7742fb0a795ad8a1b6939ed 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/flat-union-clash-member.json: In union 'TestUnion':
-tests/qapi-schema/flat-union-clash-member.json:11: member 'name' of type 'Branch1' collides with member 'name' of type 'Base'
+flat-union-clash-member.json: In union 'TestUnion':
+flat-union-clash-member.json:11: member 'name' of type 'Branch1' collides with member 'name' of type 'Base'
diff --git a/tests/qapi-schema/flat-union-clash-member.exit b/tests/qapi-schema/flat-union-clash-member.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 2a0deb6a0ecf06b90bd266ed6476a0960ca8cce5..28be49c31a2a201ca83280e73dbc42e9bd95b2e3 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:6: discriminator '*switch' is not a member of 'base'
+flat-union-discriminator-bad-name.json: In union 'MyUnion':
+flat-union-discriminator-bad-name.json:6: discriminator '*switch' is not a member of 'base'
diff --git a/tests/qapi-schema/flat-union-discriminator-bad-name.exit b/tests/qapi-schema/flat-union-discriminator-bad-name.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 91a5b57f5d8ad765cc6de1011b7c27814738623a..89b0f25cb05e11d1d1f2dfa4d80f8ef690b66c36 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 has no branches
+flat-union-empty.json: In union 'Union':
+flat-union-empty.json:4: union has no branches
diff --git a/tests/qapi-schema/flat-union-empty.exit b/tests/qapi-schema/flat-union-empty.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index d353bdd3389ea1976b6399a0407e88bebbbf5fa1..53e5416707286109bc879397375ef91f2121eb57 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: 'data' member 'value1' misses key 'type'
+flat-union-inline-invalid-dict.json: In union 'TestUnion':
+flat-union-inline-invalid-dict.json:7: 'data' member 'value1' misses key 'type'
diff --git a/tests/qapi-schema/flat-union-inline-invalid-dict.exit b/tests/qapi-schema/flat-union-inline-invalid-dict.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 95b1e8c1b7bdb7d245b0d232f9fc213fa51ca602..538283f5dbba9da535e18eb0101e34e10839b673 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/flat-union-inline.json: In union 'TestUnion':
-tests/qapi-schema/flat-union-inline.json:7: 'data' member 'value1' should be a type name
+flat-union-inline.json: In union 'TestUnion':
+flat-union-inline.json:7: 'data' member 'value1' should be a type name
diff --git a/tests/qapi-schema/flat-union-inline.exit b/tests/qapi-schema/flat-union-inline.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 416b696c8fdc61308a5269b27aa6b405556ad839..ae7f800603f3d2fbd1000d7848d8b263e3d68052 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: branch 'value1' cannot use built-in type 'int'
+flat-union-int-branch.json: In union 'TestUnion':
+flat-union-int-branch.json:8: branch 'value1' cannot use built-in type 'int'
diff --git a/tests/qapi-schema/flat-union-int-branch.exit b/tests/qapi-schema/flat-union-int-branch.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 6997b3387db78fb097d8f76c65479258bae75329..5576a25f9b2ad7084aff04c5b26ddc2c247016d1 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: branch 'value_wrong' is not a value of enum type 'TestEnum'
+flat-union-invalid-branch-key.json: In union 'TestUnion':
+flat-union-invalid-branch-key.json:13: branch 'value_wrong' is not a value of enum type 'TestEnum'
diff --git a/tests/qapi-schema/flat-union-invalid-branch-key.exit b/tests/qapi-schema/flat-union-invalid-branch-key.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 3f80de30445e08c0f6440c21d6ca898b353b337e..99bca2ddabb273badaafee6300e8cc6fa7cb7845 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'
+flat-union-invalid-discriminator.json: In union 'TestUnion':
+flat-union-invalid-discriminator.json:10: discriminator 'enum_wrong' is not a member of 'base'
diff --git a/tests/qapi-schema/flat-union-invalid-discriminator.exit b/tests/qapi-schema/flat-union-invalid-discriminator.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index d2b35be9ae7d4cadd7fab99ab6c428fcd1d1a496..350f28da9d991a53dea49ba7e787006b0641d875 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: discriminator member 'enum1' of 'base' must not be conditional
+flat-union-invalid-if-discriminator.json: In union 'TestUnion':
+flat-union-invalid-if-discriminator.json:10: discriminator member 'enum1' of 'base' must not be conditional
diff --git a/tests/qapi-schema/flat-union-invalid-if-discriminator.exit b/tests/qapi-schema/flat-union-invalid-if-discriminator.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index a16f3231f1391082f72b6f20a862a1fea020639f..9bd595bcfb2ffcd7c502ca614de90e743ff0072d 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: 'discriminator' requires 'base'
+flat-union-no-base.json: In union 'TestUnion':
+flat-union-no-base.json:9: 'discriminator' requires 'base'
diff --git a/tests/qapi-schema/flat-union-no-base.exit b/tests/qapi-schema/flat-union-no-base.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 49fbf5b04dc6a658d60350309d3aa13f1e633c53..3d60a1b496b21bc49f2bd0984530405d8658e7fb 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:6: discriminator member 'switch' of base type 'Base' must not be optional
+flat-union-optional-discriminator.json: In union 'MyUnion':
+flat-union-optional-discriminator.json:6: discriminator member 'switch' of base type 'Base' must not be optional
diff --git a/tests/qapi-schema/flat-union-optional-discriminator.exit b/tests/qapi-schema/flat-union-optional-discriminator.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index fb499188aa087b3404d43279ca8b3c41620d1316..ff42c9728bdadb2ff4cddf9c406a437c32e1d3a9 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 member 'kind' of base type 'TestBase' must be of enum type
+flat-union-string-discriminator.json: In union 'TestUnion':
+flat-union-string-discriminator.json:13: discriminator member 'kind' of base type 'TestBase' must be of enum type
diff --git a/tests/qapi-schema/flat-union-string-discriminator.exit b/tests/qapi-schema/flat-union-string-discriminator.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 132fac93ea0f8eca161e334c6f728bfabf65bfcb..1c8abae2e0b89a033170d1e1d2988bc816b8224e 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/funny-char.json:2:36: stray ';'
+funny-char.json:2:36: stray ';'
diff --git a/tests/qapi-schema/funny-char.exit b/tests/qapi-schema/funny-char.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index d9286c8962d6c89976ed7db099e191bcf9c85dc5..a1d9ade970bc70e738ac60de713f76d8c4543aec 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/funny-word.json:1:3: stray 'command'
+funny-word.json:1:3: stray 'command'
diff --git a/tests/qapi-schema/funny-word.exit b/tests/qapi-schema/funny-word.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 1117283c81a8367256394b1817da37395d29e34e..3f6c1e423c54dc94236191be64a6ce2a6383138b 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/ident-with-escape.json:3:3: unknown escape \u
+ident-with-escape.json:3:3: unknown escape \u
diff --git a/tests/qapi-schema/ident-with-escape.exit b/tests/qapi-schema/ident-with-escape.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 098314bc49525b4b00399ba240a75925ddbd835e..16da03026f7381c6c52d14d17d6398963959c62c 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/include-before-err.json:2:13: expected ':'
+include-before-err.json:2:13: expected ':'
diff --git a/tests/qapi-schema/include-before-err.exit b/tests/qapi-schema/include-before-err.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 52028669b5bb0120257b314b02fb74e1fcf2dfc1..4c99f5642b971c8bd18815b4cc73a0c2edfddad5 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
+In file included from include-cycle.json:1:
+In file included from include-cycle-b.json:1:
+include-cycle-c.json:1: inclusion loop for include-cycle.json
diff --git a/tests/qapi-schema/include-cycle.exit b/tests/qapi-schema/include-cycle.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 854cec3ce35ec225f899d6acdb84b33e0459bb9d..1f7d2e1437a2e50bde99ab2ec0bcde5584ba2a7c 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/include-extra-junk.json:3: invalid 'include' directive
+include-extra-junk.json:3: invalid 'include' directive
diff --git a/tests/qapi-schema/include-extra-junk.exit b/tests/qapi-schema/include-extra-junk.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 11928b4f7fa4a3eeb7a479d07da6949fa53846c4..9eac9eaeea7d6f65289c705e39f1380caf4564ce 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 ':'
+In file included from include-nested-err.json:1:
+missing-colon.json:1:10: expected ':'
diff --git a/tests/qapi-schema/include-nested-err.exit b/tests/qapi-schema/include-nested-err.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 0a6c6bb4a97b64aedd3dd0eb05b910b7dec671e5..3115a889fe6b35d87ac7457ef7615eb97a547ea6 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/include-no-file.json:1: can't read include file 'tests/qapi-schema/include-no-file-sub.json': No such file or directory
+include-no-file.json:1: can't read include file 'include-no-file-sub.json': No such file or directory
diff --git a/tests/qapi-schema/include-no-file.exit b/tests/qapi-schema/include-no-file.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 65dd3c7c2c75cdce7079c5fadb30e6cb390d3406..ec8a33165402e07fcaf62d74e8c48b26e11a95a4 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/include-non-file.json:1: value of 'include' must be a string
+include-non-file.json:1: value of 'include' must be a string
diff --git a/tests/qapi-schema/include-non-file.exit b/tests/qapi-schema/include-non-file.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
diff --git a/tests/qapi-schema/include-repetition.exit b/tests/qapi-schema/include-repetition.exit
deleted file mode 100644 (file)
index 573541a..0000000
+++ /dev/null
@@ -1 +0,0 @@
-0
index c84795d1dc43b187fbec98192e2089f9ee4e6e0d..284b0d6f0e33f4881b4c776335fdd32095383613 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/include-self-cycle.json:1: inclusion loop for include-self-cycle.json
+include-self-cycle.json:1: inclusion loop for include-self-cycle.json
diff --git a/tests/qapi-schema/include-self-cycle.exit b/tests/qapi-schema/include-self-cycle.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
diff --git a/tests/qapi-schema/include-simple.exit b/tests/qapi-schema/include-simple.exit
deleted file mode 100644 (file)
index 573541a..0000000
+++ /dev/null
@@ -1 +0,0 @@
-0
diff --git a/tests/qapi-schema/indented-expr.exit b/tests/qapi-schema/indented-expr.exit
deleted file mode 100644 (file)
index 573541a..0000000
+++ /dev/null
@@ -1 +0,0 @@
-0
index cddf471f71277c3783efd38d4948535fe927de51..76eed2b5b3beaf07a6ed6e98febddd29cf1e7509 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/leading-comma-list.json:2:13: expected '{', '[', ']', string, boolean or 'null'
+leading-comma-list.json:2:13: expected '{', '[', ']', string, boolean or 'null'
diff --git a/tests/qapi-schema/leading-comma-list.exit b/tests/qapi-schema/leading-comma-list.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 2f3b19327405b981b5c61249cc61ff5f400cdb72..25f8b6ffd6d4c896f703c4799c4dcaa40194a7c7 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/leading-comma-object.json:1:3: expected string or '}'
+leading-comma-object.json:1:3: expected string or '}'
diff --git a/tests/qapi-schema/leading-comma-object.exit b/tests/qapi-schema/leading-comma-object.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index e642c7c5497c0f4dc2bffdb2f582e7d8691d29a5..d5fe235cb9a8d3950786d81ba5db1cb75726a19f 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/missing-colon.json:1:10: expected ':'
+missing-colon.json:1:10: expected ':'
diff --git a/tests/qapi-schema/missing-colon.exit b/tests/qapi-schema/missing-colon.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 53594994307d9d41697797057eb636d676869163..d0a790c2b3996d9804084f951d0ded1aede437fe 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/missing-comma-list.json:2:20: expected ',' or ']'
+missing-comma-list.json:2:20: expected ',' or ']'
diff --git a/tests/qapi-schema/missing-comma-list.exit b/tests/qapi-schema/missing-comma-list.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index c9b02b0760bb54c1e06618ec60262ce43c64174c..aa8efbc2f32b82211539af6193494968ecb6300e 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/missing-comma-object.json:2:3: expected ',' or '}'
+missing-comma-object.json:2:3: expected ',' or '}'
diff --git a/tests/qapi-schema/missing-comma-object.exit b/tests/qapi-schema/missing-comma-object.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 19b7c495e774d2e4bcaa2d24573c941c1f5b9deb..5755386a18897c3574dd5a541b7dda847405e92d 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/missing-type.json:2: expression is missing metatype
+missing-type.json:2: expression is missing metatype
diff --git a/tests/qapi-schema/missing-type.exit b/tests/qapi-schema/missing-type.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index ed42d6323e2cccf7ac5f3b22e66bfb01db571b75..c044b2b17afea67a6f816d012083f09858eb1b25 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: 'data' member 'a' misses key 'type'
+nested-struct-data-invalid-dict.json: In command 'foo':
+nested-struct-data-invalid-dict.json:2: 'data' member 'a' misses key 'type'
diff --git a/tests/qapi-schema/nested-struct-data-invalid-dict.exit b/tests/qapi-schema/nested-struct-data-invalid-dict.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index b0ec410eb7b2944983f5e2f91d030cb93d3ab2e6..c7258a0182b2b95fef976385332d03f815f7ad75 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/nested-struct-data.json: In command 'foo':
-tests/qapi-schema/nested-struct-data.json:2: 'data' member 'a' should be a type name
+nested-struct-data.json: In command 'foo':
+nested-struct-data.json:2: 'data' member 'a' should be a type name
diff --git a/tests/qapi-schema/nested-struct-data.exit b/tests/qapi-schema/nested-struct-data.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 9237af693978df51f1b705427008da96e6a92256..3a4ea36966e69983a231a5ef0185c81577aef1e7 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/non-objects.json:1:1: expected '{'
+non-objects.json:1:1: expected '{'
diff --git a/tests/qapi-schema/non-objects.exit b/tests/qapi-schema/non-objects.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 3c2ba6e0fdc043b50279a8aa703d5529123256be..7b9a50b3d519f46cc084f89aa0b9fcfcf799b7ad 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/oob-test.json: In command 'oob-command-1':
-tests/qapi-schema/oob-test.json:2: flag 'allow-oob' may only use true value
+oob-test.json: In command 'oob-command-1':
+oob-test.json:2: flag 'allow-oob' may only use true value
diff --git a/tests/qapi-schema/oob-test.exit b/tests/qapi-schema/oob-test.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index bcd981ada86cc280ebe241112c63cf7ee49caee9..717062cb14ef60978f12d9bcd1eb07cdd11d83e2 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/pragma-doc-required-crap.json:3: pragma 'doc-required' must be boolean
+pragma-doc-required-crap.json:3: pragma 'doc-required' must be boolean
diff --git a/tests/qapi-schema/pragma-doc-required-crap.exit b/tests/qapi-schema/pragma-doc-required-crap.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 3ae48d3668c504e40c5ff41c475f4b3660a0cfe2..ba5cc23f56981af1d8b9c686429754d18a87fb6f 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/pragma-extra-junk.json:3: invalid 'pragma' directive
+pragma-extra-junk.json:3: invalid 'pragma' directive
diff --git a/tests/qapi-schema/pragma-extra-junk.exit b/tests/qapi-schema/pragma-extra-junk.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 81f829ff364a132e9f270f10cddc371df93dc331..fbea90d6c570a5fb5a1903860620e27c87f199b4 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/pragma-name-case-whitelist-crap.json:3: pragma name-case-whitelist must be a list of strings
+pragma-name-case-whitelist-crap.json:3: pragma name-case-whitelist must be a list of strings
diff --git a/tests/qapi-schema/pragma-name-case-whitelist-crap.exit b/tests/qapi-schema/pragma-name-case-whitelist-crap.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 8221724b0a551d6e180e05bae6fddafd4abf4728..802f1806c5f29dd2850c159a0bfb79d62b826ed2 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/pragma-non-dict.json:3: value of 'pragma' must be an object
+pragma-non-dict.json:3: value of 'pragma' must be an object
diff --git a/tests/qapi-schema/pragma-non-dict.exit b/tests/qapi-schema/pragma-non-dict.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index c0cae5de18dc4f60e033e5687409c6f866c8ac8d..69784259df028fa7c16c3b0930c4e61fc89e2dfc 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/pragma-returns-whitelist-crap.json:3: pragma returns-whitelist must be a list of strings
+pragma-returns-whitelist-crap.json:3: pragma returns-whitelist must be a list of strings
diff --git a/tests/qapi-schema/pragma-returns-whitelist-crap.exit b/tests/qapi-schema/pragma-returns-whitelist-crap.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index f1335f0a0aa01b488e759e414f9e194cbdc75ca2..d99a772503436df99a39a5da0f06a4e6a5c01100 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/pragma-unknown.json:1: unknown pragma 'no-such-pragma'
+pragma-unknown.json:1: unknown pragma 'no-such-pragma'
diff --git a/tests/qapi-schema/pragma-unknown.exit b/tests/qapi-schema/pragma-unknown.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
diff --git a/tests/qapi-schema/qapi-schema-test.exit b/tests/qapi-schema/qapi-schema-test.exit
deleted file mode 100644 (file)
index 573541a..0000000
+++ /dev/null
@@ -1 +0,0 @@
-0
index d8460a63a79bd18e90d865ad2a1c3730a8a175a5..07d1561d1f796791198ab1af4ae03286e45351b4 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/quoted-structural-chars.json:1:1: expected '{'
+quoted-structural-chars.json:1:1: expected '{'
diff --git a/tests/qapi-schema/quoted-structural-chars.exit b/tests/qapi-schema/quoted-structural-chars.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 47c893375917f01bff8c44658765232c9e8d667e..58c7e42ffc36e59d5fb45894045633832a2a3911 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/redefined-builtin.json: In struct 'size':
-tests/qapi-schema/redefined-builtin.json:2: built-in type 'size' is already defined
+redefined-builtin.json: In struct 'size':
+redefined-builtin.json:2: built-in type 'size' is already defined
diff --git a/tests/qapi-schema/redefined-builtin.exit b/tests/qapi-schema/redefined-builtin.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 54e366bbf3557c974106252661c462998fab7da5..888eea87ca4dfd410d044af4da6e3dfa13702a1e 100644 (file)
@@ -1,4 +1,4 @@
-tests/qapi-schema/redefined-command.json: In command 'foo':
-tests/qapi-schema/redefined-command.json:3: 'foo' is already defined
-tests/qapi-schema/redefined-command.json: In command 'foo':
-tests/qapi-schema/redefined-command.json:2: previous definition
+redefined-command.json: In command 'foo':
+redefined-command.json:3: 'foo' is already defined
+redefined-command.json: In command 'foo':
+redefined-command.json:2: previous definition
diff --git a/tests/qapi-schema/redefined-command.exit b/tests/qapi-schema/redefined-command.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 606c6e4497bd5127c763bcd07bcd39a65dc48436..b1a6d99d2f05611275ef0c23fbd9bae282253989 100644 (file)
@@ -1,4 +1,4 @@
-tests/qapi-schema/redefined-event.json: In event 'EVENT_A':
-tests/qapi-schema/redefined-event.json:3: 'EVENT_A' is already defined
-tests/qapi-schema/redefined-event.json: In event 'EVENT_A':
-tests/qapi-schema/redefined-event.json:2: previous definition
+redefined-event.json: In event 'EVENT_A':
+redefined-event.json:3: 'EVENT_A' is already defined
+redefined-event.json: In event 'EVENT_A':
+redefined-event.json:2: previous definition
diff --git a/tests/qapi-schema/redefined-event.exit b/tests/qapi-schema/redefined-event.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 77786f98ae8ca4fba6377eb61691296cfe3fe52f..b7103fc15f31ac603117bc97008a0c1fbe6774ac 100644 (file)
@@ -1,4 +1,4 @@
-tests/qapi-schema/redefined-type.json: In enum 'foo':
-tests/qapi-schema/redefined-type.json:3: 'foo' is already defined
-tests/qapi-schema/redefined-type.json: In struct 'foo':
-tests/qapi-schema/redefined-type.json:2: previous definition
+redefined-type.json: In enum 'foo':
+redefined-type.json:3: 'foo' is already defined
+redefined-type.json: In struct 'foo':
+redefined-type.json:2: previous definition
diff --git a/tests/qapi-schema/redefined-type.exit b/tests/qapi-schema/redefined-type.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 7f65cda02dd80d2c02e578368560de3bc15ece5e..6fecbaa046cbf51a7092fffc6fdb40154f7f64e4 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/reserved-command-q.json: In command 'q-unix':
-tests/qapi-schema/reserved-command-q.json:5: command has an invalid name
+reserved-command-q.json: In command 'q-unix':
+reserved-command-q.json:5: command has an invalid name
diff --git a/tests/qapi-schema/reserved-command-q.exit b/tests/qapi-schema/reserved-command-q.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index e202f9ff7b75cbfb709bd5ab4ac7393a2601edb8..fc3c7578744fde0240cc727f057f6ee95fe131dc 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/reserved-enum-q.json: In enum 'Foo':
-tests/qapi-schema/reserved-enum-q.json:4: 'data' member 'q-Unix' has an invalid name
+reserved-enum-q.json: In enum 'Foo':
+reserved-enum-q.json:4: 'data' member 'q-Unix' has an invalid name
diff --git a/tests/qapi-schema/reserved-enum-q.exit b/tests/qapi-schema/reserved-enum-q.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index c7ad721ad1031ec87a53259a46f298cdf7458422..436e1749f231d5326b92084d2f48788c7fd6f2f3 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/reserved-member-has.json: In command 'oops':
-tests/qapi-schema/reserved-member-has.json:5: 'data' member 'has-a' uses reserved name
+reserved-member-has.json: In command 'oops':
+reserved-member-has.json:5: 'data' member 'has-a' uses reserved name
diff --git a/tests/qapi-schema/reserved-member-has.exit b/tests/qapi-schema/reserved-member-has.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 04078604fa1b71814aad1af651a5ddf2564323c2..9ac8654a8b31640b2730f01fbed42a8f4fc16583 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/reserved-member-q.json: In struct 'Foo':
-tests/qapi-schema/reserved-member-q.json:4: 'data' member 'q-unix' has an invalid name
+reserved-member-q.json: In struct 'Foo':
+reserved-member-q.json:4: 'data' member 'q-unix' has an invalid name
diff --git a/tests/qapi-schema/reserved-member-q.exit b/tests/qapi-schema/reserved-member-q.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 2e92c11ba568ed9286a7df6ee77ac0fc4422c18b..231d552494fcd13ad445699377095442e57b34bc 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/reserved-member-u.json: In struct 'Oops':
-tests/qapi-schema/reserved-member-u.json:7: 'data' member 'u' uses reserved name
+reserved-member-u.json: In struct 'Oops':
+reserved-member-u.json:7: 'data' member 'u' uses reserved name
diff --git a/tests/qapi-schema/reserved-member-u.exit b/tests/qapi-schema/reserved-member-u.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index da62b48222d266abb0dd16580ea217bd99ee6719..df3ab8a11af21e705d343ece17e8726ee4546606 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/reserved-member-underscore.json: In struct 'Oops':
-tests/qapi-schema/reserved-member-underscore.json:4: 'data' member '_oops' has an invalid name
+reserved-member-underscore.json: In struct 'Oops':
+reserved-member-underscore.json:4: 'data' member '_oops' has an invalid name
diff --git a/tests/qapi-schema/reserved-member-underscore.exit b/tests/qapi-schema/reserved-member-underscore.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index f8112cf92e7bb875418064660389ccbb23769760..d8fb769f9dc9412f3b3e4eb4036dd4ca19011326 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/reserved-type-kind.json: In enum 'UnionKind':
-tests/qapi-schema/reserved-type-kind.json:2: enum name should not end in 'Kind'
+reserved-type-kind.json: In enum 'UnionKind':
+reserved-type-kind.json:2: enum name should not end in 'Kind'
diff --git a/tests/qapi-schema/reserved-type-kind.exit b/tests/qapi-schema/reserved-type-kind.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index c6eee0585cac9b038ae6a4037ff12fa555a9432a..e09f5352f890f186c2319c2ca134eb7af9f61e13 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/reserved-type-list.json: In struct 'FooList':
-tests/qapi-schema/reserved-type-list.json:5: struct name should not end in 'List'
+reserved-type-list.json: In struct 'FooList':
+reserved-type-list.json:5: struct name should not end in 'List'
diff --git a/tests/qapi-schema/reserved-type-list.exit b/tests/qapi-schema/reserved-type-list.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index c1caf98c4787c2dad9f4fd6a595e17aa09be2c8d..b6421a89172eafd956174c85dc9f533a9593018c 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/returns-alternate.json: In command 'oops':
-tests/qapi-schema/returns-alternate.json:3: command's 'returns' cannot take alternate type 'Alt'
+returns-alternate.json: In command 'oops':
+returns-alternate.json:3: command's 'returns' cannot take alternate type 'Alt'
diff --git a/tests/qapi-schema/returns-alternate.exit b/tests/qapi-schema/returns-alternate.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 1b86777d8f53d7e777452b34e8eefa38612eb65f..52712d139d66f90ddbc7fbcdc2ba9579e888623d 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/returns-array-bad.json: In command 'oops':
-tests/qapi-schema/returns-array-bad.json:2: 'returns': array type must contain single type name
+returns-array-bad.json: In command 'oops':
+returns-array-bad.json:2: 'returns': array type must contain single type name
diff --git a/tests/qapi-schema/returns-array-bad.exit b/tests/qapi-schema/returns-array-bad.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 52e4f3ad71f7d51c4a31e4b8b256997eb4f9a7d0..9b2d90c010d5f35e60144ab46cee49cf6302dac8 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/returns-dict.json: In command 'oops':
-tests/qapi-schema/returns-dict.json:2: 'returns' should be a type name
+returns-dict.json: In command 'oops':
+returns-dict.json:2: 'returns' should be a type name
diff --git a/tests/qapi-schema/returns-dict.exit b/tests/qapi-schema/returns-dict.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index f0a989a175b7f7723cc77ef1f0c4589b832c767b..bf59086d0c1f8d4790705a1185adc9e222333be9 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/returns-unknown.json: In command 'oops':
-tests/qapi-schema/returns-unknown.json:2: command's 'returns' uses unknown type 'NoSuchType'
+returns-unknown.json: In command 'oops':
+returns-unknown.json:2: command's 'returns' uses unknown type 'NoSuchType'
diff --git a/tests/qapi-schema/returns-unknown.exit b/tests/qapi-schema/returns-unknown.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 5b0285220f5b9ec82d18c59f50e3ca18e03509ad..c6e46b9b86bc0c953170b87d0fa01a14198f5778 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/returns-whitelist.json: In command 'no-way-this-will-get-whitelisted':
-tests/qapi-schema/returns-whitelist.json:14: command's 'returns' cannot take array type ['int']
+returns-whitelist.json: In command 'no-way-this-will-get-whitelisted':
+returns-whitelist.json:14: command's 'returns' cannot take array type ['int']
diff --git a/tests/qapi-schema/returns-whitelist.exit b/tests/qapi-schema/returns-whitelist.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index b4fa2610a9f1034ec3789e9fd92ae2f81791e883..eb0d1c71a61b126754d2808bcfbc539a50ccf966 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/string-code-point-127.json:2:14: funny character in string
+string-code-point-127.json:2:14: funny character in string
diff --git a/tests/qapi-schema/string-code-point-127.exit b/tests/qapi-schema/string-code-point-127.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 0bb5ce37b854fc2bb40ef385f78f191f1463a8e2..ae969d6e10275bcd82deac42fd3aa38607a3c119 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/string-code-point-31.json:2:14: funny character in string
+string-code-point-31.json:2:14: funny character in string
diff --git a/tests/qapi-schema/string-code-point-31.exit b/tests/qapi-schema/string-code-point-31.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 2b12b3c07f76cf93e21bd4cd5374fcd7f15f0f3f..79879681d9b4b4e242974f85338e8f71631a151f 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/struct-base-clash-deep.json: In struct 'Sub':
-tests/qapi-schema/struct-base-clash-deep.json:10: member 'name' collides with member 'name' of type 'Base'
+struct-base-clash-deep.json: In struct 'Sub':
+struct-base-clash-deep.json:10: member 'name' collides with member 'name' of type 'Base'
diff --git a/tests/qapi-schema/struct-base-clash-deep.exit b/tests/qapi-schema/struct-base-clash-deep.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 8c3ee1c43572825c53f97a5f6e7c9e17afe29376..46473947e6d2ff25dcf4681a896845b6c372cfa4 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/struct-base-clash.json: In struct 'Sub':
-tests/qapi-schema/struct-base-clash.json:5: member 'name' collides with member 'name' of type 'Base'
+struct-base-clash.json: In struct 'Sub':
+struct-base-clash.json:5: member 'name' collides with member 'name' of type 'Base'
diff --git a/tests/qapi-schema/struct-base-clash.exit b/tests/qapi-schema/struct-base-clash.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index aa868bf974d2f4c6ef9032f889122d6a47566ff1..5ed4bec5739c84f3192ba71a300d167bf8e41c97 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/struct-data-invalid.json: In struct 'foo':
-tests/qapi-schema/struct-data-invalid.json:1: 'data' should be an object or type name
+struct-data-invalid.json: In struct 'foo':
+struct-data-invalid.json:1: 'data' should be an object or type name
diff --git a/tests/qapi-schema/struct-data-invalid.exit b/tests/qapi-schema/struct-data-invalid.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 4c5983674b89e2784ea6bab25cc0b4dc40a899df..42e7fdae3cc5d21b709844935d822c7a186af548 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/struct-member-if-invalid.json: In struct 'Stru':
-tests/qapi-schema/struct-member-if-invalid.json:2: 'if' condition of 'data' member 'member' must be a string or a list of strings
+struct-member-if-invalid.json: In struct 'Stru':
+struct-member-if-invalid.json:2: 'if' condition of 'data' member 'member' must be a string or a list of strings
diff --git a/tests/qapi-schema/struct-member-if-invalid.exit b/tests/qapi-schema/struct-member-if-invalid.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 46ec991c28162fa1b47fb93f3730f59cf7207d28..0621aecfbd0c4b60a7118b6291cb23e53f5155f3 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: 'data' member '*a' misses key 'type'
+struct-member-invalid-dict.json: In struct 'foo':
+struct-member-invalid-dict.json:2: 'data' member '*a' misses key 'type'
diff --git a/tests/qapi-schema/struct-member-invalid-dict.exit b/tests/qapi-schema/struct-member-invalid-dict.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 92d4973832d5d1df8b456559d57fde7f01797f4a..9a2c9345383d57a9a9f0eb3a84f1e97c68150d67 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/struct-member-invalid.json: In struct 'foo':
-tests/qapi-schema/struct-member-invalid.json:1: 'data' member 'a' should be a type name
+struct-member-invalid.json: In struct 'foo':
+struct-member-invalid.json:1: 'data' member 'a' should be a type name
diff --git a/tests/qapi-schema/struct-member-invalid.exit b/tests/qapi-schema/struct-member-invalid.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
old mode 100644 (file)
new mode 100755 (executable)
index b0f770b..42baa70
@@ -1,3 +1,4 @@
+#!/usr/bin/env python
 #
 # QAPI parser test harness
 #
 #
 
 from __future__ import print_function
+import argparse
+import difflib
+import os
 import sys
+if sys.version_info[0] < 3:
+    from cStringIO import StringIO
+else:
+    from io import StringIO
 from qapi.common import QAPIError, QAPISchema, QAPISchemaVisitor
 
 
@@ -87,21 +95,102 @@ class QAPISchemaTestVisitor(QAPISchemaVisitor):
             print('%sif %s' % (' ' * indent, ifcond))
 
 
-try:
-    schema = QAPISchema(sys.argv[1])
-except QAPIError as err:
-    print(err, file=sys.stderr)
-    exit(1)
-
-schema.visit(QAPISchemaTestVisitor())
-
-for doc in schema.docs:
-    if doc.symbol:
-        print('doc symbol=%s' % doc.symbol)
+def test_frontend(fname):
+    schema = QAPISchema(fname)
+    schema.visit(QAPISchemaTestVisitor())
+
+    for doc in schema.docs:
+        if doc.symbol:
+            print('doc symbol=%s' % doc.symbol)
+        else:
+            print('doc freeform')
+        print('    body=\n%s' % doc.body.text)
+        for arg, section in doc.args.items():
+            print('    arg=%s\n%s' % (arg, section.text))
+        for section in doc.sections:
+            print('    section=%s\n%s' % (section.name, section.text))
+
+
+def test_and_diff(test_name, dir_name, update):
+    sys.stdout = StringIO()
+    try:
+        test_frontend(os.path.join(dir_name, test_name + '.json'))
+    except QAPIError as err:
+        if err.info.fname is None:
+            print("%s" % err, file=sys.stderr)
+            return 2
+        errstr = str(err) + '\n'
+        if dir_name:
+            errstr = errstr.replace(dir_name + '/', '')
+        actual_err = errstr.splitlines(True)
     else:
-        print('doc freeform')
-    print('    body=\n%s' % doc.body.text)
-    for arg, section in doc.args.items():
-        print('    arg=%s\n%s' % (arg, section.text))
-    for section in doc.sections:
-        print('    section=%s\n%s' % (section.name, section.text))
+        actual_err = []
+    finally:
+        actual_out = sys.stdout.getvalue().splitlines(True)
+        sys.stdout.close()
+        sys.stdout = sys.__stdout__
+
+    mode = 'r+' if update else 'r'
+    try:
+        outfp = open(os.path.join(dir_name, test_name + '.out'), mode)
+        errfp = open(os.path.join(dir_name, test_name + '.err'), mode)
+        expected_out = outfp.readlines()
+        expected_err = errfp.readlines()
+    except IOError as err:
+        print("%s: can't open '%s': %s"
+              % (sys.argv[0], err.filename, err.strerror),
+              file=sys.stderr)
+        return 2
+
+    if actual_out == expected_out and actual_err == expected_err:
+        return 0
+
+    print("%s %s" % (test_name, 'UPDATE' if update else 'FAIL'),
+          file=sys.stderr)
+    out_diff = difflib.unified_diff(expected_out, actual_out, outfp.name)
+    err_diff = difflib.unified_diff(expected_err, actual_err, errfp.name)
+    sys.stdout.writelines(out_diff)
+    sys.stdout.writelines(err_diff)
+
+    if not update:
+        return 1
+
+    try:
+        outfp.truncate(0)
+        outfp.seek(0)
+        outfp.writelines(actual_out)
+        errfp.truncate(0)
+        errfp.seek(0)
+        errfp.writelines(actual_err)
+    except IOError as err:
+        print("%s: can't write '%s': %s"
+              % (sys.argv[0], err.filename, err.strerror),
+              file=sys.stderr)
+        return 2
+
+    return 0
+
+
+def main(argv):
+    parser = argparse.ArgumentParser(
+        description='QAPI schema tester')
+    parser.add_argument('-d', '--dir', action='store', default='',
+                        help="directory containing tests")
+    parser.add_argument('-u', '--update', action='store_true',
+                        help="update expected test results")
+    parser.add_argument('tests', nargs='*', metavar='TEST', action='store')
+    args = parser.parse_args()
+
+    status = 0
+    for t in args.tests:
+        (dir_name, base_name) = os.path.split(t)
+        dir_name = dir_name or args.dir
+        test_name = os.path.splitext(base_name)[0]
+        status |= test_and_diff(test_name, dir_name, args.update)
+
+    exit(status)
+
+
+if __name__ == '__main__':
+    main(sys.argv)
+    exit(0)
index 167d688bebd7fdc0e28d0330b2d73ce6d3db5ed6..ad2f2d7c9787eb611661986eb7c45c0a27f453ca 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/trailing-comma-list.json:2:36: expected '{', '[', string, boolean or 'null'
+trailing-comma-list.json:2:36: expected '{', '[', string, boolean or 'null'
diff --git a/tests/qapi-schema/trailing-comma-list.exit b/tests/qapi-schema/trailing-comma-list.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 186df0fa4538a16ba5d79181d1f952c8c269fce0..29aafc69cdfc3ced9144ec6df177aadd7ed034ec 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/trailing-comma-object.json:2:38: expected string
+trailing-comma-object.json:2:38: expected string
diff --git a/tests/qapi-schema/trailing-comma-object.exit b/tests/qapi-schema/trailing-comma-object.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 10776518961574f21b2e60d8b0f3bf7173f3e286..2ca95cd86d50ee33cebc6a2cd5ce1c3e074160b2 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/type-bypass-bad-gen.json: In command 'foo':
-tests/qapi-schema/type-bypass-bad-gen.json:2: flag 'gen' may only use false value
+type-bypass-bad-gen.json: In command 'foo':
+type-bypass-bad-gen.json:2: flag 'gen' may only use false value
diff --git a/tests/qapi-schema/type-bypass-bad-gen.exit b/tests/qapi-schema/type-bypass-bad-gen.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 6648a8e30b1464495f5d6a764a77fd99617af6ce..aa2c430b22fe16664ab71bae8ba007a3b4b99c4a 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/unclosed-list.json:1:20: expected ',' or ']'
+unclosed-list.json:1:20: expected ',' or ']'
diff --git a/tests/qapi-schema/unclosed-list.exit b/tests/qapi-schema/unclosed-list.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 54d221e3a98907608fefd1ac9afb26361f4657ae..c08499b3412c36c4a3402742b11db18d169c496a 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/unclosed-object.json:1:21: expected ',' or '}'
+unclosed-object.json:1:21: expected ',' or '}'
diff --git a/tests/qapi-schema/unclosed-object.exit b/tests/qapi-schema/unclosed-object.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 9439698fe06b4801a90347443ebfdf2cd9ec9b64..175e192b24d8e780d17da8f4cb9d211cf7211cc9 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/unclosed-string.json:1:11: missing terminating "'"
+unclosed-string.json:1:11: missing terminating "'"
diff --git a/tests/qapi-schema/unclosed-string.exit b/tests/qapi-schema/unclosed-string.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index b76542d47a06e93d4ea3bd40b1b59882523d4f17..3630b341a69eb36f64ac511b3bd469b39660eb69 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'
+union-base-empty.json: In union 'TestUnion':
+union-base-empty.json:5: discriminator 'type' is not a member of 'base'
diff --git a/tests/qapi-schema/union-base-empty.exit b/tests/qapi-schema/union-base-empty.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index f4c16a2c1406f1278eebb61b725f7704d6bc858f..9cd5d11b0bb0b7a4ab0c873a6b6ddb37a20249aa 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: 'base' requires 'discriminator'
+union-base-no-discriminator.json: In union 'TestUnion':
+union-base-no-discriminator.json:11: 'base' requires 'discriminator'
diff --git a/tests/qapi-schema/union-base-no-discriminator.exit b/tests/qapi-schema/union-base-no-discriminator.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index a0684ae637c938248fca74b31a0b64b24e5b8cc2..b1e941730365060ffc1121bac0c185232b294308 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/union-branch-case.json: In union 'Uni':
-tests/qapi-schema/union-branch-case.json:2: 'data' member 'Branch' uses uppercase in name
+union-branch-case.json: In union 'Uni':
+union-branch-case.json:2: 'data' member 'Branch' uses uppercase in name
diff --git a/tests/qapi-schema/union-branch-case.exit b/tests/qapi-schema/union-branch-case.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 14819bf8b8b4675aef00a8ab19e8ef9994aa3104..dd4518233e6b8a6b481d40e78fa44f793c0c3d63 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/union-branch-if-invalid.json: In union 'Uni':
-tests/qapi-schema/union-branch-if-invalid.json:4: 'if' condition '' of 'data' member 'branch1' makes no sense
+union-branch-if-invalid.json: In union 'Uni':
+union-branch-if-invalid.json:4: 'if' condition '' of 'data' member 'branch1' makes no sense
diff --git a/tests/qapi-schema/union-branch-if-invalid.exit b/tests/qapi-schema/union-branch-if-invalid.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 2967cd626026fed5778a91562d4c43ea9b3eb387..8137c5a7675a6f182868520ff6a7299afad65563 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: 'data' member 'integer' misses key 'type'
+union-branch-invalid-dict.json: In union 'UnionInvalidBranch':
+union-branch-invalid-dict.json:2: 'data' member 'integer' misses key 'type'
diff --git a/tests/qapi-schema/union-branch-invalid-dict.exit b/tests/qapi-schema/union-branch-invalid-dict.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 931399f07653b75c2fed1a11b275acb4c1436903..73bbc2cabd09815ea0cff5f1f48b6663a46bbc67 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/union-clash-branches.json: In union 'TestUnion':
-tests/qapi-schema/union-clash-branches.json:4: branch 'a_b' collides with branch 'a-b'
+union-clash-branches.json: In union 'TestUnion':
+union-clash-branches.json:4: branch 'a_b' collides with branch 'a-b'
diff --git a/tests/qapi-schema/union-clash-branches.exit b/tests/qapi-schema/union-clash-branches.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 35c0d62eb087ec872b35ff011485780292613597..59788c94cea8a09a537d17e75586d9b96ffe92d6 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/union-empty.json: In union 'Union':
-tests/qapi-schema/union-empty.json:2: union has no branches
+union-empty.json: In union 'Union':
+union-empty.json:2: union has no branches
diff --git a/tests/qapi-schema/union-empty.exit b/tests/qapi-schema/union-empty.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 10fecf0b56dc6a6b121b17e753147cf02fd24415..a804028438acf4e0cf9bb3a613ba44218f4de5e7 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/union-invalid-base.json: In union 'TestUnion':
-tests/qapi-schema/union-invalid-base.json:8: 'base' requires a struct type, built-in type 'int' isn't
+union-invalid-base.json: In union 'TestUnion':
+union-invalid-base.json:8: 'base' requires a struct type, built-in type 'int' isn't
diff --git a/tests/qapi-schema/union-invalid-base.exit b/tests/qapi-schema/union-invalid-base.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index 9f24274923931df6bbea1a44f28213e51ca5b00e..b33f111de4960b63e0708a3f32444be17fe4fe1d 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/union-optional-branch.json: In union 'Union':
-tests/qapi-schema/union-optional-branch.json:2: 'data' member '*a' has an invalid name
+union-optional-branch.json: In union 'Union':
+union-optional-branch.json:2: 'data' member '*a' has an invalid name
diff --git a/tests/qapi-schema/union-optional-branch.exit b/tests/qapi-schema/union-optional-branch.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index a7f340ddca2cf51aa74c21605b31e93b4ed867bf..7aba9f94dada18e5ce4d14876919e7c281e6cdfb 100644 (file)
@@ -1,2 +1,2 @@
-tests/qapi-schema/union-unknown.json: In union 'Union':
-tests/qapi-schema/union-unknown.json:2: union uses unknown type 'MissingType'
+union-unknown.json: In union 'Union':
+union-unknown.json:2: union uses unknown type 'MissingType'
diff --git a/tests/qapi-schema/union-unknown.exit b/tests/qapi-schema/union-unknown.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index e24bbaf046e0ae9247580f688e48ecec06485501..759a5990d84848e30341cfa90da087f104fb37c8 100644 (file)
@@ -1 +1 @@
-tests/qapi-schema/unknown-escape.json:3:21: unknown escape \x
+unknown-escape.json:3:21: unknown escape \x
diff --git a/tests/qapi-schema/unknown-escape.exit b/tests/qapi-schema/unknown-escape.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1
index be9f99c4ef41b01af89bbc6362f15b8d2c17bb35..c5f395bf79e93ee3753c608a2e048f14c9394506 100644 (file)
@@ -1,3 +1,3 @@
-tests/qapi-schema/unknown-expr-key.json: In struct 'bar':
-tests/qapi-schema/unknown-expr-key.json:2: struct has unknown keys 'bogus', 'phony'
+unknown-expr-key.json: In struct 'bar':
+unknown-expr-key.json:2: struct has unknown keys 'bogus', 'phony'
 Valid keys are 'base', 'data', 'features', 'if', 'struct'.
diff --git a/tests/qapi-schema/unknown-expr-key.exit b/tests/qapi-schema/unknown-expr-key.exit
deleted file mode 100644 (file)
index d00491f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-1