Skip to contentSkip to conversation

Revert "win32: don't run subprocess tests on Mingw32 platform"

PATCH In review Marc-André Lureau 3 participants 4 messages Jan 4, 2017 – Jan 12, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Revert "win32: don't run subprocess tests on Mingw32 platform"

This reverts commit 7ad9339e372fcd12d584684d7f52ac259604a4f4.

The error "Failed to execute helper program (No such file or directory)" is due to broken glib installation, missing windows gspawn helpers.

---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configure +1 -1
index 218df87d21..54a222d5e7 100755
@@ -3077,7 +3077,7 @@ fi
 
 # g_test_trap_subprocess added in 2.38. Used by some tests.
 glib_subprocess=yes
-if test "$mingw32" = "yes" || ! $pkg_config --atleast-version=2.38 glib-2.0; then
+if ! $pkg_config --atleast-version=2.38 glib-2.0; then
     glib_subprocess=no
 fi
 
Signature · 1 line
2.11.0
#1 lore raw
Quoted 6 lines · Marc-André Lureau

This reverts commit 7ad9339e372fcd12d584684d7f52ac259604a4f4.

The error "Failed to execute helper program (No such file or directory)" is due to broken glib installation, missing windows gspawn helpers.

Daniel, are you still unable to run subprocess tests on Migw32?

Anybody else able to test this and send a Tested-by line?

Quoted 20 lines
---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configure +1 -1
index 218df87d21..54a222d5e7 100755
@@ -3077,7 +3077,7 @@ fi
 
 # g_test_trap_subprocess added in 2.38. Used by some tests.
 glib_subprocess=yes
-if test "$mingw32" = "yes" || ! $pkg_config --atleast-version=2.38 glib-2.0; then
+if ! $pkg_config --atleast-version=2.38 glib-2.0; then
     glib_subprocess=no
 fi
 
Signature · 1 line
2.11.0
Signature · 1 line
Eduardo
Tested-by
#2 lore raw
Quoted 11 lines · Eduardo Habkost
Quoted 6 lines · Marc-André Lureau

This reverts commit 7ad9339e372fcd12d584684d7f52ac259604a4f4.

The error "Failed to execute helper program (No such file or directory)" is due to broken glib installation, missing windows gspawn helpers.

Daniel, are you still unable to run subprocess tests on Migw32?

Anybody else able to test this and send a Tested-by line?

Works on my setup (mingw32-w64 build on Windows 10, with glib-2.46.2)

Quoted 26 lines
Quoted 20 lines

---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configure +1 -2
index 218df87d21..54a222d5e7 100755
@@ -3077,7 +3077,7 @@ fi
 
 # g_test_trap_subprocess added in 2.38. Used by some tests.
 glib_subprocess=yes
-if test "$mingw32" = "yes" || ! $pkg_config --atleast-version=2.38 glib-2.0; then
+if ! $pkg_config --atleast-version=2.38 glib-2.0; then
     glib_subprocess=no
 fi
 
--
Quoted 2 lines

2.11.0

--
Eduardo

#3 lore raw
Quoted 9 lines · Vincent Palatin
Quoted 8 lines · Eduardo Habkost
Quoted 6 lines · Marc-André Lureau

This reverts commit 7ad9339e372fcd12d584684d7f52ac259604a4f4.

The error "Failed to execute helper program (No such file or directory)" is due to broken glib installation, missing windows gspawn helpers.

Quoted 7 lines
Quoted 3 lines

Daniel, are you still unable to run subprocess tests on Migw32?

Anybody else able to test this and send a Tested-by line?

Works on my setup (mingw32-w64 build on Windows 10, with glib-2.46.2)

Thanks! Unless another maintainer is already planning to apply it, I will include it on my next pull request.

Signature · 1 line
Eduardo