From 1a469b992ef2f28d98f43e63cf4d520c1bf830a4 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Mon, 23 Jul 2007 13:08:16 +0000 Subject: * src/tests/cluster.mk: Enable cluster test. * src/tests/Cluster.h (class TestHandler): Fixed race in TestHandler::waitFor * src/tests/Cluster.cpp - Allow separate start of parent and child processes. * src/qpid/Options.cpp (parse): Skip argv parsing if argc=0. * src/qpid/cluster/Cluster.cpp (configChange): assert group name. * src/qpid/cluster/Cpg.cpp, .h: Additional logging * src/qpid/framing/AMQFrame.cpp: Initialize all fields in ctor, avoid valgrind warning. * src/qpid/log/Logger.cpp: Initialize singleton automatically from environment so logging can be used on tests. * src/qpid/sys/Time.h: Avoid overflow in AbsTime(t, TIME_INFINITE) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@558710 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/tests/cluster.mk | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'cpp/src/tests/cluster.mk') diff --git a/cpp/src/tests/cluster.mk b/cpp/src/tests/cluster.mk index 506624569f..7407565f62 100644 --- a/cpp/src/tests/cluster.mk +++ b/cpp/src/tests/cluster.mk @@ -20,11 +20,10 @@ check_PROGRAMS+=Cpg Cpg_SOURCES=Cpg.cpp Cpg_LDADD=$(lib_cluster) -lboost_unit_test_framework -# FIXME aconway 2007-07-19: -# TESTS+=Cluster -# check_PROGRAMS+=Cluster -# Cluster_SOURCES=Cluster.cpp Cluster.h -# Cluster_LDADD=$(lib_cluster) -lboost_unit_test_framework +TESTS+=Cluster +check_PROGRAMS+=Cluster +Cluster_SOURCES=Cluster.cpp Cluster.h +Cluster_LDADD=$(lib_cluster) -lboost_unit_test_framework check_PROGRAMS+=Cluster_child Cluster_child_SOURCES=Cluster_child.cpp Cluster.h -- cgit v1.2.1