qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: does make check now require TCG? Or is it a parallelism issue?


From: Paolo Bonzini
Subject: Re: does make check now require TCG? Or is it a parallelism issue?
Date: Thu, 8 Oct 2020 17:02:05 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0

On 08/10/20 16:48, Claudio Fontana wrote:
> on master, a build without tcg like:
> 
> exec '../configure' '--disable-tcg' '--enable-kvm' '--enable-hax' "$@"
> 
> make -j120 check
> Generating qemu-version.h with a meson_exe.py custom command
> make: *** No rule to make target 'qemu-system-aarch64', needed by 
> 'check-block'.  Stop.
> make: *** Waiting for unfinished jobs....
> 
> qemu-system-aarch64 is required for check-block now?

No, it's not, it's an unnecessary dependency.  This will fix it:

diff --git a/tests/Makefile.include b/tests/Makefile.include
index 5aca98e60c..1ca70d88ce 100644
--- a/tests/Makefile.include
+++ b/tests/Makefile.include
@@ -140,7 +140,7 @@ QEMU_IOTESTS_HELPERS-$(CONFIG_LINUX) = 
tests/qemu-iotests/socket_scm_helper$(EXE
 check: check-block
 check-block: $(SRC_PATH)/tests/check-block.sh qemu-img$(EXESUF) \
                qemu-io$(EXESUF) qemu-nbd$(EXESUF) $(QEMU_IOTESTS_HELPERS-y) \
-               $(patsubst %-softmmu,qemu-system-%,$(filter 
%-softmmu,$(TARGET_DIRS)))
+               qemu-system-$(patsubst ppc64%,ppc64, $(shell uname -m))
        @$<
 endif
 


> If I run without -j:
> 
> Running test qtest-i386: qmp-cmd-test
> Broken pipe
> ../tests/qtest/libqtest.c:175: kill_qemu() detected QEMU death from signal 6 
> (Aborted) (core dumped)
> ERROR qtest-i386: qmp-cmd-test - too few tests run (expected 53, got 45)
> make: *** [Makefile.mtest:1074: run-test-151] Error 1

This one is different and I've never seen it.

Paolo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]