diff options
Diffstat (limited to 'qpid/cc/scripts')
-rwxr-xr-x | qpid/cc/scripts/bdbstorecppbuild.sh | 24 | ||||
-rw-r--r-- | qpid/cc/scripts/build.xml | 30 | ||||
-rwxr-xr-x | qpid/cc/scripts/check_examples.sh | 69 | ||||
-rwxr-xr-x | qpid/cc/scripts/cppbuild-perftests.sh | 23 | ||||
-rwxr-xr-x | qpid/cc/scripts/cppbuild.sh | 21 | ||||
-rw-r--r-- | qpid/cc/scripts/dotnetbuild.sh | 21 | ||||
-rwxr-xr-x | qpid/cc/scripts/javaconfig.sh | 27 | ||||
-rw-r--r-- | qpid/cc/scripts/javajmstck.sh | 80 | ||||
-rwxr-xr-x | qpid/cc/scripts/javareport.sh | 25 | ||||
-rw-r--r-- | qpid/cc/scripts/runbroker.sh | 42 | ||||
-rw-r--r-- | qpid/cc/scripts/stopbroker.sh | 31 | ||||
-rwxr-xr-x | qpid/cc/scripts/verify | 100 | ||||
-rwxr-xr-x | qpid/cc/scripts/verify_all | 166 |
13 files changed, 659 insertions, 0 deletions
diff --git a/qpid/cc/scripts/bdbstorecppbuild.sh b/qpid/cc/scripts/bdbstorecppbuild.sh new file mode 100755 index 0000000000..3385c8d2f4 --- /dev/null +++ b/qpid/cc/scripts/bdbstorecppbuild.sh @@ -0,0 +1,24 @@ +#!/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/qpid/cc/scripts/build.xml b/qpid/cc/scripts/build.xml new file mode 100644 index 0000000000..2144020017 --- /dev/null +++ b/qpid/cc/scripts/build.xml @@ -0,0 +1,30 @@ +<!-- +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/qpid/cc/scripts/check_examples.sh b/qpid/cc/scripts/check_examples.sh new file mode 100755 index 0000000000..c10936b36c --- /dev/null +++ b/qpid/cc/scripts/check_examples.sh @@ -0,0 +1,69 @@ +#!/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/qpid/cc/scripts/cppbuild-perftests.sh b/qpid/cc/scripts/cppbuild-perftests.sh new file mode 100755 index 0000000000..782a472175 --- /dev/null +++ b/qpid/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/qpid/cc/scripts/cppbuild.sh b/qpid/cc/scripts/cppbuild.sh new file mode 100755 index 0000000000..b63feb7141 --- /dev/null +++ b/qpid/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/qpid/cc/scripts/dotnetbuild.sh b/qpid/cc/scripts/dotnetbuild.sh new file mode 100644 index 0000000000..51d2110757 --- /dev/null +++ b/qpid/cc/scripts/dotnetbuild.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. +########################################################### + +mono $NANT_HOME/bin/NAnt.exe test
\ No newline at end of file diff --git a/qpid/cc/scripts/javaconfig.sh b/qpid/cc/scripts/javaconfig.sh new file mode 100755 index 0000000000..7a1a3a1a7d --- /dev/null +++ b/qpid/cc/scripts/javaconfig.sh @@ -0,0 +1,27 @@ +#!/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/qpid/cc/scripts/javajmstck.sh b/qpid/cc/scripts/javajmstck.sh new file mode 100644 index 0000000000..9d279ed38e --- /dev/null +++ b/qpid/cc/scripts/javajmstck.sh @@ -0,0 +1,80 @@ +#!/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/qpid/cc/scripts/javareport.sh b/qpid/cc/scripts/javareport.sh new file mode 100755 index 0000000000..2b2469d31d --- /dev/null +++ b/qpid/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 diff --git a/qpid/cc/scripts/runbroker.sh b/qpid/cc/scripts/runbroker.sh new file mode 100644 index 0000000000..43d9b39056 --- /dev/null +++ b/qpid/cc/scripts/runbroker.sh @@ -0,0 +1,42 @@ +#!/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/qpid/cc/scripts/stopbroker.sh b/qpid/cc/scripts/stopbroker.sh new file mode 100644 index 0000000000..f5839e141f --- /dev/null +++ b/qpid/cc/scripts/stopbroker.sh @@ -0,0 +1,31 @@ +#!/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/qpid/cc/scripts/verify b/qpid/cc/scripts/verify new file mode 100755 index 0000000000..35191b17c9 --- /dev/null +++ b/qpid/cc/scripts/verify @@ -0,0 +1,100 @@ +#!/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/qpid/cc/scripts/verify_all b/qpid/cc/scripts/verify_all new file mode 100755 index 0000000000..8d3ec669a7 --- /dev/null +++ b/qpid/cc/scripts/verify_all @@ -0,0 +1,166 @@ +#!/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 |