summaryrefslogtreecommitdiff
path: root/cpp/tests/Makefile.am
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2006-12-01 07:36:35 +0000
committerAlan Conway <aconway@apache.org>2006-12-01 07:36:35 +0000
commit86e2310d07a37eada38945d821efe1dab3c06fd6 (patch)
treef731c4f3adc5aae53caf76729dd4a08559e0d980 /cpp/tests/Makefile.am
parent292a098994a6633c80ee5e50582525538efae044 (diff)
downloadqpid-python-86e2310d07a37eada38945d821efe1dab3c06fd6.tar.gz
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
Diffstat (limited to 'cpp/tests/Makefile.am')
-rw-r--r--cpp/tests/Makefile.am15
1 files changed, 11 insertions, 4 deletions
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