[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 046/143] meson: convert check-decodetree
From: |
Paolo Bonzini |
Subject: |
[PATCH 046/143] meson: convert check-decodetree |
Date: |
Thu, 6 Aug 2020 21:14:42 +0200 |
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
meson.build | 2 ++
tests/Makefile.include | 8 +-------
tests/meson.build | 4 ++++
3 files changed, 7 insertions(+), 7 deletions(-)
create mode 100644 tests/meson.build
diff --git a/meson.build b/meson.build
index d287e06..fbf27a7 100644
--- a/meson.build
+++ b/meson.build
@@ -6,6 +6,7 @@ not_found = dependency('', required: false)
keyval = import('unstable-keyval')
ss = import('sourceset')
+sh = find_program('sh')
cc = meson.get_compiler('c')
config_host = keyval.load(meson.current_build_dir() / 'config-host.mak')
@@ -355,6 +356,7 @@ endif
subdir('tools')
subdir('pc-bios')
+subdir('tests')
summary_info = {}
summary_info += {'Install prefix': config_host['prefix']}
diff --git a/tests/Makefile.include b/tests/Makefile.include
index 1a20657..3ae7f88 100644
--- a/tests/Makefile.include
+++ b/tests/Makefile.include
@@ -896,13 +896,6 @@ check-tests/qapi-schema/frontend: $(addprefix
$(SRC_PATH)/, $(check-qapi-schema-
check-tests/qapi-schema/doc-good.texi: tests/qapi-schema/doc-good.test.texi
@diff -u $(SRC_PATH)/tests/qapi-schema/doc-good.texi $<
-.PHONY: check-decodetree
-check-decodetree:
- $(call quiet-command, \
- cd $(SRC_PATH)/tests/decode && \
- ./check.sh "$(PYTHON)" "$(SRC_PATH)/scripts/decodetree.py", \
- TEST, decodetree.py)
-
# Python venv for running tests
.PHONY: check-venv check-acceptance
@@ -964,6 +957,7 @@ check-block: $(patsubst %,check-%, $(check-block-y))
endif
check-build: build-unit build-softfloat build-qtest
+check: check-block check-qapi-schema check-unit check-softfloat check-qtest
check-clean:
rm -rf $(check-unit-y) tests/*.o tests/*/*.o $(QEMU_IOTESTS_HELPERS-y)
rm -rf $(sort $(foreach target,$(SYSEMU_TARGET_LIST),
$(check-qtest-$(target)-y:%=tests/qtest/%$(EXESUF)))
$(check-qtest-generic-y:%=tests/qtest/%$(EXESUF)))
diff --git a/tests/meson.build b/tests/meson.build
new file mode 100644
index 0000000..5c52021
--- /dev/null
+++ b/tests/meson.build
@@ -0,0 +1,4 @@
+test('decodetree', sh,
+ args: [ files('decode/check.sh'), config_host['PYTHON'],
files('../scripts/decodetree.py') ],
+ workdir: meson.current_source_dir() / 'decode',
+ suite: 'decodetree')
--
1.8.3.1
- [PATCH 038/143] meson: add qemu-keymap, (continued)
- [PATCH 038/143] meson: add qemu-keymap, Paolo Bonzini, 2020/08/06
- [PATCH 039/143] meson: add qemu-edid, Paolo Bonzini, 2020/08/06
- [PATCH 040/143] meson: add virtfs-proxy-helper, Paolo Bonzini, 2020/08/06
- [PATCH 041/143] meson: keymap-gen, Paolo Bonzini, 2020/08/06
- [PATCH 042/143] meson: generate qemu-version.h, Paolo Bonzini, 2020/08/06
- [PATCH 043/143] meson: generate shader headers, Paolo Bonzini, 2020/08/06
- [PATCH 044/143] meson: generate hxtool files, Paolo Bonzini, 2020/08/06
- [PATCH 045/143] meson: uncompress edk2 bios, Paolo Bonzini, 2020/08/06
- [PATCH 046/143] meson: convert check-decodetree,
Paolo Bonzini <=
- [PATCH 049/143] meson: convert qom directory to Meson (tools part), Paolo Bonzini, 2020/08/06
- [PATCH 050/143] meson: convert authz directory to Meson, Paolo Bonzini, 2020/08/06
- [PATCH 047/143] meson: convert tests/fp and check-softfloat, Paolo Bonzini, 2020/08/06
- [PATCH 048/143] meson: convert check-qapi-schema, Paolo Bonzini, 2020/08/06
- [PATCH 051/143] meson: convert crypto directory to Meson, Paolo Bonzini, 2020/08/06
- [PATCH 052/143] meson: convert io directory to Meson, Paolo Bonzini, 2020/08/06
- [PATCH 053/143] meson: convert target/s390x/gen-features.h, Paolo Bonzini, 2020/08/06
- [PATCH 055/143] meson: add macos dependencies, Paolo Bonzini, 2020/08/06
- [PATCH 056/143] meson: add modules infrastructure, Paolo Bonzini, 2020/08/06
- [PATCH 057/143] meson: convert chardev directory to Meson (tools part), Paolo Bonzini, 2020/08/06