summaryrefslogtreecommitdiff
path: root/qpid/python/run-tests
diff options
context:
space:
mode:
authorRafael H. Schloming <rhs@apache.org>2008-03-07 16:57:43 +0000
committerRafael H. Schloming <rhs@apache.org>2008-03-07 16:57:43 +0000
commitb61f65b395e220c76ee207d1ce42ed474571d5e5 (patch)
treeaecaf1611d3bb3b1c7c6a0d5ac4cf72cdab46498 /qpid/python/run-tests
parent791cd5a65e193ad4a1645065256a244ee238e9e4 (diff)
downloadqpid-python-b61f65b395e220c76ee207d1ce42ed474571d5e5.tar.gz
added session.sync(); session.auto_sync; made transfers not auto-complete; fixed bug in RangedSet
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@634744 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/python/run-tests')
-rwxr-xr-xqpid/python/run-tests10
1 files changed, 9 insertions, 1 deletions
diff --git a/qpid/python/run-tests b/qpid/python/run-tests
index 90c0200d01..7efe5523df 100755
--- a/qpid/python/run-tests
+++ b/qpid/python/run-tests
@@ -18,9 +18,17 @@
# under the License.
#
-import sys
+import sys, logging
from qpid.testlib import testrunner
+if "-v" in sys.argv:
+ level = logging.DEBUG
+else:
+ level = logging.WARN
+
+format = "%(asctime)s %(name)-12s %(levelname)-8s %(message)s"
+logging.basicConfig(level=level, format=format, datefmt='%H:%M:%S')
+
if not testrunner.run(): sys.exit(1)