[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v1 1/7] tests/docker: add test-misc for building
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [Qemu-devel] [PATCH v1 1/7] tests/docker: add test-misc for building tools & docs |
Date: |
Sat, 13 Jul 2019 17:48:48 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 |
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
And remembered some script/archive patch on the list:
https://lists.gnu.org/archive/html/qemu-devel/2019-07/msg02073.html
With it amended this works correctly, so:
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Tested-by: Philippe Mathieu-Daudé <address@hidden>
- [Qemu-devel] [PATCH for 4.1? v1 0/7] testing/next (docker, win-cross), Alex Bennée, 2019/07/12
- [Qemu-devel] [PATCH v1 1/7] tests/docker: add test-misc for building tools & docs, Alex Bennée, 2019/07/12
- Re: [Qemu-devel] [PATCH v1 1/7] tests/docker: add test-misc for building tools & docs,
Philippe Mathieu-Daudé <=
- [Qemu-devel] [PATCH v1 3/7] tests/docker: Install Sphinx in the Fedora image, Alex Bennée, 2019/07/12
- [Qemu-devel] [PATCH v1 2/7] tests/docker: Install Sphinx in the Ubuntu images, Alex Bennée, 2019/07/12
- [Qemu-devel] [PATCH v1 4/7] tests/docker: Install Ubuntu images noninteractively, Alex Bennée, 2019/07/12
- [Qemu-devel] [PATCH v1 5/7] tests/migration-test: don't spam the logs when we fail, Alex Bennée, 2019/07/12
- Re: [Qemu-devel] [PATCH v1 5/7] tests/migration-test: don't spam the logs when we fail, Thomas Huth, 2019/07/12
- Re: [Qemu-devel] [PATCH v1 5/7] tests/migration-test: don't spam the logs when we fail, Dr. David Alan Gilbert, 2019/07/12