[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL v8 054/152] meson: convert check-decodetree
From: |
Paolo Bonzini |
Subject: |
[PULL v8 054/152] meson: convert check-decodetree |
Date: |
Fri, 21 Aug 2020 06:21:51 -0400 |
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
meson.build | 2 ++
tests/Makefile.include | 9 +--------
tests/meson.build | 4 ++++
3 files changed, 7 insertions(+), 8 deletions(-)
create mode 100644 tests/meson.build
diff --git a/meson.build b/meson.build
index 528198b6bd..6384401e9f 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')
@@ -384,6 +385,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 f277d238fb..12b0316a72 100644
--- a/tests/Makefile.include
+++ b/tests/Makefile.include
@@ -894,13 +894,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
@@ -969,7 +962,7 @@ check-clean:
rm -f tests/qtest/dbus-vmstate1-gen-timestamp
rm -rf $(TESTS_VENV_DIR) $(TESTS_RESULTS_DIR)
-check: check-block check-qapi-schema check-unit check-softfloat check-qtest
check-decodetree
+check: check-block check-qapi-schema check-unit check-softfloat check-qtest
clean: check-clean
diff --git a/tests/meson.build b/tests/meson.build
new file mode 100644
index 0000000000..5c52021dc9
--- /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')
--
2.26.2
- [PULL v8 034/152] contrib/rdmacm-mux: convert to Meson, (continued)
- [PULL v8 034/152] contrib/rdmacm-mux: convert to Meson, Paolo Bonzini, 2020/08/21
- [PULL v8 036/152] contrib/vhost-user-gpu: convert to meson, Paolo Bonzini, 2020/08/21
- [PULL v8 043/152] meson: add msi generation, Paolo Bonzini, 2020/08/21
- [PULL v8 041/152] meson: convert qemu-ga, Paolo Bonzini, 2020/08/21
- [PULL v8 049/152] meson: keymap-gen, Paolo Bonzini, 2020/08/21
- [PULL v8 048/152] meson: add virtfs-proxy-helper, Paolo Bonzini, 2020/08/21
- [PULL v8 050/152] meson: generate qemu-version.h, Paolo Bonzini, 2020/08/21
- [PULL v8 047/152] meson: add qemu-edid, Paolo Bonzini, 2020/08/21
- [PULL v8 051/152] meson: generate shader headers, Paolo Bonzini, 2020/08/21
- [PULL v8 057/152] meson: convert qom directory to Meson (tools part), Paolo Bonzini, 2020/08/21
- [PULL v8 054/152] meson: convert check-decodetree,
Paolo Bonzini <=
- [PULL v8 061/152] meson: convert target/s390x/gen-features.h, Paolo Bonzini, 2020/08/21
- [PULL v8 056/152] meson: convert check-qapi-schema, Paolo Bonzini, 2020/08/21
- [PULL v8 052/152] meson: generate hxtool files, Paolo Bonzini, 2020/08/21
- [PULL v8 063/152] meson: add modules infrastructure, Paolo Bonzini, 2020/08/21
- [PULL v8 059/152] meson: convert crypto directory to Meson, Paolo Bonzini, 2020/08/21
- [PULL v8 064/152] meson: convert chardev directory to Meson (tools part), Paolo Bonzini, 2020/08/21
- [PULL v8 053/152] meson: handle edk2 bios and descriptors, Paolo Bonzini, 2020/08/21
- [PULL v8 067/152] meson: qemu-pr-helper, Paolo Bonzini, 2020/08/21
- [PULL v8 060/152] meson: convert io directory to Meson, Paolo Bonzini, 2020/08/21
- [PULL v8 055/152] meson: convert tests/fp and check-softfloat, Paolo Bonzini, 2020/08/21