[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-arm] [PATCH v1 1/7] tests/docker: add test-misc for building t
From: |
Alex Bennée |
Subject: |
Re: [Qemu-arm] [PATCH v1 1/7] tests/docker: add test-misc for building tools & docs |
Date: |
Mon, 15 Jul 2019 12:08:11 +0100 |
User-agent: |
mu4e 1.3.3; emacs 26.1 |
Philippe Mathieu-Daudé <address@hidden> writes:
> On 7/12/19 1:18 PM, Alex Bennée wrote:
>> Add yet another test type so we cna quickly exercise the miscellaneous
>
> "cna" -> "can"
>
>> build products of the build system under various docer configurations.
>>
>> Signed-off-by: Alex Bennée <address@hidden>
>> ---
>> tests/docker/test-misc | 22 ++++++++++++++++++++++
>> 1 file changed, 22 insertions(+)
>> create mode 100755 tests/docker/test-misc
>>
>> diff --git a/tests/docker/test-misc b/tests/docker/test-misc
>> new file mode 100755
>> index 00000000000..d480afedca7
>> --- /dev/null
>> +++ b/tests/docker/test-misc
>> @@ -0,0 +1,22 @@
>> +#!/bin/bash -e
>> +#
>> +# Build the miscellaneous components
>> +#
>> +# Copyright (c) 2019 Linaro Ltd.
>> +#
>> +# Authors:
>> +# Alex Bennée <address@hidden>
>> +#
>> +# This work is licensed under the terms of the GNU GPL, version 2 or later.
>> +# See the COPYING file in the top-level directory.
>> +#
>> +# SPDX-License-Identifier: GPL-2.0-or-later
>> +
>> +. common.rc
>> +
>> +cd "$BUILD_DIR"
>> +
>> +# build everything else but QEMU
>> +configure_qemu --disable-user --disable-system --enable-docs --enable-tools
>> +build_qemu
>> +install_qemu
>>
>
> I got:
>
> $ make docker-test-misc@debian-win32-cross
> BUILD debian9
> GEN
> /home/phil/source/qemu/docker-src.2019-07-13-17.03.48.3829/qemu.tar
> BUILD debian9-mxe
> usage: git archive [<options>] <tree-ish> [<path>...]
> or: git archive --list
> or: git archive --remote <repo> [--exec <cmd>] [<options>] <tree-ish>
> [<path>...]
> or: git archive --remote <repo> [--exec <cmd>] --list
>
> --format <fmt> archive format
> --prefix <prefix> prepend prefix to each pathname in the archive
> -o, --output <file> write the archive to this file
> --worktree-attributes
> read .gitattributes in working directory
> -v, --verbose report archived files on stderr
> -0 store only
> -1 compress faster
> -9 compress better
>
> -l, --list list supported archive formats
>
> --remote <repo> retrieve the archive from remote repository <repo>
> --exec <command> path to the remote git-upload-archive command
>
> failed to archive qemu
> make[1]: *** [tests/docker/Makefile.include:31:
> qemu/docker-src.2019-07-13-17.03.48.3829] Error 1
Hmm I haven't been able to get this... does it depend on having
uncommited changes in a subproject?
>
> And remembered some script/archive patch on the list:
> https://lists.gnu.org/archive/html/qemu-devel/2019-07/msg02073.html
I'll look at snarfing that.
>
> With it amended this works correctly, so:
> Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
> Tested-by: Philippe Mathieu-Daudé <address@hidden>
--
Alex Bennée
- [Qemu-arm] [PATCH for 4.1? v1 0/7] testing/next (docker, win-cross), Alex Bennée, 2019/07/12
- [Qemu-arm] [PATCH v1 1/7] tests/docker: add test-misc for building tools & docs, Alex Bennée, 2019/07/12
- [Qemu-arm] [PATCH v1 3/7] tests/docker: Install Sphinx in the Fedora image, Alex Bennée, 2019/07/12
- [Qemu-arm] [PATCH v1 5/7] tests/migration-test: don't spam the logs when we fail, Alex Bennée, 2019/07/12
- Re: [Qemu-arm] [PATCH v1 5/7] tests/migration-test: don't spam the logs when we fail, Thomas Huth, 2019/07/12
- Re: [Qemu-arm] [PATCH v1 5/7] tests/migration-test: don't spam the logs when we fail, Dr. David Alan Gilbert, 2019/07/12
- [Qemu-arm] [PATCH v1 4/7] tests/docker: Install Ubuntu images noninteractively, Alex Bennée, 2019/07/12
- [Qemu-arm] [PATCH v1 2/7] tests/docker: Install Sphinx in the Ubuntu images, Alex Bennée, 2019/07/12
- [Qemu-arm] [PATCH v1 7/7] shippable: re-enable the windows cross builds, Alex Bennée, 2019/07/12