summaryrefslogtreecommitdiff
path: root/java/tools/bin/qpid-python-testkit
diff options
context:
space:
mode:
authorRajith Muditha Attapattu <rajith@apache.org>2010-11-08 16:59:33 +0000
committerRajith Muditha Attapattu <rajith@apache.org>2010-11-08 16:59:33 +0000
commit0670a9c4c71dcde4dcf08a9bf489bc84e22cec3f (patch)
tree61936bb33a0370805900afa50ea99261c44edadc /java/tools/bin/qpid-python-testkit
parent44aee33cb26d852b5e5d1bbd079472cb693a2b75 (diff)
downloadqpid-python-0670a9c4c71dcde4dcf08a9bf489bc84e22cec3f.tar.gz
Moved the testkit scripts under the tools module.
I will be moving the source also into the tools module in subsequent commit. The goal is to have all tools in a single location. The perftest script and the testkit script are very good tools for release testing. These scripts will also be used in downstream packages for the same purpose. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1032640 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/tools/bin/qpid-python-testkit')
-rwxr-xr-xjava/tools/bin/qpid-python-testkit30
1 files changed, 30 insertions, 0 deletions
diff --git a/java/tools/bin/qpid-python-testkit b/java/tools/bin/qpid-python-testkit
new file mode 100755
index 0000000000..2c1d015281
--- /dev/null
+++ b/java/tools/bin/qpid-python-testkit
@@ -0,0 +1,30 @@
+#!/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.
+#
+
+# This is wrapper script to run the tests defined in testkit.py
+# via the python test runner. The defaults are set for a running
+# from an svn checkout
+
+. ./setenv.sh
+
+export PYTHONPATH=../:$PYTHONPATH
+rm -rf $OUTDIR
+$PYTHON_DIR/qpid-python-test -DOUTDIR=$OUTDIR -m testkit "$@"
+