From 7de71198a292c7b0a533abe4f950a4e8c7ec3c97 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Thu, 1 Nov 2007 05:58:50 +0000 Subject: Added qpid::sys::RefCountedMap: thread safe refcounted map of refcounted entries. - Entries are atomically erased when released. - Map is released when all entries are erased. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@590907 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/tests/Makefile.am | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'cpp/src/tests/Makefile.am') diff --git a/cpp/src/tests/Makefile.am b/cpp/src/tests/Makefile.am index e6626eb1e8..37d59aa9e2 100644 --- a/cpp/src/tests/Makefile.am +++ b/cpp/src/tests/Makefile.am @@ -21,14 +21,16 @@ CLEANFILES= # # Unit tests are built as a single program to reduce valgrind overhead # when running the tests. If you want to build a subset of the tests do -# rm unit_test; make unit_test unit_test_SOURCES="SelectedTest.cpp" +# rm -f unit_test; make unit_test unit_test_OBJECTS="unit_test.o SelectedTest.o" # TESTS+=unit_test check_PROGRAMS+=unit_test unit_test_LDADD=-lboost_unit_test_framework -lboost_regex $(lib_common) unit_test_SOURCES= unit_test.cpp \ - RefCounted.cpp SessionState.cpp Blob.cpp logging.cpp Url.cpp Uuid.cpp \ + RefCounted.cpp RefCountedMap.cpp \ + SessionState.cpp Blob.cpp logging.cpp \ + Url.cpp Uuid.cpp \ Shlib.cpp FieldValue.cpp FieldTable.cpp check_LTLIBRARIES += libshlibtest.la @@ -96,7 +98,7 @@ testprogs= \ check_PROGRAMS += $(testprogs) interop_runner -TESTS_ENVIRONMENT = VALGRIND=$(VALGRIND) srcdir=$(srcdir) BOOST_TEST_SHOW_PROGRESS=yes $(srcdir)/run_test +TESTS_ENVIRONMENT = VALGRIND=$(VALGRIND) srcdir=$(srcdir) $(srcdir)/run_test system_tests = client_test exception_test quick_perftest quick_topictest TESTS += run-unit-tests start_broker $(system_tests) python_tests stop_broker -- cgit v1.2.1