Author: aconway
Date: Fri Dec 8 10:36:33 2006
New Revision: 484694
URL: http://svn.apache.org/viewvc?view=rev&rev=484694
Log:
2006-12-08 Based on a patch by 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.
Modified:
incubator/qpid/trunk/qpid/cpp/tests/Makefile.am
Modified: incubator/qpid/trunk/qpid/cpp/tests/Makefile.am
URL:
http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/cpp/tests/Makefile.am?view=diff&rev=484694&r1=484693&r2=484694
==============================================================================
--- incubator/qpid/trunk/qpid/cpp/tests/Makefile.am (original)
+++ incubator/qpid/trunk/qpid/cpp/tests/Makefile.am Fri Dec 8 10:36:33 2006
@@ -70,11 +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 & echo $$! > qpidd.pid
cd ../../python ; ./run-tests -v -I cpp_failing.txt
-
+ kill `cat qpidd.pid`
include gen.mk