[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 053/150] meson: convert check-decodetree
From: |
Paolo Bonzini |
Subject: |
[PULL 053/150] meson: convert check-decodetree |
Date: |
Tue, 18 Aug 2020 10:08:48 -0400 |
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 c87a7ea257..a11111e232 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')
@@ -381,6 +382,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..8e953a24ee 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
@@ -962,6 +955,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 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 051/150] meson: generate hxtool files, (continued)
- [PULL 051/150] meson: generate hxtool files, Paolo Bonzini, 2020/08/18
- [PULL 058/150] meson: convert crypto directory to Meson, Paolo Bonzini, 2020/08/18
- [PULL 059/150] meson: convert io directory to Meson, Paolo Bonzini, 2020/08/18
- [PULL 040/150] meson: convert qemu-ga, Paolo Bonzini, 2020/08/18
- [PULL 054/150] meson: convert tests/fp and check-softfloat, Paolo Bonzini, 2020/08/18
- [PULL 057/150] meson: convert authz directory to Meson, Paolo Bonzini, 2020/08/18
- [PULL 065/150] meson: qemu-{img,io,nbd}, Paolo Bonzini, 2020/08/18
- [PULL 055/150] meson: convert check-qapi-schema, Paolo Bonzini, 2020/08/18
- [PULL 056/150] meson: convert qom directory to Meson (tools part), Paolo Bonzini, 2020/08/18
- [PULL 062/150] meson: add modules infrastructure, Paolo Bonzini, 2020/08/18
- [PULL 053/150] meson: convert check-decodetree,
Paolo Bonzini <=
- [PULL 066/150] meson: qemu-pr-helper, Paolo Bonzini, 2020/08/18
- [PULL 063/150] meson: convert chardev directory to Meson (tools part), Paolo Bonzini, 2020/08/18
- [PULL 067/150] configure, Makefile; remove TOOLS and HELPERS-y variable, Paolo Bonzini, 2020/08/18
- [PULL 060/150] meson: convert target/s390x/gen-features.h, Paolo Bonzini, 2020/08/18
- [PULL 072/150] meson: convert root directory to Meson, Paolo Bonzini, 2020/08/18
- [PULL 068/150] meson: convert chardev directory to Meson (emulator part), Paolo Bonzini, 2020/08/18
- [PULL 077/150] meson: convert qemu-storage-daemon, Paolo Bonzini, 2020/08/18
- [PULL 075/150] meson: convert dump/, Paolo Bonzini, 2020/08/18
- [PULL 069/150] meson: convert tests/qtest to meson, Paolo Bonzini, 2020/08/18
- [PULL 079/150] meson: convert migration directory to Meson, Paolo Bonzini, 2020/08/18