Skip to contentSkip to conversation

testing hotfixes (Makefile, gitlab, docker)

GIT PULL Applied Alex Bennée 2 participants 5 messages Jun 1 – Jun 2 Kbuild

lore
Share & tools
lore
#0 lore raw

The following changes since commit 5611a9268dae7b7ff99d478ed134052a9fc7e9f7:

Merge tag 'pull-9p-20260601' of https://github.com/cschoenebeck/qemu into staging (2026-06-01 08:43:53 -0400)

are available in the Git repository at:

https://gitlab.com/stsquad/qemu.git tags/pull-11.1-testing-hotfix-010626-1

for you to fetch changes up to 872d0ee33746aa02724051519ff03aa57278d7c3:

configure: use debian-all-test-cross for mipsel tcg tests (2026-06-01 17:16:28 +0100)

----------------------------------------------------------------
testing updates:

- revert test/Makefile.include move due to regression
- work-around move with explicit targets for MacOS gitlab
- use debian-all-test-cross for MIPS TCG tests

----------------------------------------------------------------
Alex Bennée (3):
Revert "Makefile: include tests/Makefile.include before ninja calculation"
gitlab: work around the inability to build targets for MacOS
configure: use debian-all-test-cross for mipsel tcg tests

 configure              | 2 +-
 Makefile               | 4 ++--
 .gitlab-ci.d/macos.yml | 3 +++
 3 files changed, 6 insertions(+), 3 deletions(-)
Signature · 1 line
2.47.3
#1 lore raw

[PULL 1/3] Revert "Makefile: include tests/Makefile.include before ninja calculation"

This reverts commit fd63125b9089610d63a53c11ff2fda6b53a2265d which broke the ability to run the check-functional-FOO series of tests.

We will need to try something else for the MacOS builds.

Message-ID: <[email protected]>

Makefile +2 -2
index 829c51e364c..54547a37b1a 100644
@@ -45,8 +45,6 @@ include config-host.mak
 include Makefile.prereqs
 Makefile.prereqs: config-host.mak
 
-include $(SRC_PATH)/tests/Makefile.include
-
 # 0. ensure the build tree is okay
 
 # Check that we're not trying to do an out-of-tree build from
@@ -182,6 +180,8 @@ endif # config-host.mak does not exist
 
 SUBDIR_MAKEFLAGS=$(if $(V),,--no-print-directory --quiet)
 
+include $(SRC_PATH)/tests/Makefile.include
+
 all: recurse-all
 
 SUBDIR_RULES=$(foreach t, all clean distclean, $(addsuffix /$(t), $(SUBDIRS)))
Signature · 1 line
2.47.3
#2 lore raw

[PULL 2/3] gitlab: work around the inability to build targets for MacOS

In reply to Alex Bennée

Unfortunately a previous fix to ensure .ninja-goals was set for the TCG tests broken the ability to run check-functional-FOO. As we have now reverted we need a solution for the MacOS gitlab run. The simplest is to add an explicit make invocation to build the signed binaries before we run the tests.

Message-ID: <[email protected]>

.gitlab-ci.d/macos.yml +3 -0
index f61750a3f4a..8366b4ad564 100644
@@ -29,6 +29,7 @@
     - cd build
     - ../configure --enable-werror $CONFIGURE_ARGS || { cat config.log meson-logs/meson-log.txt; exit 1; }
     - $MAKE -j$(sysctl -n hw.ncpu)
+    - for TARGET in $TEST_BINARIES ; do $MAKE $TARGET ; done
     - for TARGET in $TEST_TARGETS ; do $MAKE $TARGET ; done
 
 aarch64-macos-15-build:
@@ -44,6 +45,7 @@ aarch64-macos-15-build:
         --cross-prefix-i386=i686-elf-
         --cross-prefix-x86_64=x86_64-elf-
         --disable-plugins
+    TEST_BINARIES: qemu-system-aarch64 qemu-system-i386 qemu-system-x86_64
     TEST_TARGETS: check-unit run-tcg-tests-aarch64-softmmu run-tcg-tests-i386-softmmu run-tcg-tests-x86_64-softmmu
 
 aarch64-macos-26-build:
@@ -60,4 +62,5 @@ aarch64-macos-26-build:
         --cross-prefix-i386=i686-elf-
         --cross-prefix-x86_64=x86_64-elf-
         --disable-plugins
+    TEST_BINARIES: qemu-system-aarch64 qemu-system-i386 qemu-system-x86_64
     TEST_TARGETS: check-unit run-tcg-tests-aarch64-softmmu run-tcg-tests-i386-softmmu run-tcg-tests-x86_64-softmmu
Signature · 1 line
2.47.3
#3 lore raw

[PULL 3/3] configure: use debian-all-test-cross for mipsel tcg tests

In reply to Alex Bennée

Although we have had the mips compilers in all-test-cross for a while we had been surviving using the mipsel cross compiler image. However when that was removed we missed updating the container to use.

Message-ID: <[email protected]>

configure +1 -1
index e138d83bc9f..1ceb4d7ecc4 100755
@@ -1430,7 +1430,7 @@ probe_target_compiler() {
         container_image=debian-all-test-cross
         container_cross_prefix=aarch64-linux-gnu-
         ;;
-      alpha|hppa|m68k|mips|riscv64|sh4|sparc64)
+      alpha|hppa|m68k|mips|mipsel|riscv64|sh4|sparc64)
         container_image=debian-all-test-cross
         ;;
       mips64)
Signature · 1 line
2.47.3