Skip to contentSkip to conversation

Travis, Code Coverage and Cross Build updates

GIT PULL Alex Bennée 2 participants 3 messages Jul 4, 2018 – Jul 5, 2018

lore
Share & tools
lore
#0 lore raw

The following changes since commit 2a018f6e98782a4931b936a3087404ed81685bac:

Merge remote-tracking branch 'remotes/berrange/tags/qcrypto-next-pull-request' into staging (2018-07-03 23:06:18 +0100)

are available in the Git repository at:

https://github.com/stsquad/qemu.git tags/pull-code-coverage-and-build-tweaks-040718-2

for you to fetch changes up to a785003b11220afebae929b5c52f3b69bbfc4a40:

docker: add linux-user powered cross builder for QEMU (2018-07-04 09:30:33 +0100)

----------------------------------------------------------------
Code coverage and other build tweaks

- revert 208ecb3e (and drop filter for mingw)
- some travis speed-ups
- modernise code coverage support
- docker image cleanups
- clean-up binfmt_misc docker infrastructure
- add debian-powerpc-user-cross image for ppc32 build

----------------------------------------------------------------
Alex Bennée (14):
Revert "Makefile: Rename TARGET_DIRS to TARGET_LIST"
build-system: remove per-test GCOV reporting .gitignore: add .gcov files
docker: add gcovr to travis image
travis: add gcovr summary for GCOV build
build-system: add clean-coverage target
build-system: add coverage-report target
linux-user: introduce preexit_cleanup
linux-user: add gcov support to preexit_cleanup
docker: drop QEMU build-dep from bootstrap
docker: debian-bootstrap.pre allow customising of variant/url
docker: add special handling for FROM:debian-%-user targets
docker: add special rule for deboostrapped images
docker: add linux-user powered cross builder for QEMU

Philippe Mathieu-Daudé (6):
travis: do not waste time cloning unused submodules
travis: test out-of-tree builds
docker: ubuntu: Update the package list before installing new ones
docker: ubuntu: Use SDL2
docker: Clean the MXE base image
docker: Do not run tests in 'intermediate' images

 .gitignore                                         |  1 +
 .travis.yml                                        | 14 +++--
 MAINTAINERS                                        |  1 +
 Makefile                                           | 44 ++++++++++++----
 configure                                          |  2 +-
 docs/devel/testing.rst                             | 21 +++++---
 linux-user/Makefile.objs                           |  2 +-
 linux-user/exit.c                                  | 35 +++++++++++++
 linux-user/qemu.h                                  |  8 +++
 linux-user/syscall.c                               | 10 +---
 scripts/create_config                              |  2 +-
 scripts/travis/coverage-summary.sh                 | 27 ++++++++++
 tests/Makefile.include                             | 12 +----
 tests/docker/Makefile.include                      | 59 ++++++++++++++++++++--
 tests/docker/docker.py                             |  4 ++
 tests/docker/dockerfiles/debian-bootstrap.docker   |  2 -
 tests/docker/dockerfiles/debian-bootstrap.pre      | 11 +++-
 .../dockerfiles/debian-powerpc-user-cross.docker   | 15 ++++++
 tests/docker/dockerfiles/debian8-mxe.docker        |  2 +-
 tests/docker/dockerfiles/travis.docker             |  2 +-
 tests/docker/dockerfiles/ubuntu.docker             |  8 +--
 21 files changed, 228 insertions(+), 54 deletions(-)
 create mode 100644 linux-user/exit.c
 create mode 100755 scripts/travis/coverage-summary.sh
 create mode 100644 tests/docker/dockerfiles/debian-powerpc-user-cross.docker

--
2.17.1

#1 lore raw
Quoted 15 lines · Alex Bennée

The following changes since commit 2a018f6e98782a4931b936a3087404ed81685bac:

Merge remote-tracking branch 'remotes/berrange/tags/qcrypto-next-pull-request' into staging (2018-07-03 23:06:18 +0100)

are available in the Git repository at:

https://github.com/stsquad/qemu.git tags/pull-code-coverage-and-build-tweaks-040718-2

for you to fetch changes up to a785003b11220afebae929b5c52f3b69bbfc4a40:

docker: add linux-user powered cross builder for QEMU (2018-07-04 09:30:33 +0100)

----------------------------------------------------------------
Code coverage and other build tweaks

Quoted 7 lines

- revert 208ecb3e (and drop filter for mingw)
- some travis speed-ups
- modernise code coverage support
- docker image cleanups
- clean-up binfmt_misc docker infrastructure
- add debian-powerpc-user-cross image for ppc32 build

Alex said on IRC there's some sort of problem with this; dropping and waiting for a v3.

thanks
-- PMM

#2 lore raw
Quoted 24 lines · Peter Maydell
Quoted 15 lines · Alex Bennée

The following changes since commit 2a018f6e98782a4931b936a3087404ed81685bac:

Merge remote-tracking branch 'remotes/berrange/tags/qcrypto-next-pull-request' into staging (2018-07-03 23:06:18 +0100)

are available in the Git repository at:

https://github.com/stsquad/qemu.git tags/pull-code-coverage-and-build-tweaks-040718-2

for you to fetch changes up to a785003b11220afebae929b5c52f3b69bbfc4a40:

docker: add linux-user powered cross builder for QEMU (2018-07-04 09:30:33 +0100)

----------------------------------------------------------------
Code coverage and other build tweaks

Quoted 7 lines

- revert 208ecb3e (and drop filter for mingw)
- some travis speed-ups
- modernise code coverage support
- docker image cleanups
- clean-up binfmt_misc docker infrastructure
- add debian-powerpc-user-cross image for ppc32 build

Quoted 2 lines

Alex said on IRC there's some sort of problem with this; dropping and waiting for a v3.

I've just posted v3 to you. Sorry about the pull-churn... the result will be worth it though ;-)

--
Alex Bennée