[Qemu-devel] [PULL v2 00/20] Travis, Code Coverage and Cross Build updates

Alex Bennée posted 20 patches 7 years, 7 months ago
Only 0 patches received!
There is a newer version of this series
.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
[Qemu-devel] [PULL v2 00/20] Travis, Code Coverage and Cross Build updates
Posted by Alex Bennée 7 years, 7 months ago
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


Re: [Qemu-devel] [PULL v2 00/20] Travis, Code Coverage and Cross Build updates
Posted by Peter Maydell 7 years, 7 months ago
On 4 July 2018 at 10:06, Alex Bennée <alex.bennee@linaro.org> wrote:
> 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 said on IRC there's some sort of problem with this; dropping
and waiting for a v3.

thanks
-- PMM

Re: [Qemu-devel] [PULL v2 00/20] Travis, Code Coverage and Cross Build updates
Posted by Alex Bennée 7 years, 7 months ago
Peter Maydell <peter.maydell@linaro.org> writes:

> On 4 July 2018 at 10:06, Alex Bennée <alex.bennee@linaro.org> wrote:
>> 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 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