summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests/cluster.mk
blob: 506624569f530c60d41e596044f233d16eb1e7f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
if CLUSTER
# Cluster tests makefile fragment, to be included in Makefile.am
# 

lib_cluster = $(abs_builddir)/../libqpidcluster.la

# NOTE: Programs using the openais library must be run with gid=ais
# You should do "newgrp ais" before running the tests to run these.
# 

#
# Cluster tests.
# 

TESTS+=ais_check
EXTRA_DIST+=ais_check

TESTS+=Cpg
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

check_PROGRAMS+=Cluster_child 
Cluster_child_SOURCES=Cluster_child.cpp Cluster.h
Cluster_child_LDADD=$(lib_cluster) -lboost_test_exec_monitor

# TODO aconway 2007-07-03: In progress
#TESTS+=cluster_client
check_PROGRAMS+=cluster_client
cluster_client_SOURCES=cluster_client.cpp
cluster_client_LDADD=$(lib_client) -lboost_unit_test_framework

endif