diff options
| author | Kenneth Anthony Giusti <kgiusti@apache.org> | 2010-12-01 20:28:35 +0000 |
|---|---|---|
| committer | Kenneth Anthony Giusti <kgiusti@apache.org> | 2010-12-01 20:28:35 +0000 |
| commit | da185c1a45b6287c0ec79fa6fe8adacdba93bff1 (patch) | |
| tree | 6f79d1f7e78bab8852c0668e8fb39f11cfe3d775 /qpid/cpp/src/tests/brokermgmt.mk | |
| parent | f7efd9e27b96e43bb92844c52a186af1aa62b483 (diff) | |
| download | qpid-python-da185c1a45b6287c0ec79fa6fe8adacdba93bff1.tar.gz | |
Add a unit_test fixture for the Brokers internal management agent.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1041150 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/brokermgmt.mk')
| -rw-r--r-- | qpid/cpp/src/tests/brokermgmt.mk | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/qpid/cpp/src/tests/brokermgmt.mk b/qpid/cpp/src/tests/brokermgmt.mk new file mode 100644 index 0000000000..ad73da4717 --- /dev/null +++ b/qpid/cpp/src/tests/brokermgmt.mk @@ -0,0 +1,45 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + +# Build a simple qmf agent for test purposes. + +BROKERMGMT_GEN_SRC= \ + brokermgmt_gen/qmf/org/apache/qpid/broker/mgmt/test/TestObject.h \ + brokermgmt_gen/qmf/org/apache/qpid/broker/mgmt/test/Package.cpp \ + brokermgmt_gen/qmf/org/apache/qpid/broker/mgmt/test/Package.h \ + brokermgmt_gen/qmf/org/apache/qpid/broker/mgmt/test/TestObject.cpp \ + brokermgmt_gen/qmf/org/apache/qpid/broker/mgmt/test/ArgsTestObjectMethod1.h + +$(BROKERMGMT_GEN_SRC): brokermgmt_gen.timestamp + +if GENERATE +BROKERMGMT_DEPS=../mgen.timestamp +endif # GENERATE +brokermgmt_gen.timestamp: BrokerMgmtAgent.xml ${BROKERMGMT_DEPS} + $(QMF_GEN) -b -o brokermgmt_gen/qmf $(srcdir)/BrokerMgmtAgent.xml + touch $@ + +BrokerMgmtAgent.$(OBJEXT): $(BROKERMGMT_GEN_SRC) + +CLEANFILES+=$(BROKERMGMT_GEN_SRC) brokermgmt_gen.timestamp + +unit_test_SOURCES+=BrokerMgmtAgent.cpp ${BROKERMGMT_GEN_SRC} +INCLUDES+= -Ibrokermgmt_gen + +EXTRA_DIST+=BrokerMgmtAgent.xml |
