diff mbox series

[v2,for,3.0,09/16] docker: disable debian-powerpc-user-cross

Message ID 20180713121741.19262-10-alex.bennee@linaro.org
State Superseded
Headers show
Series various docker fixes | expand

Commit Message

Alex Bennée July 13, 2018, 12:17 p.m. UTC
While we can build we can't run the unit tests due to a missing system
call (249 - swapcontext). This could be a code generation issue as
other architectures don't seem to have this system call.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>

Cc: David Gibson <david@gibson.dropbear.id.au>
Cc: Alexander Graf <agraf@suse.de>
Cc: qemu-ppc@nongnu.org
---
 tests/docker/Makefile.include | 3 +++
 1 file changed, 3 insertions(+)

-- 
2.17.1

Comments

Philippe Mathieu-Daudé July 17, 2018, 3:52 p.m. UTC | #1
On 07/13/2018 09:17 AM, Alex Bennée wrote:
> While we can build we can't run the unit tests due to a missing system

> call (249 - swapcontext). This could be a code generation issue as

> other architectures don't seem to have this system call.

> 

> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>


Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>


> Cc: David Gibson <david@gibson.dropbear.id.au>

> Cc: Alexander Graf <agraf@suse.de>

> Cc: qemu-ppc@nongnu.org

> ---

>  tests/docker/Makefile.include | 3 +++

>  1 file changed, 3 insertions(+)

> 

> diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include

> index 09fb7db7fa..fe63aacf69 100644

> --- a/tests/docker/Makefile.include

> +++ b/tests/docker/Makefile.include

> @@ -140,6 +140,9 @@ docker-binfmt-image-debian-powerpc-user: QEMU_TARGET = ppc-linux-user

>  docker-binfmt-image-debian-powerpc-user: EXECUTABLE = ${BUILD_DIR}/ppc-linux-user/qemu-ppc

>  docker-image-debian-powerpc-user-cross: docker-binfmt-image-debian-powerpc-user

>  DOCKER_USER_IMAGES += debian-powerpc-user

> +# Unfortunalty while we can build with this image we can't run unit

> +# tests due to missing system call: 249 which causes an abort

> +DOCKER_PARTIAL_IMAGES += debian-powerpc-user-cross

>  

>  # Expand all the pre-requistes for each docker image and test combination

>  $(foreach i,$(filter-out $(DOCKER_PARTIAL_IMAGES),$(DOCKER_IMAGES) $(DOCKER_DEPRECATED_IMAGES)), \

>
diff mbox series

Patch

diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include
index 09fb7db7fa..fe63aacf69 100644
--- a/tests/docker/Makefile.include
+++ b/tests/docker/Makefile.include
@@ -140,6 +140,9 @@  docker-binfmt-image-debian-powerpc-user: QEMU_TARGET = ppc-linux-user
 docker-binfmt-image-debian-powerpc-user: EXECUTABLE = ${BUILD_DIR}/ppc-linux-user/qemu-ppc
 docker-image-debian-powerpc-user-cross: docker-binfmt-image-debian-powerpc-user
 DOCKER_USER_IMAGES += debian-powerpc-user
+# Unfortunalty while we can build with this image we can't run unit
+# tests due to missing system call: 249 which causes an abort
+DOCKER_PARTIAL_IMAGES += debian-powerpc-user-cross
 
 # Expand all the pre-requistes for each docker image and test combination
 $(foreach i,$(filter-out $(DOCKER_PARTIAL_IMAGES),$(DOCKER_IMAGES) $(DOCKER_DEPRECATED_IMAGES)), \