]> git.ipfire.org Git - thirdparty/qemu.git/commit
tests: Fix "make check-functional" for targets without thorough tests
authorThomas Huth <thuth@redhat.com>
Thu, 18 Sep 2025 12:51:54 +0000 (14:51 +0200)
committerThomas Huth <thuth@redhat.com>
Wed, 24 Sep 2025 06:26:11 +0000 (08:26 +0200)
commit4f1ebc7712a7db61155080164f2169320d033559
treec795171b7bdec81f5870d9cc1566d227508564ea
parent464a0a584c8cf8183b0d61167a0234a3a7c9aa6f
tests: Fix "make check-functional" for targets without thorough tests

If QEMU gets configured for a single target that does not have
any thorough functional tests, "make check-functional" currently
fails with the error message "No rule to make target 'check-func'".
This happens because "check-func" only gets defined for thorough
tests (quick ones get added to "check-func-quick" instead).
The same problem can happen with the quick tests for targets that
do not have any functional test at all. To fix it, simply make sure
that the targets are always available in the Makefile.

Reported-by: Peter Maydell <peter.maydell@linaro.org>
Closes: https://gitlab.com/qemu-project/qemu/-/issues/3119
Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20250918125154.126072-1-thuth@redhat.com>
tests/Makefile.include