summaryrefslogtreecommitdiff
path: root/java/testkit/bin/qpid-python-testkit
diff options
context:
space:
mode:
authorRajith Muditha Attapattu <rajith@apache.org>2009-11-18 19:36:38 +0000
committerRajith Muditha Attapattu <rajith@apache.org>2009-11-18 19:36:38 +0000
commit6a87d58f628d6939b894f55d031025bb3950f8b8 (patch)
tree56323901d91a3ff5949216ca216c978aecbd7770 /java/testkit/bin/qpid-python-testkit
parentbe74dd0398378f3b28d8f63675d3a45e8829a1e1 (diff)
downloadqpid-python-6a87d58f628d6939b894f55d031025bb3950f8b8.tar.gz
Added log4j config to the test launcher
Added shell script to run testkit.py Removed brokertest.py, instead using the version checked in under python/qpid folder by Alan. The shell scripts and the setup is work in progress, checking in now to help Alan reproduce an issue. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@881896 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/testkit/bin/qpid-python-testkit')
-rwxr-xr-xjava/testkit/bin/qpid-python-testkit32
1 files changed, 32 insertions, 0 deletions
diff --git a/java/testkit/bin/qpid-python-testkit b/java/testkit/bin/qpid-python-testkit
new file mode 100755
index 0000000000..3584e14d88
--- /dev/null
+++ b/java/testkit/bin/qpid-python-testkit
@@ -0,0 +1,32 @@
+#!/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
+
+echo $PYTHONPATH
+
+$PYTHON_DIR/qpid-python-test -m testkit
+