diff options
author | Rafael H. Schloming <rhs@apache.org> | 2009-07-14 19:51:03 +0000 |
---|---|---|
committer | Rafael H. Schloming <rhs@apache.org> | 2009-07-14 19:51:03 +0000 |
commit | f8615b90193e0493adfb64ed3973797f60727dfc (patch) | |
tree | d06e606a496c80401a31e786261fe62609fc8847 | |
parent | 2438a3cb8ff3f1f0d52b048ba2475c01119fb37e (diff) | |
download | qpid-python-f8615b90193e0493adfb64ed3973797f60727dfc.tar.gz |
added support for profile inheritence and refactored profiles to permit convenient overriding of broker location and additional broker arguments
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@794037 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | qpid/java/module.xml | 3 | ||||
-rw-r--r-- | qpid/java/test-profiles/cpp.async.testprofile | 4 | ||||
-rw-r--r-- | qpid/java/test-profiles/cpp.cluster.testprofile | 4 | ||||
-rw-r--r-- | qpid/java/test-profiles/cpp.noprefetch.testprofile | 4 | ||||
-rw-r--r-- | qpid/java/test-profiles/cpp.ssl.testprofile | 4 | ||||
-rw-r--r-- | qpid/java/test-profiles/cpp.testprofile | 5 |
6 files changed, 15 insertions, 9 deletions
diff --git a/qpid/java/module.xml b/qpid/java/module.xml index 51b9c176c1..1bfc1931a4 100644 --- a/qpid/java/module.xml +++ b/qpid/java/module.xml @@ -231,6 +231,9 @@ <property file="${test.profiles}/${config}"/> + <foreach property="_profile_" list="${profile.inherit}"> + <property file="${test.profiles}/${_profile_}.testprofile"/> + </foreach> <property file="${test.profiles}/default.testprofile"/> <condition property="dontruntest" value="dontruntest" else="runtest"> diff --git a/qpid/java/test-profiles/cpp.async.testprofile b/qpid/java/test-profiles/cpp.async.testprofile index 1c467a0b79..c1fe31040e 100644 --- a/qpid/java/test-profiles/cpp.async.testprofile +++ b/qpid/java/test-profiles/cpp.async.testprofile @@ -1,3 +1,3 @@ -broker.version=0-10 -broker=${project.root}/../cpp/src/qpidd -p @PORT --data-dir ${build.data}/@PORT -t --load-module ${project.root}/../../cppStore/cpp/lib/.libs/msgstore.so --auth no +profile.inherit=cpp +broker.modules=--load-module ${project.root}/../../cppStore/cpp/lib/.libs/msgstore.so test.excludesfile=${test.profiles}/ExcludeList ${test.profiles}/010ExcludeList-store diff --git a/qpid/java/test-profiles/cpp.cluster.testprofile b/qpid/java/test-profiles/cpp.cluster.testprofile index 8e8e48e777..9bb5bc6af6 100644 --- a/qpid/java/test-profiles/cpp.cluster.testprofile +++ b/qpid/java/test-profiles/cpp.cluster.testprofile @@ -1,5 +1,5 @@ -broker.version=0-10 -broker=${project.root}/../cpp/src/qpidd --load-module ${project.root}/../cpp/src/.libs/cluster.so --cluster-name cpp-java-test-cluster -p @PORT --data-dir ${build.data}/@PORT -t --auth no +profile.inherit=cpp +broker.modules=--load-module ${project.root}/../cpp/src/.libs/cluster.so --cluster-name cpp-java-test-cluster test.excludesfile=${test.profiles}/ExcludeList ${test.profiles}/XAExcludeList ${test.profiles}/010ExcludeList profile.clustered=true diff --git a/qpid/java/test-profiles/cpp.noprefetch.testprofile b/qpid/java/test-profiles/cpp.noprefetch.testprofile index d4cac445da..4e08200e94 100644 --- a/qpid/java/test-profiles/cpp.noprefetch.testprofile +++ b/qpid/java/test-profiles/cpp.noprefetch.testprofile @@ -1,4 +1,4 @@ -broker.version=0-10 -broker=${project.root}/../cpp/src/qpidd -p @PORT --data-dir ${build.data}/@PORT -t --load-module ${project.root}/../../cppStore/cpp/lib/.libs/msgstore.so --auth no +profile.inherit=cpp +broker.modules=--load-module ${project.root}/../../cppStore/cpp/lib/.libs/msgstore.so test.excludesfile=${test.profiles}/ExcludeList ${test.profiles}/010ExcludeList-noPrefetch max_prefetch=0 diff --git a/qpid/java/test-profiles/cpp.ssl.testprofile b/qpid/java/test-profiles/cpp.ssl.testprofile index 9d54f03569..072840372c 100644 --- a/qpid/java/test-profiles/cpp.ssl.testprofile +++ b/qpid/java/test-profiles/cpp.ssl.testprofile @@ -1,5 +1,5 @@ -broker.version=0-10 -broker=${project.root}/../cpp/src/qpidd -p @PORT --load-module ${project.root}/../cpp/src/.libs/ssl.so --ssl-cert-name localhost.localdomain --ssl-cert-password-file ${test.profiles}/test_resources/ssl/pfile --ssl-cert-db ${test.profiles}/test_resources/ssl/server_db/ --ssl-require-client-authentication --data-dir ${build.data}/@PORT -t --auth no +profile.inherit=cpp +broker.modules=--load-module ${project.root}/../cpp/src/.libs/ssl.so --ssl-cert-name localhost.localdomain --ssl-cert-password-file ${test.profiles}/test_resources/ssl/pfile --ssl-cert-db ${test.profiles}/test_resources/ssl/server_db/ --ssl-require-client-authentication test.excludesfile=${test.profiles}/ExcludeList ${test.profiles}/010ExcludeList ${test.profiles}/010ExcludeList-ssl test.excludeslist=org.apache.qpid.test.client.failover.FailoverTest#* profile.use_ssl=true diff --git a/qpid/java/test-profiles/cpp.testprofile b/qpid/java/test-profiles/cpp.testprofile index a09c097cb7..aed4a0adca 100644 --- a/qpid/java/test-profiles/cpp.testprofile +++ b/qpid/java/test-profiles/cpp.testprofile @@ -1,3 +1,6 @@ broker.version=0-10 -broker=${project.root}/../cpp/src/qpidd -p @PORT --data-dir ${build.data}/@PORT -t --auth no +broker.command=${project.root}/../cpp/src/qpidd +broker.modules= +broker.args= +broker=${broker.command} -p @PORT --data-dir ${build.data}/@PORT -t --auth no ${broker.modules} ${broker.args} test.excludesfile=${test.profiles}/ExcludeList ${test.profiles}/010ExcludeList |