From 5637dc8057652693c9dcc59f1ecefe2e63163b7e Mon Sep 17 00:00:00 2001 From: Rajith Muditha Attapattu Date: Mon, 8 Nov 2010 16:59:33 +0000 Subject: 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@1032640 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/java/tools/bin/qpid-python-testkit | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100755 qpid/java/tools/bin/qpid-python-testkit (limited to 'qpid/java/tools/bin/qpid-python-testkit') diff --git a/qpid/java/tools/bin/qpid-python-testkit b/qpid/java/tools/bin/qpid-python-testkit new file mode 100755 index 0000000000..2c1d015281 --- /dev/null +++ b/qpid/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 "$@" + -- cgit v1.2.1 From 96b2f628f109da59028174d497d277e4f6a4fa39 Mon Sep 17 00:00:00 2001 From: Rajith Muditha Attapattu Date: Wed, 10 Nov 2010 17:08:23 +0000 Subject: Fixed minor errors in the scripts git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1033592 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/java/tools/bin/qpid-python-testkit | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'qpid/java/tools/bin/qpid-python-testkit') diff --git a/qpid/java/tools/bin/qpid-python-testkit b/qpid/java/tools/bin/qpid-python-testkit index 2c1d015281..cbe7972421 100755 --- a/qpid/java/tools/bin/qpid-python-testkit +++ b/qpid/java/tools/bin/qpid-python-testkit @@ -22,9 +22,9 @@ # via the python test runner. The defaults are set for a running # from an svn checkout -. ./setenv.sh +. ./set-testkit-env.sh -export PYTHONPATH=../:$PYTHONPATH +export PYTHONPATH=./:$PYTHONPATH rm -rf $OUTDIR -$PYTHON_DIR/qpid-python-test -DOUTDIR=$OUTDIR -m testkit "$@" +qpid-python-test -DOUTDIR=$OUTDIR -m testkit "$@" -- cgit v1.2.1