diff options
| author | Arnaud Simon <arnaudsimon@apache.org> | 2008-06-27 14:24:51 +0000 |
|---|---|---|
| committer | Arnaud Simon <arnaudsimon@apache.org> | 2008-06-27 14:24:51 +0000 |
| commit | 4103ec7253b5b1a0e92d02a3f6ff1326d0f2af5e (patch) | |
| tree | e14c6d013de494be4b3a2dc8a4f802743d5693a5 /cc | |
| parent | 9d06933c6c7120c3cfa4eb4998558dd62c558d36 (diff) | |
| download | qpid-python-4103ec7253b5b1a0e92d02a3f6ff1326d0f2af5e.tar.gz | |
QPID-1157: Added CC scripts and config files
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@672280 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cc')
| -rw-r--r-- | cc/config.xml | 25 | ||||
| -rw-r--r-- | cc/config/bdbstore-cpp-trunk.xml | 48 | ||||
| -rw-r--r-- | cc/config/cpp-trunk-perftests.xml | 63 | ||||
| -rw-r--r-- | cc/config/cpp-trunk.xml | 48 | ||||
| -rw-r--r-- | cc/config/java-trunk.xml | 136 | ||||
| -rw-r--r-- | cc/config/java/cpp.noprefetch.testprofile | 18 | ||||
| -rw-r--r-- | cc/config/java/cpp.testprofile | 19 | ||||
| -rw-r--r-- | cc/config/java/cppExcludeList | 15 | ||||
| -rw-r--r-- | cc/config/java/cppNoPrefetchExcludeList | 18 | ||||
| -rw-r--r-- | cc/config/java/java.testprofile | 18 | ||||
| -rw-r--r-- | cc/config/java/javaExcludeList | 13 | ||||
| -rw-r--r-- | cc/dashboard-config.xml | 31 | ||||
| -rwxr-xr-x | cc/scripts/bdbstorecppbuild.sh | 26 | ||||
| -rw-r--r-- | cc/scripts/build.xml | 26 | ||||
| -rwxr-xr-x | cc/scripts/cppbuild-perftests.sh | 23 | ||||
| -rwxr-xr-x | cc/scripts/cppbuild.sh | 21 | ||||
| -rwxr-xr-x | cc/scripts/javaconfig.sh | 25 | ||||
| -rwxr-xr-x | cc/scripts/javareport.sh | 25 |
18 files changed, 598 insertions, 0 deletions
diff --git a/cc/config.xml b/cc/config.xml new file mode 100644 index 0000000000..3b94d568b7 --- /dev/null +++ b/cc/config.xml @@ -0,0 +1,25 @@ +<!--
+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.
+-->
+
+<cruisecontrol>
+ <include.projects file="./config/cpp-trunk.xml"/>
+ <include.projects file="./config/java-trunk.xml"/>
+ <include.projects file="./config/bdbstore-cpp-trunk.xml"/>
+ <include.projects file="./config/cpp-trunk-perftests.xml"/>
+</cruisecontrol>
diff --git a/cc/config/bdbstore-cpp-trunk.xml b/cc/config/bdbstore-cpp-trunk.xml new file mode 100644 index 0000000000..ce80d37820 --- /dev/null +++ b/cc/config/bdbstore-cpp-trunk.xml @@ -0,0 +1,48 @@ +<!--
+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.
+-->
+<cruisecontrol>
+
+ <project name="bdbstore-cpp-trunk"
+ buildafterfailed="false">
+
+ <!-- Load environment variables -->
+ <property environment="env" toupper="true"/>
+
+ <listeners>
+ <currentbuildstatuslistener file="logs/${project.name}/status.txt"/>
+ </listeners>
+
+ <bootstrappers>
+ <svnbootstrapper localWorkingCopy="${env.CPPSTORE_HOME}" />
+ </bootstrappers>
+
+ <modificationset quietperiod="30">
+ <buildstatus logdir="/logs/qpid-cpp-trunk/"/>
+ <svn localWorkingCopy="${env.CPPSTORE_HOME}"/>
+ </modificationset>
+
+ <schedule interval="3600">
+ <exec timeout="1800"
+ command="/bin/bash"
+ args="${env.CC_HOME}/cc/scripts/bdbstorecppbuild.sh"
+ workingdir="${env.CPPSTORE_HOME}" />
+ </schedule>
+
+ </project>
+</cruisecontrol>
diff --git a/cc/config/cpp-trunk-perftests.xml b/cc/config/cpp-trunk-perftests.xml new file mode 100644 index 0000000000..8a5079b60b --- /dev/null +++ b/cc/config/cpp-trunk-perftests.xml @@ -0,0 +1,63 @@ +<!--
+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.
+-->
+
+<cruisecontrol>
+
+ <project name="qpid-cpp-trunk-perftests"
+ buildafterfailed="false">
+
+ <listeners>
+ <currentbuildstatuslistener file="logs/${project.name}/status.txt"/>
+ </listeners>
+
+ <bootstrappers>
+ <svnbootstrapper localWorkingCopy="../cpp" />
+ <svnbootstrapper localWorkingCopy="../specs" />
+ <svnbootstrapper localWorkingCopy="../python" />
+ </bootstrappers>
+
+ <modificationset quietperiod="30">
+ <alwaysbuild />
+ </modificationset>
+
+ <schedule>
+ <ant target="cpp-perftests"
+ uselogger="false"
+ time="0000"
+ timeout="3600"
+ antworkingdir="scripts">
+ </ant>
+ </schedule>
+
+ <publishers>
+ <!--
+ <email subjectprefix="CC report fro ${project.name}" mailhost="localhost"
+ returnaddress="my_email"
+ buildresultsurl="http://my_host:8080/buildresults/${project.name}"
+ skipusers="false"
+ reportsuccess="fixes"
+ spamwhilebroken="true">
+ <always address="email"/>
+ <map alias="name" address="email"/>
+ </email>
+ -->
+ </publishers>
+
+ </project>
+</cruisecontrol>
diff --git a/cc/config/cpp-trunk.xml b/cc/config/cpp-trunk.xml new file mode 100644 index 0000000000..7943dac6de --- /dev/null +++ b/cc/config/cpp-trunk.xml @@ -0,0 +1,48 @@ +<!--
+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.
+-->
+<cruisecontrol>
+ <project name="qpid-cpp-trunk"
+ buildafterfailed="false">
+
+ <listeners>
+ <currentbuildstatuslistener file="logs/${project.name}/status.txt"/>
+ </listeners>
+
+ <bootstrappers>
+ <svnbootstrapper localWorkingCopy="../bin" />
+ <svnbootstrapper localWorkingCopy="../cpp" />
+ <svnbootstrapper localWorkingCopy="../specs" />
+ <svnbootstrapper localWorkingCopy="../python" />
+ </bootstrappers>
+
+ <modificationset quietperiod="30">
+ <svn localWorkingCopy="../bin"/>
+ <svn localWorkingCopy="../cpp"/>
+ <svn localWorkingCopy="../specs"/>
+ <svn localWorkingCopy="../python"/>
+ </modificationset>
+
+ <schedule interval="3600">
+ <exec timeout="1800"
+ command="/bin/bash"
+ args="../cc/scripts/cppbuild.sh"
+ workingdir="../cpp" />
+ </schedule>
+ </project>
+</cruisecontrol>
diff --git a/cc/config/java-trunk.xml b/cc/config/java-trunk.xml new file mode 100644 index 0000000000..5fdfb39a41 --- /dev/null +++ b/cc/config/java-trunk.xml @@ -0,0 +1,136 @@ +<!--
+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.
+-->
+
+<cruisecontrol>
+ <project name="qpid-java-trunk"
+ buildafterfailed="false">
+
+ <listeners>
+ <currentbuildstatuslistener file="logs/${project.name}/status.txt"/>
+ </listeners>
+
+ <bootstrappers>
+ <svnbootstrapper localWorkingCopy="../java" />
+ <svnbootstrapper localWorkingCopy="../gentools" />
+ </bootstrappers>
+
+ <modificationset quietperiod="30">
+ <buildstatus logdir="logs/qpid-cpp-trunk/"/>
+ <buildstatus logdir="logs/bdbstore-cpp-trunk/"/>
+ <svn localWorkingCopy="../java"/>
+ <svn localWorkingCopy="../gentools"/>
+ </modificationset>
+
+ <schedule interval="3600">
+ <composite>
+
+ <exec timeout="1800"
+ command="/bin/bash"
+ args="../cc/scripts/javaconfig.sh"
+ workingdir="../java" />
+ <!-- in VM 0.8 -->
+ <ant target="clean test"
+ uselogger="false"
+ antworkingdir="../java">
+ <jvmarg arg="-Xmx1024m"/>
+ <property name="profile" value="java"/>
+ </ant>
+
+ <ant target="report"
+ uselogger="false"
+ antworkingdir="../java">
+ <jvmarg arg="-Xmx1024m"/>
+ </ant>
+ <exec timeout="1800"
+ command="/bin/bash"
+ args="../cc/scripts/javareport.sh 08"
+ workingdir="../java" />
+
+ <!-- cpp -->
+ <ant target="test"
+ uselogger="false"
+ antworkingdir="../java">
+ <jvmarg arg="-Xmx1024m"/>
+ <property name="profile" value="cpp"/>
+ </ant>
+ <ant target="report"
+ uselogger="false"
+ antworkingdir="../java">
+ <jvmarg arg="-Xmx1024m"/>
+ </ant>
+ <exec timeout="1800"
+ command="/bin/bash"
+ args="../cc/scripts/javareport.sh cpp"
+ workingdir="../java" />
+
+ <!-- cpp no prefetch -->
+ <ant target="test"
+ uselogger="false"
+ antworkingdir="../java">
+ <jvmarg arg="-Xmx1024m"/>
+ <property name="profile" value="cpp.noprefetch"/>
+ </ant>
+ <ant target="report"
+ uselogger="false"
+ antworkingdir="../java">
+ <jvmarg arg="-Xmx1024m"/>
+ </ant>
+ <exec timeout="1800"
+ command="/bin/bash"
+ args="../cc/scripts/javareport.sh cpp-noprefetch"
+ workingdir="../java" />
+
+ <!-- make the release
+ <ant target="release"
+ uselogger="false"
+ antworkingdir="../java">
+ <jvmarg arg="-Xmx1024m"/>
+ </ant>
+ -->
+ </composite>
+ </schedule>
+
+ <publishers>
+
+ <artifactspublisher dest="artifacts/${project.name}"
+ subdirectory="report_08"
+ dir="../java/build/report_08"/>
+
+ <artifactspublisher dest="artifacts/${project.name}"
+ subdirectory="report_cpp"
+ dir="../java/build/report_cpp"/>
+
+ <artifactspublisher dest="artifacts/${project.name}"
+ subdirectory="report_cpp-noprefetch"
+ dir="../java/build/report_cpp-noprefetch"/>
+<!--
+ <email subjectprefix="CC report fro ${project.name}" mailhost="localhost"
+ returnaddress="my_email"
+ buildresultsurl="http://my_host:8080/buildresults/${project.name}"
+ skipusers="false"
+ reportsuccess="fixes"
+ spamwhilebroken="true">
+ <always address="email"/>
+ <map alias="name" address="email"/>
+ </email>
+-->
+ </publishers>
+
+ </project>
+</cruisecontrol>
diff --git a/cc/config/java/cpp.noprefetch.testprofile b/cc/config/java/cpp.noprefetch.testprofile new file mode 100644 index 0000000000..a69a5295f5 --- /dev/null +++ b/cc/config/java/cpp.noprefetch.testprofile @@ -0,0 +1,18 @@ +broker.version=0-10 +broker=${project.root}/../cpp/src/qpidd --data-dir ${build.data} -t --load-module store_home/lib/.libs/libbdbstore.so --auth no --no-module-dir +broker.clean=${project.root}/clean-dir ${build.data} +java.naming.provider.url=${project.root}/test-provider.properties +test.excludes=true +broker.ready=Listening on TCP port +test.excludesfile=${project.root}/cppNoPrefetchExcludeList +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 +haltonfailure=no +haltonerror=no +max_prefetch=0 +exclude.modules=systests
\ No newline at end of file diff --git a/cc/config/java/cpp.testprofile b/cc/config/java/cpp.testprofile new file mode 100644 index 0000000000..63b36638ad --- /dev/null +++ b/cc/config/java/cpp.testprofile @@ -0,0 +1,19 @@ +broker.version=0-10 +broker=${project.root}/../cpp/src/qpidd --data-dir ${build.data} -t --load-module store_home/lib/.libs/libbdbstore.so --auth no --no-module-dir +broker.clean=${project.root}/clean-dir ${build.data} +java.naming.provider.url=${project.root}/test-provider.properties +test.excludes=true +test.excludesfile=${project.root}/010AsyncExcludeList +broker.ready=Listening on TCP port +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 +haltonfailure=no +haltonerror=no +max_prefetch=1000 +exclude.modules=systests
\ No newline at end of file diff --git a/cc/config/java/cppExcludeList b/cc/config/java/cppExcludeList new file mode 100644 index 0000000000..ff93dd00b8 --- /dev/null +++ b/cc/config/java/cppExcludeList @@ -0,0 +1,15 @@ +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 +// those tests need durable subscribe states to be persisted +org.apache.qpid.test.unit.topic.DurableSubscriptionTest#testDurSubRestoredAfterNonPersistentMessageSent +org.apache.qpid.test.unit.ct.DurableSubscriberTest#testDurSubRestoresMessageSelector +// the 0.10 c++ broker does not implement forget +org.apache.qpid.test.unit.xa.FaultTest#testForget +// removed because of bug 445500 +// org.apache.qpid.test.unit.topic.DurableSubscriptionTest#testDurabilityAUTOACK +// org.apache.qpid.test.unit.topic.DurableSubscriptionTest#testDurabilityNOACKSessionPerConnection
\ No newline at end of file diff --git a/cc/config/java/cppNoPrefetchExcludeList b/cc/config/java/cppNoPrefetchExcludeList new file mode 100644 index 0000000000..173d837ab1 --- /dev/null +++ b/cc/config/java/cppNoPrefetchExcludeList @@ -0,0 +1,18 @@ +// those tests use 0.8 semantics +org.apache.qpid.test.unit.client.channelclose.ChannelCloseTest#* +org.apache.qpid.client.ResetMessageListenerTest#* +org.apache.qpid.test.unit.transacted.TransactedTest#testRollback +// those tests need durable subscribe states to be persisted +org.apache.qpid.test.unit.topic.DurableSubscriptionTest#testDurSubRestoredAfterNonPersistentMessageSent +org.apache.qpid.test.unit.ct.DurableSubscriberTest#testDurSubRestoresMessageSelector +// This test is not finished +org.apache.qpid.test.testcases.TTLTest#* +// the 0.10 c++ broker does not implement forget +org.apache.qpid.test.unit.xa.FaultTest#testForget +// See Bug 443031 +org.apache.qpid.test.unit.xa.TopicTest#testMultiMessagesDurSubCrash +// removed because of bug 445500 +// org.apache.qpid.test.unit.topic.DurableSubscriptionTest#testDurabilityAUTOACK +// org.apache.qpid.test.unit.topic.DurableSubscriptionTest#testDurabilityNOACKSessionPerConnection +// trace sent to Gordon +// org.apache.qpid.test.unit.basic.SelectorTest#*
\ No newline at end of file diff --git a/cc/config/java/java.testprofile b/cc/config/java/java.testprofile new file mode 100644 index 0000000000..a0eacd0516 --- /dev/null +++ b/cc/config/java/java.testprofile @@ -0,0 +1,18 @@ +broker.version=0-8 +broker=vm +broker.clean=${project.root}/clean-dir ${build.data} +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 +haltonfailure=no +haltonerror=no +max_prefetch=1000 +exclude.modules=systests
\ No newline at end of file diff --git a/cc/config/java/javaExcludeList b/cc/config/java/javaExcludeList new file mode 100644 index 0000000000..5e5bf715ad --- /dev/null +++ b/cc/config/java/javaExcludeList @@ -0,0 +1,13 @@ +org.apache.qpid.test.unit.xa.QueueTest#* +org.apache.qpid.test.unit.xa.TopicTest#* +org.apache.qpid.test.unit.xa.FaultTest#* +org.apache.qpid.test.unit.ct.DurableSubscriberTests#* +// those tests are failing see: QPID- +org.apache.qpid.test.unit.topic.TopicSessionTest#testNoLocal +// known issue +org.apache.qpid.test.unit.topic.DurableSubscriptionTest#testDurableWithInvalidSelector +// Those tests are not finished +org.apache.qpid.test.testcases.TTLTest#* +org.apache.qpid.test.testcases.FailoverTest#* +// See qpid-1144 +org.apache.qpid.test.testcases.ImmediateMessageTest#* diff --git a/cc/dashboard-config.xml b/cc/dashboard-config.xml new file mode 100644 index 0000000000..9304322853 --- /dev/null +++ b/cc/dashboard-config.xml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- +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. +--> + + <dashboard> + <buildloop + logsdir="logs/" + artifactsdir="artifacts" /> + <features allowforcebuild="true"/> + <trackingtool projectname="cc" baseurl="http://localhost:8080/" keywords="QPID"/> + <subtabs> + <subtab class="net.sourceforge.cruisecontrol.dashboard.widgets.ErrorsAndWarningsMessagesWidget" /> + </subtabs> +</dashboard> + diff --git a/cc/scripts/bdbstorecppbuild.sh b/cc/scripts/bdbstorecppbuild.sh new file mode 100755 index 0000000000..9096e13e31 --- /dev/null +++ b/cc/scripts/bdbstorecppbuild.sh @@ -0,0 +1,26 @@ +#!/bin/bash +########################################################### +#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. +########################################################### + +if [ -f Makefile ]; then + make distclean +fi + ./bootstrap && \ + ./configure CXXFLAGS="-O3 -DNDEBUG" --with-qpid-checkout=$CC_HOME && \ + make diff --git a/cc/scripts/build.xml b/cc/scripts/build.xml new file mode 100644 index 0000000000..a9e91e21ce --- /dev/null +++ b/cc/scripts/build.xml @@ -0,0 +1,26 @@ +<!-- +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. +--> + +<project name="run-tests" default="cpp-perftests" basedir="."> + +<target name="cpp-perftests"> + <exec executable="./cppbuild-perftests.sh" failonerror="true"/> +</target> + +</project> diff --git a/cc/scripts/cppbuild-perftests.sh b/cc/scripts/cppbuild-perftests.sh new file mode 100755 index 0000000000..782a472175 --- /dev/null +++ b/cc/scripts/cppbuild-perftests.sh @@ -0,0 +1,23 @@ +#!/bin/bash +########################################################### +#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. +########################################################### + +cd $CC_HOME/cpp +svn stat --no-ignore | awk '/^[I?]/{print $2}' | xargs rm -r +./bootstrap && ./configure CXXFLAGS="-O3 -DNDEBUG" && make -j4 all && cd src/tests && make -j4 check diff --git a/cc/scripts/cppbuild.sh b/cc/scripts/cppbuild.sh new file mode 100755 index 0000000000..b63feb7141 --- /dev/null +++ b/cc/scripts/cppbuild.sh @@ -0,0 +1,21 @@ +#!/bin/bash -x +########################################################### +#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. +########################################################### + +make distclean && ./bootstrap && ./configure && make
\ No newline at end of file diff --git a/cc/scripts/javaconfig.sh b/cc/scripts/javaconfig.sh new file mode 100755 index 0000000000..74e5063bab --- /dev/null +++ b/cc/scripts/javaconfig.sh @@ -0,0 +1,25 @@ +#!/bin/bash +########################################################### +#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. +########################################################### + +# copy the profiles +sed "s#store_home#$CPPSTORE_HOME#g" $CC_HOME/cc/config/java/cpp.noprefetch.testprofile > "$CC_HOME/java/"/cpp.noprefetch.testprofile +sed "s#store_home#$CPPSTORE_HOME#g" $CC_HOME/cc/config/java/cpp.testprofile > "$CC_HOME/java"/cpp.testprofile +cp $CC_HOME/cc/config/java/*ExcludeList $CC_HOME/java/. +cp $CC_HOME/cc/config/java/java.testprofile $CC_HOME/java/.
\ No newline at end of file diff --git a/cc/scripts/javareport.sh b/cc/scripts/javareport.sh new file mode 100755 index 0000000000..2b2469d31d --- /dev/null +++ b/cc/scripts/javareport.sh @@ -0,0 +1,25 @@ +#!/bin/bash +########################################################### +#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. +########################################################### +cd "$CC_HOME/java/build" +pwd +if [[ -d report_$1 ]]; then rm -fr report_$1; fi +if [[ -d report ]]; then mv report report_$1; fi +rm -rf ./results/* +rm -rf ./data/*
\ No newline at end of file |
