summaryrefslogtreecommitdiff
path: root/cc/scripts
diff options
context:
space:
mode:
authorArnaud Simon <arnaudsimon@apache.org>2008-10-17 12:51:51 +0000
committerArnaud Simon <arnaudsimon@apache.org>2008-10-17 12:51:51 +0000
commitbbe6b77c704a48bdf01b914247248d1b8e34adf8 (patch)
treea18b3ef7f8aa9147d1a5a80a43453ef75289cfaf /cc/scripts
parentfe0bad48019f95f1f1f23454389aa5b7795b8aa7 (diff)
downloadqpid-python-bbe6b77c704a48bdf01b914247248d1b8e34adf8.tar.gz
qpid-1371: added .net cc support + cc .net interop support
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@705588 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cc/scripts')
-rw-r--r--cc/scripts/dotnetbuild.sh21
-rwxr-xr-xcc/scripts/verify2
-rwxr-xr-xcc/scripts/verify_all42
3 files changed, 64 insertions, 1 deletions
diff --git a/cc/scripts/dotnetbuild.sh b/cc/scripts/dotnetbuild.sh
new file mode 100644
index 0000000000..51d2110757
--- /dev/null
+++ b/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/cc/scripts/verify b/cc/scripts/verify
index c183fee323..35191b17c9 100755
--- a/cc/scripts/verify
+++ b/cc/scripts/verify
@@ -18,6 +18,7 @@
#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
@@ -77,6 +78,7 @@ 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
diff --git a/cc/scripts/verify_all b/cc/scripts/verify_all
index fcb38f3709..8d3ec669a7 100755
--- a/cc/scripts/verify_all
+++ b/cc/scripts/verify_all
@@ -35,7 +35,7 @@ run_broker()
echo "Starting C++ broker"
echo "******************************************************"
echo ""
- $CC_HOME/cpp/src/qpidd -t -d --auth no --no-data-dir --log-output $CC_HOME/broker.log
+ $CC_HOME/cpp/src/qpidd -t -d --auth no --no-data-dir --log-to-file $CC_HOME/broker.log
}
stop_broker()
@@ -118,9 +118,49 @@ 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