All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Tokarev <mjt@tls.msk.ru>
To: qemu-devel@nongnu.org
Cc: Eduardo Habkost <ehabkost@redhat.com>,
	qemu-trivial@nongnu.org, Michael Tokarev <mjt@tls.msk.ru>
Subject: [Qemu-devel] [PULL 25/27] win32: don't run subprocess tests on Mingw32 platform
Date: Wed, 14 Sep 2016 10:58:51 +0300	[thread overview]
Message-ID: <b18932285e4889d5b902749d813ae24e39eea5a1.1473839869.git.mjt@msgid.tls.msk.ru> (raw)
In-Reply-To: <cover.1473839869.git.mjt@msgid.tls.msk.ru>
In-Reply-To: <cover.1473839869.git.mjt@msgid.tls.msk.ru>

From: Eduardo Habkost <ehabkost@redhat.com>

On Tue, Jun 14, 2016 at 04:44:57PM +0100, Daniel P. Berrange wrote:
> The g_test_trap_subprocess() method does not work on the
> Mingw32 platform, causing the test-qdev-global-props
> test case to abort
>
> (test-logging.exe:230): GLib-ERROR **: g_test_trap_subprocess()
> failed: Failed to execute helper program (No such file or directory)
>
> This failure was introduced a while ago in
>
>   commit 2177801a4899bf29108b3d471417a5b4d701ec29
>   Author: Eduardo Habkost <ehabkost@redhat.com>
>   Date:   Fri Aug 8 16:03:27 2014 -0300
>
>     test-qdev-global-props: Run tests on subprocess
>
> Modify the configure time check to avoid enabling this feature
> on Mingw, rather than trying to rewrite the test to avoid this
> feature.

I would do the following instead, just in case we have extra code
looking at $glib_subprocess one day.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index d4388a6..e6b2c45 100755
--- a/configure
+++ b/configure
@@ -3023,7 +3023,7 @@ fi
 
 # g_test_trap_subprocess added in 2.38. Used by some tests.
 glib_subprocess=yes
-if ! $pkg_config --atleast-version=2.38 glib-2.0; then
+if test "$mingw32" = "yes" || ! $pkg_config --atleast-version=2.38 glib-2.0; then
     glib_subprocess=no
 fi
 
-- 
2.1.4

  parent reply	other threads:[~2016-09-14  8:04 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-14  7:58 [Qemu-devel] [PULL 00/27] Trivial patches for 2016-09-14 Michael Tokarev
2016-09-14  7:58 ` [Qemu-devel] [PULL 01/27] Remove remainders of HPPA backend Michael Tokarev
2016-09-14  7:58 ` [Qemu-devel] [PULL 02/27] tcg: Remove duplicate header includes Michael Tokarev
2016-09-14  7:58 ` [Qemu-devel] [PULL 03/27] ui/console: Fix non-working backspace key in monitor of gtk UI Michael Tokarev
2016-09-14  7:58 ` [Qemu-devel] [PULL 04/27] MAINTAINERS: Add include/hw/unicore32/ to UniCore32 section Michael Tokarev
2016-09-14  7:58 ` [Qemu-devel] [PULL 05/27] MAINTAINERS: Add include/hw/tricore/ to TriCore section Michael Tokarev
2016-09-14  7:58 ` [Qemu-devel] [PULL 06/27] MAINTAINERS: Add include/hw/sh4/ to SH4 section Michael Tokarev
2016-09-14  7:58 ` [Qemu-devel] [PULL 07/27] MAINTAINERS: Add include/sysemu/cpus.h Michael Tokarev
2016-09-14  7:58 ` [Qemu-devel] [PULL 08/27] MAINTAINERS: Fix wildcard for scsi headers Michael Tokarev
2016-09-14  7:58 ` [Qemu-devel] [PULL 09/27] MAINTAINERS: Add some header files to the PC chipset section Michael Tokarev
2016-09-14  7:58 ` [Qemu-devel] [PULL 10/27] MAINTAINERS: Fix up F: entry bit rot Michael Tokarev
2016-09-14  7:58 ` [Qemu-devel] [PULL 11/27] sh4: fix broken link to documentation Michael Tokarev
2016-09-14  7:58 ` [Qemu-devel] [PULL 12/27] help: Update help to remove misleading display information Michael Tokarev
2016-09-14  7:58 ` [Qemu-devel] [PULL 13/27] ivshmem: Delete duplicate debug message Michael Tokarev
2016-09-14  7:58 ` [Qemu-devel] [PULL 14/27] timer: update comments Michael Tokarev
2016-09-14  7:58 ` [Qemu-devel] [PULL 15/27] cpus: rename local variable to meaningful one Michael Tokarev
2016-09-14  7:58 ` [Qemu-devel] [PULL 16/27] cpus: update comments Michael Tokarev
2016-09-14  7:58 ` [Qemu-devel] [PULL 17/27] Remove unused function declarations Michael Tokarev
2016-09-14  7:58 ` [Qemu-devel] [PULL 18/27] curl: Operate on zero-length file Michael Tokarev
2016-09-14  7:58 ` [Qemu-devel] [PULL 19/27] coccinelle: add a script to remove useless casts Michael Tokarev
2016-09-14  7:58 ` [Qemu-devel] [PULL 20/27] linux-user,s390x: remove useless cast Michael Tokarev
2016-09-14  7:58 ` [Qemu-devel] [PULL 21/27] s390x: " Michael Tokarev
2016-09-14  7:58 ` [Qemu-devel] [PULL 22/27] tricore: " Michael Tokarev
2016-09-14  7:58 ` [Qemu-devel] [PULL 23/27] fw_cfg: remove useless casts Michael Tokarev
2016-09-14  7:58 ` [Qemu-devel] [PULL 24/27] sheepdog: " Michael Tokarev
2016-09-14  7:58 ` Michael Tokarev [this message]
2016-09-14  7:58 ` [Qemu-devel] [PULL 26/27] linux-user/qemu.h: change malloc to g_malloc, free to g_free Michael Tokarev
2016-09-14  7:58 ` [Qemu-devel] [PULL 27/27] mptsas: change .realize function name Michael Tokarev
2016-09-14 10:49 ` [Qemu-devel] [PULL 00/27] Trivial patches for 2016-09-14 no-reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b18932285e4889d5b902749d813ae24e39eea5a1.1473839869.git.mjt@msgid.tls.msk.ru \
    --to=mjt@tls.msk.ru \
    --cc=ehabkost@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-trivial@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.