Lines 675-687
tests/test-qapi-events.c tests/test-qapi-events.h \
Link Here
|
675 |
tests/test-qapi-introspect.c tests/test-qapi-introspect.h: \ |
675 |
tests/test-qapi-introspect.c tests/test-qapi-introspect.h: \ |
676 |
tests/test-qapi-gen-timestamp ; |
676 |
tests/test-qapi-gen-timestamp ; |
677 |
tests/test-qapi-gen-timestamp: $(SRC_PATH)/tests/qapi-schema/qapi-schema-test.json $(qapi-py) |
677 |
tests/test-qapi-gen-timestamp: $(SRC_PATH)/tests/qapi-schema/qapi-schema-test.json $(qapi-py) |
678 |
$(call quiet-command,$(PYTHON_UTF8) $(SRC_PATH)/scripts/qapi-gen.py \ |
678 |
$(call quiet-command,$(PYTHON) $(SRC_PATH)/scripts/qapi-gen.py \ |
679 |
-o tests -p "test-" $<, \ |
679 |
-o tests -p "test-" $<, \ |
680 |
"GEN","$(@:%-timestamp=%)") |
680 |
"GEN","$(@:%-timestamp=%)") |
681 |
@>$@ |
681 |
@>$@ |
682 |
|
682 |
|
683 |
tests/qapi-schema/doc-good.test.texi: $(SRC_PATH)/tests/qapi-schema/doc-good.json $(qapi-py) |
683 |
tests/qapi-schema/doc-good.test.texi: $(SRC_PATH)/tests/qapi-schema/doc-good.json $(qapi-py) |
684 |
$(call quiet-command,$(PYTHON_UTF8) $(SRC_PATH)/scripts/qapi-gen.py \ |
684 |
$(call quiet-command,$(PYTHON) $(SRC_PATH)/scripts/qapi-gen.py \ |
685 |
-o tests/qapi-schema -p "doc-good-" $<, \ |
685 |
-o tests/qapi-schema -p "doc-good-" $<, \ |
686 |
"GEN","$@") |
686 |
"GEN","$@") |
687 |
@mv tests/qapi-schema/doc-good-qapi-doc.texi $@ |
687 |
@mv tests/qapi-schema/doc-good-qapi-doc.texi $@ |
Lines 939-945
check-tests/qemu-iotests-quick.sh: tests/qemu-iotests-quick.sh qemu-img$(EXESUF)
Link Here
|
939 |
.PHONY: $(patsubst %, check-%, $(check-qapi-schema-y)) |
939 |
.PHONY: $(patsubst %, check-%, $(check-qapi-schema-y)) |
940 |
$(patsubst %, check-%, $(check-qapi-schema-y)): check-%.json: $(SRC_PATH)/%.json |
940 |
$(patsubst %, check-%, $(check-qapi-schema-y)): check-%.json: $(SRC_PATH)/%.json |
941 |
$(call quiet-command, PYTHONPATH=$(SRC_PATH)/scripts \ |
941 |
$(call quiet-command, PYTHONPATH=$(SRC_PATH)/scripts \ |
942 |
$(PYTHON_UTF8) $(SRC_PATH)/tests/qapi-schema/test-qapi.py \ |
942 |
$(PYTHON) $(SRC_PATH)/tests/qapi-schema/test-qapi.py \ |
943 |
$^ >$*.test.out 2>$*.test.err; \ |
943 |
$^ >$*.test.out 2>$*.test.err; \ |
944 |
echo $$? >$*.test.exit, \ |
944 |
echo $$? >$*.test.exit, \ |
945 |
"TEST","$*.out") |
945 |
"TEST","$*.out") |