From 1de434379397f34a7cfbe1e53ba7913b2eddff23 Mon Sep 17 00:00:00 2001 From: Arnaud Simon Date: Wed, 2 Apr 2008 13:03:39 +0000 Subject: QPID-884 Updated ant for using a profile. I have created a default profile that runs the tests against an 0.8 in VM broker and cpp-async and cpp-sync that respectively runs the test against an 0.10 cpp broker with async store and with sync store. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@643894 13f79535-47bb-0310-9956-ffa450edef68 --- java/010ExcludeList | 9 +++++++++ java/08ExcludeList | 4 ++++ java/cpp.async.testprofile | 14 ++++++++++++++ java/cpp.sync.testprofile | 14 ++++++++++++++ java/default.testprofile | 15 +++++++++++++++ java/module.xml | 44 ++++++++++++++------------------------------ 6 files changed, 70 insertions(+), 30 deletions(-) create mode 100644 java/010ExcludeList create mode 100644 java/08ExcludeList create mode 100644 java/cpp.async.testprofile create mode 100644 java/cpp.sync.testprofile create mode 100644 java/default.testprofile (limited to 'java') diff --git a/java/010ExcludeList b/java/010ExcludeList new file mode 100644 index 0000000000..996332afa8 --- /dev/null +++ b/java/010ExcludeList @@ -0,0 +1,9 @@ +org.apache.qpid.test.unit.client.channelclose.ChannelCloseTest#* +org.apache.qpid.client.ResetMessageListenerTest#* +// those tests should be run with prefetch off +org.apache.qpid.client.MessageListenerMultiConsumerTest#testRecieveC2Only +org.apache.qpid.client.MessageListenerMultiConsumerTest#testRecieveBoth +org.apache.qpid.test.unit.xa.TopicTest#testMultiMessagesDurSubCrash +org.apache.qpid.test.unit.xa.TopicTest#testMigrateDurableSubscriber +// this test needs durable subscribe states to be persisted +org.apache.qpid.test.unit.topic.DurableSubscriptionTest#testDurSubRestoredAfterNonPersistentMessageSent \ No newline at end of file diff --git a/java/08ExcludeList b/java/08ExcludeList new file mode 100644 index 0000000000..b101c08a85 --- /dev/null +++ b/java/08ExcludeList @@ -0,0 +1,4 @@ +org.apache.qpid.test.unit.xa.QueueTest#* +org.apache.qpid.test.unit.xa.TopicTest#* +org.apache.qpid.test.unit.ct.DurableSubscriberTests#* + diff --git a/java/cpp.async.testprofile b/java/cpp.async.testprofile new file mode 100644 index 0000000000..050f7ebe59 --- /dev/null +++ b/java/cpp.async.testprofile @@ -0,0 +1,14 @@ +broker.version=0-10 +broker=${project.root}/../cpp/src/qpidd --data-dir ${build.data} -t --log-output ${build.data}/broker.log --load-module ${project.root}/../../cppStore/cpp/lib/.libs/libbdbstore.so --store-async yes +broker.clean=${build.data} +java.naming.provider.url=${project.root}/test-provider.properties +test.excludes=true +test.excludesfile=${project.root}/010ExcludeList +log=info +amqj.logging.level=$log +root.logging.level=$log +log4j.configuration=file://${project.root}/log4j-test.xml +test.fork=no +test.mem=512M +test=*Test +test1=*Tests diff --git a/java/cpp.sync.testprofile b/java/cpp.sync.testprofile new file mode 100644 index 0000000000..99d6733e0d --- /dev/null +++ b/java/cpp.sync.testprofile @@ -0,0 +1,14 @@ +broker.version=0-10 +broker=${project.root}/../cpp/src/qpidd --data-dir ${build.data} -t --log-output ${build.data}/broker.log --load-module ${project.root}/../../cppStore/cpp/lib/.libs/libbdbstore.so --store-async no +broker.clean=${build.data} +java.naming.provider.url=${project.root}/test-provider.properties +test.excludes=true +test.excludesfile=${project.root}/010ExcludeList +log=info +amqj.logging.level=$log +root.logging.level=$log +log4j.configuration=file://${project.root}/log4j-test.xml +test.fork=no +test.mem=512M +test=*Test +test1=*Tests diff --git a/java/default.testprofile b/java/default.testprofile new file mode 100644 index 0000000000..078132dd35 --- /dev/null +++ b/java/default.testprofile @@ -0,0 +1,15 @@ +broker.version=0-8 +broker=vm +broker.clean=${project.root}/clean-dir +java.naming.provider.url=${project.root}/test-provider.properties +test.excludes=true +test.excludesfile=${project.root}/08ExcludeList +log=info +amqj.logging.level=$log +root.logging.level=$log +log4j.configuration=file://${project.root}/log4j-test.xml +test.fork=no +test.mem=512M +test=*Test +test1=*Tests + diff --git a/java/module.xml b/java/module.xml index 670992bff1..7374b9af09 100644 --- a/java/module.xml +++ b/java/module.xml @@ -157,42 +157,23 @@ - - - - - - - - - - - - - - - - - - - - + + + + + + - - - - - - - + + - + @@ -201,6 +182,8 @@ + + @@ -209,7 +192,8 @@ - + + @@ -220,7 +204,7 @@ - + -- cgit v1.2.1