Skip to contentSkip to conversation

zeromq: disable test_fork

PATCH New Jerzy Grzegorek 2 participants 2 messages Apr 22, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 zeromq: disable test_fork

Fixes:
http://autobuild.buildroot.net/results/439/439df2ad4482d08f295dbc40b2e88bf9167a7794/

---
 package/zeromq/zeromq-01-disable-test_fork.patch |   22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 package/zeromq/zeromq-01-disable-test_fork.patch
package/zeromq/zeromq-01-disable-test_fork.patch new file +22 -0
new file mode 100644
index 0000000..48a76ab
@@ -0,0 +1,22 @@
+Signed-off-by: Jerzy Grzegorek <[email protected]>
+
+--- a/tests/Makefile.am	2014-04-18 15:24:35.000000000 +0200
++++ b/tests/Makefile.am	2014-04-22 11:31:08.000000000 +0200
+@@ -46,8 +46,7 @@ if !ON_MINGW
+ noinst_PROGRAMS += test_shutdown_stress \
+                    test_pair_ipc \
+                    test_reqrep_ipc \
+-                   test_timeo \
+-                   test_fork
++                   test_timeo
+ endif
+ 
+ test_system_SOURCES = test_system.cpp
+@@ -93,7 +92,6 @@ test_shutdown_stress_SOURCES = test_shut
+ test_pair_ipc_SOURCES = test_pair_ipc.cpp testutil.hpp
+ test_reqrep_ipc_SOURCES = test_reqrep_ipc.cpp testutil.hpp
+ test_timeo_SOURCES = test_timeo.cpp
+-test_fork_SOURCES = test_fork.cpp
+ endif
+ 
+ #  Run the test cases
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/1 zeromq: disable test_fork

Dear Jerzy Grzegorek,

package/zeromq/zeromq-01-disable-test_fork.patch line 1

Quoted 7 lines · Jerzy Grzegorek
package/zeromq/zeromq-01-disable-test_fork.patch new file +1 -0
new file mode 100644
index 0000000..48a76ab
@@ -0,0 +1,22 @@
+Signed-off-by: Jerzy Grzegorek <[email protected]>

Even though this patch is quite trivial, we need a patch description anyway.

Quoted 11 lines
package/zeromq/zeromq-01-disable-test_fork.patch new file +11 -0
+
+--- a/tests/Makefile.am	2014-04-18 15:24:35.000000000 +0200
++++ b/tests/Makefile.am	2014-04-22 11:31:08.000000000 +0200
+@@ -46,8 +46,7 @@ if !ON_MINGW
+ noinst_PROGRAMS += test_shutdown_stress \
+                    test_pair_ipc \
+                    test_reqrep_ipc \
+-                   test_timeo \
+-                   test_fork
++                   test_timeo
+ endif

package/zeromq/zeromq-01-disable-test_fork.patch line 22

Quoted 10 lines
package/zeromq/zeromq-01-disable-test_fork.patch new file +10 -0
+ 
+ test_system_SOURCES = test_system.cpp
+@@ -93,7 +92,6 @@ test_shutdown_stress_SOURCES = test_shut
+ test_pair_ipc_SOURCES = test_pair_ipc.cpp testutil.hpp
+ test_reqrep_ipc_SOURCES = test_reqrep_ipc.cpp testutil.hpp
+ test_timeo_SOURCES = test_timeo.cpp
+-test_fork_SOURCES = test_fork.cpp
+ endif
+ 
+ #  Run the test cases

I would actually prefer a patch that adds an AC_CHECK_FUNCS([fork]) test to configure.ac, and uses that to build test_fork or not. In this case, the patch could be submitted upstream.

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com