summaryrefslogtreecommitdiff
path: root/cc/scripts
diff options
context:
space:
mode:
authorRobert Gemmell <robbie@apache.org>2012-03-03 15:28:11 +0000
committerRobert Gemmell <robbie@apache.org>2012-03-03 15:28:11 +0000
commit459e092297296312c1aeb7663028bb1f60b74ed4 (patch)
tree70ed2e80027bef519ed2ec5615d15cf57b261fb2 /cc/scripts
parentc9a99196f7bb6072f29d1b27695fc7467cf450bd (diff)
downloadqpid-python-459e092297296312c1aeb7663028bb1f60b74ed4.tar.gz
NO-JIRA: remove the old CruiseControl config files. They havent been updated in approaching 4 years, and refer to a lot of stuff which has since been deleted so they are in no shape to be used. We use Jenkins now also.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1296638 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cc/scripts')
-rwxr-xr-xcc/scripts/bdbstorecppbuild.sh24
-rw-r--r--cc/scripts/build.xml30
-rwxr-xr-xcc/scripts/check_examples.sh69
-rwxr-xr-xcc/scripts/cppbuild-perftests.sh23
-rwxr-xr-xcc/scripts/cppbuild.sh21
-rw-r--r--cc/scripts/dotnetbuild.sh21
-rwxr-xr-xcc/scripts/javaconfig.sh27
-rw-r--r--cc/scripts/javajmstck.sh80
-rwxr-xr-xcc/scripts/javareport.sh25
-rw-r--r--cc/scripts/runbroker.sh42
-rw-r--r--cc/scripts/stopbroker.sh31
-rwxr-xr-xcc/scripts/verify100
-rwxr-xr-xcc/scripts/verify_all166
13 files changed, 0 insertions, 659 deletions
diff --git a/cc/scripts/bdbstorecppbuild.sh b/cc/scripts/bdbstorecppbuild.sh
deleted file mode 100755
index 3385c8d2f4..0000000000
--- a/cc/scripts/bdbstorecppbuild.sh
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/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
deleted file mode 100644
index 2144020017..0000000000
--- a/cc/scripts/build.xml
+++ /dev/null
@@ -1,30 +0,0 @@
-<!--
-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>
-
- <target name="tck">
- <exec executable="./javajmstck.sh"/>
- </target>
-
-</project>
diff --git a/cc/scripts/check_examples.sh b/cc/scripts/check_examples.sh
deleted file mode 100755
index c10936b36c..0000000000
--- a/cc/scripts/check_examples.sh
+++ /dev/null
@@ -1,69 +0,0 @@
-#!/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.
-###########################################################
-
-runVerifyScript()
-{
- echo "-----------<Run verify scripts>-------------"
- $CC_HOME/cc/scripts/verify_all
- echo "-----------</Run verify scripts>------------"
- echo ""
-}
-
-cleanup()
-{
-rm -f $CC_HOME/script.log
-rm -f $CC_HOME/status.log
-rm -f $CC_HOME/broker.log
-}
-
-checkErrors()
-{
-if test `cat $CC_HOME/script.log | grep -c 'FAIL'` -gt 0
-then
- echo "FAILED"
- printErrors > $CC_HOME/status.log
-fi
-}
-
-printErrors(){
- echo "<desc>The following scripts had failures"
- cat CC_HOME/script.log | awk '{
- script = ""
- while ((getline) == 1)
- {
- if ($1 == "script:")
- {
- script = $0
- }
- if ($1 == "FAIL")
- {
- print substr(script,9)
- }
- }}'
- echo "</desc>"
-}
-
-echo "*************************************"
-echo "Example Automation "
-echo ""
-cleanup
-runVerifyScript
-checkErrors
-echo "*************************************"
diff --git a/cc/scripts/cppbuild-perftests.sh b/cc/scripts/cppbuild-perftests.sh
deleted file mode 100755
index 782a472175..0000000000
--- a/cc/scripts/cppbuild-perftests.sh
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/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
deleted file mode 100755
index b63feb7141..0000000000
--- a/cc/scripts/cppbuild.sh
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/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/dotnetbuild.sh b/cc/scripts/dotnetbuild.sh
deleted file mode 100644
index 51d2110757..0000000000
--- a/cc/scripts/dotnetbuild.sh
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/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.
-###########################################################
-
-mono $NANT_HOME/bin/NAnt.exe test \ No newline at end of file
diff --git a/cc/scripts/javaconfig.sh b/cc/scripts/javaconfig.sh
deleted file mode 100755
index 7a1a3a1a7d..0000000000
--- a/cc/scripts/javaconfig.sh
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/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
-QPID_JARS=`find "$CC_HOME/java/build/lib" -name '*.jar' | tr '\n' ":"`
-QPID_JARS=local.classes=$QPID_JARS
-sed "s#local.classes=.*#$QPID_JARS#g" $TS_HOME/bin/build.properties > "$TS_HOME/bin"/build.properties-new
-mv $TS_HOME/bin/build.properties-new $TS_HOME/bin/build.properties \ No newline at end of file
diff --git a/cc/scripts/javajmstck.sh b/cc/scripts/javajmstck.sh
deleted file mode 100644
index 9d279ed38e..0000000000
--- a/cc/scripts/javajmstck.sh
+++ /dev/null
@@ -1,80 +0,0 @@
-#!/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.
-#
-
-cleanup(){
- echo "kill any existing broker instance"
- stopBroker
- rm -rf $CC_HOME/jmstck-data/*
-}
-
-runBroker(){
- echo "******************************************************"
- echo "Starting C++ broker"
- ulimit -c unlimited
- $CC_HOME/cpp/src/qpidd -t -d --data-dir $CC_HOME/jmstck-data --load-module=$CPPSTORE_HOME/lib/.libs/libbdbstore.so --port 0 --auth no --log-output $CC_HOME/jmstck-broker.log --no-module-dir
- export QPID_PORT=`grep "Listening on TCP port" $CC_HOME/jmstck-broker.log | tail -n 1 | awk '{print $8}'`
- echo " broker running on port: " $QPID_PORT
- echo "******************************************************"
- sed "s/qpid_port/$QPID_PORT/g" $CC_HOME/cc/config/java/jndi.properties > "$TS_HOME/classes"/jndi.properties
-}
-
-runTck(){
- echo "******************************************************"
- echo "Starting the TCK for the $1 iteration"
- echo "******************************************************"
- cd $TS_HOME/bin
- $TS_HOME/bin/tsant runclient -Dwork.dir=work -Dreport.dir=report 2&>1 > $TS_HOME/tck$1.log
- echo "******************************************************"
- echo "TCK finished the $1 iteration"
- echo "******************************************************"
-}
-
-printResults(){
- TESTS_STR=`grep -a "\[java\] Completed running [0-9]* tests" $TS_HOME/tck$1.log`
- PASSED_STR=`grep -a "\[java\] Number of Tests Passed =" $TS_HOME/tck$1.log`
- FAILED_STR=`grep -a "Some tests did not pass" $TS_HOME/tck$1.log`
- echo "-----------------------------------------"
- echo "TCK run #$1 results:"
- echo $TESTS_STR
- echo $PASSED_STR
- echo $FAILED_STR
- if [ "$FAILED_STR" != "" ]; then
- echo "SOME TCK FAILURES DETECTED: "
- fi
- echo "------------------------------------------"
-}
-
-stopBroker(){
- echo "************************"
- echo "Stopping the C++ broker"
- echo "************************"
- $CC_HOME/cpp/src/qpidd -q -p $QPID_PORT
-}
-
-cleanup
-counter=0
-runBroker
-for j in 1 2
-do
- counter=`expr $counter + 1`
- runTck $counter
- printResults $counter
-done
-cleanup
diff --git a/cc/scripts/javareport.sh b/cc/scripts/javareport.sh
deleted file mode 100755
index 2b2469d31d..0000000000
--- a/cc/scripts/javareport.sh
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/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
diff --git a/cc/scripts/runbroker.sh b/cc/scripts/runbroker.sh
deleted file mode 100644
index 43d9b39056..0000000000
--- a/cc/scripts/runbroker.sh
+++ /dev/null
@@ -1,42 +0,0 @@
-#!/bin/sh
-###########################################################
-#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.
-###########################################################
-
-cleanup()
-{
- echo "******************************************************"
- echo "Cleanup"
- echo "******************************************************"
- for PID in `ps aux | grep 'qpidd'|grep 'broker.log'|grep -v 'grep'|awk '{ print $2 }'`
- do
- kill -9 $PID
- done
-}
-
-run_broker()
-{
- echo "******************************************************"
- echo "Starting C++ broker"
- echo "******************************************************"
- echo ""
- $CC_HOME/cpp/src/qpidd -t -d --auth no --no-data-dir --log-output $CC_HOME/broker.log
-}
-
-cleanup
-run_broker \ No newline at end of file
diff --git a/cc/scripts/stopbroker.sh b/cc/scripts/stopbroker.sh
deleted file mode 100644
index f5839e141f..0000000000
--- a/cc/scripts/stopbroker.sh
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/bin/sh
-###########################################################
-#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.
-###########################################################
-
-
-stop_broker()
-{
- echo "******************************************************"
- echo "Stopping the C++ broker"
- echo "******************************************************"
- echo ""
- $CC_HOME/cpp/src/qpidd -q
-}
-
-stop_broker \ No newline at end of file
diff --git a/cc/scripts/verify b/cc/scripts/verify
deleted file mode 100755
index 35191b17c9..0000000000
--- a/cc/scripts/verify
+++ /dev/null
@@ -1,100 +0,0 @@
-#!/bin/sh
-###########################################################
-#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.
-###########################################################
-
-export DOTNET_EXAMPLES=$CC_HOME/dotnet/client-010/bin/mono-2.0/debug
-export CLASSPATH=`find "$CC_HOME/java/build/lib" -name '*.jar' | tr '\n' ":"`
-export CPP=$CC_HOME/cpp/examples
-export JAVA=$CC_HOME/java/client/example/src/main/java
-export PYTHONPATH=$CC_HOME/python/
-export PYTHON_EXAMPLES=$CC_HOME/python/examples
-
-cleanup() {
- test -n "$QPIDD" && $QPIDD -q # Private broker
- kill %% > /dev/null 2>&1 # Leftover background jobs
-}
-
-trap cleanup EXIT
-
-ARGS="${QPID_HOST:-localhost} $QPID_PORT"
-
-outfile() {
- file=$1
- while [ -f $file.out ]; do file="${file}X"; done
- echo $file.out
- }
-
-fail() { test -n "$*" && echo $* 1>&2 ; FAIL=1; return 1; }
-
-client()
-{
- "$@" $ARGS > `outfile $*` || fail;
-}
-
-clients() { for cmd in "$@"; do client $cmd; done; }
-
-waitfor() { until grep -a -l "$2" $1 >/dev/null 2>&1 ; do sleep 1 ; done ; }
-
-background() {
- pattern=$1; shift
- out=`outfile $*`
- eval "$* $ARGS > $out &" || { fail; return 1; }
- waitfor $out "$pattern"
-}
-
-name() {
- for x in $*; do name="$name `basename $x`"; done
- echo $name;
-}
-
-outputs() {
- wait 2> /dev/null # Wait for all backgroud processes to complete
- rm -f $script.out
- for f in "$@"; do
- { echo "==== `name $f`"; eval "cat $f"; } >> $script.out || fail
- rm -rf `echo $f| awk '{ print $1 }'`
- done
-}
-
-verify() {
- FAIL=
- if [ -d $1 ]; then dir=$1; script=verify;
- else dir=`dirname $1`; script=`basename $1`; fi
- cd $dir || return 1
- rm -f *.out
- echo "Running: $dir/$script"
- { source ./$script && diff -ac $script.out $script.in ; } || fail
- test -z "$FAIL" && rm -f *.out
- return $FAIL
-}
-
-HEX="[a-fA-F0-9]"
-remove_uuid() {
- sed "s/$HEX\{8\}-$HEX\{4\}-$HEX\{4\}-$HEX\{4\}-$HEX\{12\}//g" $*
-}
-remove_uuid64() {
- sed 's/[-A-Za-z0-9_]\{22\}==//g' $*
-}
-
-
-for example in "$@"; do
- echo "Running: $example "
- if ( verify $example; ) then echo "PASS"; else echo "FAIL"; RET=1; fi
- done
-exit $RET
diff --git a/cc/scripts/verify_all b/cc/scripts/verify_all
deleted file mode 100755
index 8d3ec669a7..0000000000
--- a/cc/scripts/verify_all
+++ /dev/null
@@ -1,166 +0,0 @@
-#!/bin/sh
-###########################################################
-#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.
-###########################################################
-
-cleanup()
-{
- echo "******************************************************"
- echo "Cleanup"
- echo "******************************************************"
- for PID in `ps aux | grep 'qpidd'|grep 'broker.log'|grep -v 'grep'|awk '{ print $2 }'`
- do
- kill -9 $PID
- done
-}
-
-run_broker()
-{
- echo "******************************************************"
- echo "Starting C++ broker"
- echo "******************************************************"
- echo ""
- $CC_HOME/cpp/src/qpidd -t -d --auth no --no-data-dir --log-to-file $CC_HOME/broker.log
-}
-
-stop_broker()
-{
- echo "******************************************************"
- echo "Stopping the C++ broker"
- echo "******************************************************"
- echo ""
- $CC_HOME/cpp/src/qpidd -q
-}
-
-verify()
-{
- #echo "arg " $2 " path: " $1
- for dir in $(find $1 -mindepth 1 -maxdepth 1 -type d -not -name '*.svn' -not -name $3 )
- do
- echo $dir
- for script in $(find $dir -mindepth 1 -maxdepth 1 -type f -name $2 -not -name '*.*')
- do
- # echo "script:" $script
- cleanup
- run_broker
- $CC_HOME/cc/scripts/verify $script >> $CC_HOME/script.log 2>&1
- killall 'verify'
- stop_broker
- done
-done
-}
-
-run_python_python()
-{
-echo "-----------<Running Python/Python combination>---------"
-verify $CC_HOME/python/examples "verify" "xml-exchange"
-echo "-----------</Running Python/Python combination>---------"
-echo ""
-}
-
-
-run_cpp_cpp()
-{
-echo "-----------<Running C++/C++ combination>---------"
-verify $CC_HOME/cpp/examples "verify" "*.svn"
-echo "-----------</Running C++/C++ combination>--------"
-echo ""
-}
-
-run_python_cpp_comb()
-{
-echo "-----------<Running Python/C++ combination>---------"
-verify $CC_HOME/cpp/examples "verify_cpp_python" "*.svn"
-verify $CC_HOME/cpp/examples "verify_python_cpp" "*.svn"
-echo "-----------</Running Python/C++ combination>--------"
-echo ""
-}
-
-
-run_java_java()
-{
-echo "-----------<Running Java/Java combination>---------"
-verify $CC_HOME/java/client/example/src/main/java/org/apache/qpid/example/jmsexample "verify" "*.svn"
-echo "-----------</Running Java/Java combination>--------"
-echo ""
-}
-
-run_java_cpp_comb()
-{
-echo "-----------<Running Java/C++ combination>---------"
-verify $CC_HOME/java/client/example/src/main/java/org/apache/qpid/example/jmsexample "verify_java_cpp" "*.svn"
-verify $CC_HOME/java/client/example/src/main/java/org/apache/qpid/example/jmsexample "verify_cpp_java" "*.svn"
-echo "-----------</Running Java/C++ combination>--------"
-echo ""
-}
-
-run_java_python_comb()
-{
-echo "-----------<Running Java/Python combination>---------"
-verify $CC_HOME/java/client/example/src/main/java/org/apache/qpid/example/jmsexample "verify_java_python" "*.svn"
-verify $CC_HOME/java/client/example/src/main/java/org/apache/qpid/example/jmsexample "verify_python_java" "*.svn"
-echo "-----------</Running Java/Python combination>--------"
-echo ""
-}
-
-run_dotnet_dotnet()
-{
-echo "-----------<Running .Net/.Net combination>---------"
-verify $CC_HOME/dotnet/client-010/examples/ "verify" "*.svn"
-echo "-----------</Running .Net/.Net combination>--------"
-echo ""
-}
-
-run_cpp_dotnet()
-{
-echo "-----------<Running C++/.Net combination>---------"
-verify $CC_HOME/dotnet/client-010/examples/ "verify_cpp_dotnet" "*.svn"
-verify $CC_HOME/dotnet/client-010/examples/ "verify_dotnet_cpp" "*.svn"
-echo "-----------</Running C++/.Net combination>--------"
-echo ""
-}
-
-run_java_dotnet()
-{
-echo "-----------<Running Java/.Net combination>---------"
-verify $CC_HOME/dotnet/client-010/examples/ "verify_java_dotnet" "*.svn"
-verify $CC_HOME/dotnet/client-010/examples/ "verify_dotnet_java" "*.svn"
-echo "-----------</Running Java/.Net combination>--------"
-echo ""
-}
-
-run_python_dotnet()
-{
-echo "-----------<Running Python/.Net combination>---------"
-verify $CC_HOME/dotnet/client-010/examples/ "verify_python_dotnet" "*.svn"
-verify $CC_HOME/dotnet/client-010/examples/ "verify_dotnet_python" "*.svn"
-echo "-----------</Running Python/.Net combination>--------"
-echo ""
-}
-
-
-run_python_python
-run_python_cpp_comb
-run_cpp_cpp
-run_java_java
-run_java_cpp_comb
-run_java_python_comb
-run_dotnet_dotnet
-run_cpp_dotnet
-run_java_dotnet
-run_python_dotnet \ No newline at end of file