At least twice now, I've killed a qpidd process that remained
from a "make check" run. This will make it so such processes
aren't left around for long.
2006-12-08 Jim Meyering <[EMAIL PROTECTED]>
* tests/Makefile.am (run-python-tests): Depend on ../src/qpidd.
Start a background job that will kill the daemon in 5 minutes.
Index: tests/Makefile.am
===================================================================
--- tests/Makefile.am (revision 483505)
+++ tests/Makefile.am (working copy)
@@ -70,12 +70,10 @@
run-unit-tests: $(check_LTLIBRARIES)
DllPlugInTester -c -b .libs/*.so
-# TODO aconway 2006-12-01: Should also check for qpidd.
-run-python-tests: $(check_LTLIBRARIES)
- ../src/qpidd > qpidd.log 2>&1 &
+run-python-tests: $(check_LTLIBRARIES) ../src/qpidd
+ ../src/qpidd > qpidd.log 2>&1 & pid=$$!; (sleep 300; kill $$pid) &
cd ../../python ; ./run-tests -v -I cpp_failing.txt
-
include gen.mk
abs_builddir = @abs_builddir@