All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] docker: Fix test-mingw
@ 2017-09-25  8:29 Fam Zheng
  2017-09-26  0:04 ` Alistair Francis
  0 siblings, 1 reply; 6+ messages in thread
From: Fam Zheng @ 2017-09-25  8:29 UTC (permalink / raw)
  To: qemu-devel; +Cc: Fam Zheng, Philippe Mathieu-Daudé, Alex Bennée

Feature "dtc" is explicitly required by test-mingw, but is not detected
by the run script since we switched to archive-source.sh in b7f404201e4.
Since it isn't available in the Fedora image which runs this test on
patchew, the way we get dtc is still from submodule.

archive-source.sh takes care of bundling the submodule files already, so
what we need to do is just checking if files are there. Makefile is
chosen because it is one that is unlikely to get renamed in the future.

Signed-off-by: Fam Zheng <famz@redhat.com>
---
 tests/docker/run | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/docker/run b/tests/docker/run
index c8f940de15..0fd2f358ce 100755
--- a/tests/docker/run
+++ b/tests/docker/run
@@ -31,6 +31,9 @@ mkdir -p $TEST_DIR/{src,build,install}
 
 # Extract the source tarballs
 tar -C $TEST_DIR/src -xf $BASE/qemu.tar || prep_fail "Failed to untar source"
+if test -f $TEST_DIR/src/Makefile; then
+    export FEATURES="$FEATURES dtc"
+fi
 
 if test -n "$SHOW_ENV"; then
     if test -f /packages.txt; then
-- 
2.13.5

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [Qemu-devel] [PATCH] docker: Fix test-mingw
  2017-09-25  8:29 [Qemu-devel] [PATCH] docker: Fix test-mingw Fam Zheng
@ 2017-09-26  0:04 ` Alistair Francis
  0 siblings, 0 replies; 6+ messages in thread
From: Alistair Francis @ 2017-09-26  0:04 UTC (permalink / raw)
  To: Fam Zheng
  Cc: qemu-devel@nongnu.org Developers, Alex Bennée,
	Philippe Mathieu-Daudé

On Mon, Sep 25, 2017 at 1:29 AM, Fam Zheng <famz@redhat.com> wrote:
> Feature "dtc" is explicitly required by test-mingw, but is not detected
> by the run script since we switched to archive-source.sh in b7f404201e4.
> Since it isn't available in the Fedora image which runs this test on
> patchew, the way we get dtc is still from submodule.
>
> archive-source.sh takes care of bundling the submodule files already, so
> what we need to do is just checking if files are there. Makefile is
> chosen because it is one that is unlikely to get renamed in the future.
>
> Signed-off-by: Fam Zheng <famz@redhat.com>

Reviewed-by: Alistair Francis <alistair.francis@xilinx.com>

Thanks,
Alistair

> ---
>  tests/docker/run | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/tests/docker/run b/tests/docker/run
> index c8f940de15..0fd2f358ce 100755
> --- a/tests/docker/run
> +++ b/tests/docker/run
> @@ -31,6 +31,9 @@ mkdir -p $TEST_DIR/{src,build,install}
>
>  # Extract the source tarballs
>  tar -C $TEST_DIR/src -xf $BASE/qemu.tar || prep_fail "Failed to untar source"
> +if test -f $TEST_DIR/src/Makefile; then
> +    export FEATURES="$FEATURES dtc"
> +fi
>
>  if test -n "$SHOW_ENV"; then
>      if test -f /packages.txt; then
> --
> 2.13.5
>
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Qemu-devel] [PATCH] docker: fix test-mingw
  2019-02-04 17:13 ` no-reply
@ 2019-02-04 17:28   ` Peter Maydell
  0 siblings, 0 replies; 6+ messages in thread
From: Peter Maydell @ 2019-02-04 17:28 UTC (permalink / raw)
  To: QEMU Developers; +Cc: Paolo Bonzini, Fam Zheng

On Mon, 4 Feb 2019 at 17:14, <no-reply@patchew.org> wrote:
> Updating 3c8cf5a9c21ff8782164d1def7f44bd888713384
> From https://github.com/patchew-project/qemu
>    335dbb5de1..773c4a6228  master     -> master
>  * [new tag]               patchew/1549299863-42415-1-git-send-email-pbonzini@redhat.com -> patchew/1549299863-42415-1-git-send-email-pbonzini@redhat.com
> Switched to a new branch 'test'
>
> === OUTPUT BEGIN ===
> checkpatch.pl: no revisions returned for revlist '1'
> === OUTPUT END ===

This is an interesting failure mode -- presumably it's what you
get if you post a patch which ends up without any content when
it's applied to master...

