]> git.proxmox.com Git - mirror_qemu.git/commitdiff
tests/tcg: enable debian-nios2-cross for test building
authorAlex Bennée <alex.bennee@linaro.org>
Tue, 26 Oct 2021 10:22:17 +0000 (11:22 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Thu, 4 Nov 2021 10:32:01 +0000 (10:32 +0000)
Now we have a nios2 test image we can start using it to build tests.
However signal handling in nios2 is still broken so we disable the
signals and linux-test tests that trigger the bug.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20211026102234.3961636-12-alex.bennee@linaro.org>

MAINTAINERS
tests/tcg/configure.sh
tests/tcg/nios2/Makefile.target [new file with mode: 0644]

index 75ec9c86285421d320929fffa47be27fb92d8e6d..797be5b3665500018d0297bc56adceecb3a6b2a5 100644 (file)
@@ -226,6 +226,7 @@ F: target/microblaze/
 F: hw/microblaze/
 F: disas/microblaze.c
 F: tests/docker/dockerfiles/debian-microblaze-cross.d/build-toolchain.sh
+F: tests/tcg/nios2/Makefile.target
 
 MIPS TCG CPUs
 M: Philippe Mathieu-Daudé <f4bug@amsat.org>
index d74ed50c1815193abdc9839cb4575e0e80b5f22f..9b76f582585cf73ca8274e1cb97234d2964848bf 100755 (executable)
@@ -60,6 +60,7 @@ fi
 : ${cross_cc_mips64="mips64-linux-gnuabi64-gcc"}
 : ${cross_cc_mipsel="mipsel-linux-gnu-gcc"}
 : ${cross_cc_mips="mips-linux-gnu-gcc"}
+: ${cross_cc_nios2="nios2-linux-gnu-gcc"}
 : ${cross_cc_ppc="powerpc-linux-gnu-gcc"}
 : ${cross_cc_cflags_ppc="-m32"}
 : ${cross_cc_ppc64="powerpc64-linux-gnu-gcc"}
@@ -159,6 +160,11 @@ for target in $target_list; do
       container_image=debian-mips-cross
       container_cross_cc=mips-linux-gnu-gcc
       ;;
+    nios2-*)
+      container_hosts=x86_64
+      container_image=debian-nios2-cross
+      container_cross_cc=nios2-linux-gnu-gcc
+      ;;
     ppc-*|ppc64abi32-*)
       container_hosts=x86_64
       container_image=debian-powerpc-test-cross
diff --git a/tests/tcg/nios2/Makefile.target b/tests/tcg/nios2/Makefile.target
new file mode 100644 (file)
index 0000000..b38e235
--- /dev/null
@@ -0,0 +1,11 @@
+# nios2 specific test tweaks
+
+# Currently nios2 signal handling is broken
+run-signals: signals
+       $(call skip-test, $<, "BROKEN")
+run-plugin-signals-with-%:
+       $(call skip-test, $<, "BROKEN")
+run-linux-test: linux-test
+       $(call skip-test, $<, "BROKEN")
+run-plugin-linux-test-with-%:
+       $(call skip-test, $<, "BROKEN")