From 86e2310d07a37eada38945d821efe1dab3c06fd6 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Fri, 1 Dec 2006 07:36:35 +0000 Subject: Buliding APR code, running python tests. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@481175 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/tests/Makefile.am | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'cpp/tests/Makefile.am') diff --git a/cpp/tests/Makefile.am b/cpp/tests/Makefile.am index 8c7acc067d..8649beeeee 100644 --- a/cpp/tests/Makefile.am +++ b/cpp/tests/Makefile.am @@ -1,8 +1,9 @@ # TODO aconway 2006-11-30: nasty hack, should be done by automake? abs_builddir = @abs_builddir@ -AM_CXXFLAGS = $(WARNING_CFLAGS) +AM_CXXFLAGS = $(WARNING_CFLAGS) -DUSE_APR=1 INCLUDES = \ + -I$(shell apr-1-config --includedir) \ -I$(top_srcdir)/gen \ -I$(top_srcdir)/lib \ -I$(top_srcdir)/lib/client \ @@ -62,17 +63,23 @@ posix_tests = \ unit_tests = \ $(broker_tests) \ $(framing_tests) \ - $(misc_tests) \ - $(posix_tests) + $(misc_tests) + noinst_PROGRAMS = $(client_tests) -check: run-unit-tests +check: run-unit-tests run-python-tests .PHONY: run-unit-tests 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 & + cd ../../python ; ./run-tests -v -I cpp_failing.txt + + include gen.mk extra_libs = -lcppunit -- cgit v1.2.1