thanks
-- PMM

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Qemu-devel] [PATCH] docker: fix test-mingw
  2019-02-04 17:04 [Qemu-devel] [PATCH] docker: fix test-mingw Paolo Bonzini
  2019-02-04 17:11 ` Peter Maydell
@ 2019-02-04 17:13 ` no-reply
  2019-02-04 17:28   ` Peter Maydell
  1 sibling, 1 reply; 6+ messages in thread
From: no-reply @ 2019-02-04 17:13 UTC (permalink / raw)
  To: pbonzini; +Cc: fam, qemu-devel

Patchew URL: https://patchew.org/QEMU/1549299863-42415-1-git-send-email-pbonzini@redhat.com/



Hi,

This series seems to have some coding style problems. See output below for
more information:

Subject: [Qemu-devel] [PATCH] docker: fix test-mingw
Type: series
Message-id: 1549299863-42415-1-git-send-email-pbonzini@redhat.com

=== TEST SCRIPT BEGIN ===
#!/bin/bash
git config --local diff.renamelimit 0
git config --local diff.renames True
git config --local diff.algorithm histogram
./scripts/checkpatch.pl --mailback base..
=== TEST SCRIPT END ===

Updating 3c8cf5a9c21ff8782164d1def7f44bd888713384
From https://github.com/patchew-project/qemu
   335dbb5de1..773c4a6228  master     -> master
 * [new tag]               patchew/1549299863-42415-1-git-send-email-pbonzini@redhat.com -> patchew/1549299863-42415-1-git-send-email-pbonzini@redhat.com
Switched to a new branch 'test'

=== OUTPUT BEGIN ===
checkpatch.pl: no revisions returned for revlist '1'
=== OUTPUT END ===

Test command exited with code: 255


The full log is available at
http://patchew.org/logs/1549299863-42415-1-git-send-email-pbonzini@redhat.com/testing.checkpatch/?type=message.
---
Email generated automatically by Patchew [http://patchew.org/].
Please send your feedback to patchew-devel@redhat.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Qemu-devel] [PATCH] docker: fix test-mingw
  2019-02-04 17:04 [Qemu-devel] [PATCH] docker: fix test-mingw Paolo Bonzini
@ 2019-02-04 17:11 ` Peter Maydell
  2019-02-04 17:13 ` no-reply
  1 sibling, 0 replies; 6+ messages in thread
From: Peter Maydell @ 2019-02-04 17:11 UTC (permalink / raw)
  To: Paolo Bonzini; +Cc: QEMU Developers

On Mon, 4 Feb 2019 at 17:10, Paolo Bonzini <pbonzini@redhat.com> wrote:
>
> --with-sdlabi has been removed.  Drop it from the test-mingw docker test.
>
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
>  tests/docker/test-mingw | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/tests/docker/test-mingw b/tests/docker/test-mingw
> index b078f22..4b84cfe 100755
> --- a/tests/docker/test-mingw
> +++ b/tests/docker/test-mingw
> @@ -27,8 +27,7 @@ for prefix in x86_64-w64-mingw32- i686-w64-mingw32-; do
>          --enable-curl \
>          --enable-vnc \
>          --enable-bzip2 \
> -        --enable-guest-agent \
> -        --with-sdlabi=2.0
> +        --enable-guest-agent
>      install_qemu
>      make clean

This is already in master, as commit 335dbb5de1e98c4dc7359.

thanks
-- PMM

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Qemu-devel] [PATCH] docker: fix test-mingw
@ 2019-02-04 17:04 Paolo Bonzini
  2019-02-04 17:11 ` Peter Maydell
  2019-02-04 17:13 ` no-reply
  0 siblings, 2 replies; 6+ messages in thread
From: Paolo Bonzini @ 2019-02-04 17:04 UTC (permalink / raw)
  To: qemu-devel

--with-sdlabi has been removed.  Drop it from the test-mingw docker test.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
 tests/docker/test-mingw | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/tests/docker/test-mingw b/tests/docker/test-mingw
index b078f22..4b84cfe 100755
--- a/tests/docker/test-mingw
+++ b/tests/docker/test-mingw
@@ -27,8 +27,7 @@ for prefix in x86_64-w64-mingw32- i686-w64-mingw32-; do
         --enable-curl \
         --enable-vnc \
         --enable-bzip2 \
-        --enable-guest-agent \
-        --with-sdlabi=2.0
+        --enable-guest-agent
     install_qemu
     make clean
 
-- 
1.8.3.1

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-02-04 17:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-25  8:29 [Qemu-devel] [PATCH] docker: Fix test-mingw Fam Zheng
2017-09-26  0:04 ` Alistair Francis
2019-02-04 17:04 [Qemu-devel] [PATCH] docker: fix test-mingw Paolo Bonzini
2019-02-04 17:11 ` Peter Maydell
2019-02-04 17:13 ` no-reply
2019-02-04 17:28   ` Peter Maydell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.