qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acon...@apache.org
Subject svn commit: r881878 - /qpid/trunk/qpid/python/qpid/brokertest.py
Date Wed, 18 Nov 2009 18:58:36 GMT
Author: aconway
Date: Wed Nov 18 18:58:35 2009
New Revision: 881878

URL: http://svn.apache.org/viewvc?rev=881878&view=rev
Log:
Provide default for brokertest.py OUTDIR define.

Modified:
    qpid/trunk/qpid/python/qpid/brokertest.py

Modified: qpid/trunk/qpid/python/qpid/brokertest.py
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/python/qpid/brokertest.py?rev=881878&r1=881877&r2=881878&view=diff
==============================================================================
--- qpid/trunk/qpid/python/qpid/brokertest.py (original)
+++ qpid/trunk/qpid/python/qpid/brokertest.py Wed Nov 18 18:58:35 2009
@@ -245,12 +245,13 @@
     receiver_exec = os.getenv("RECEIVER_EXEC")
     sender_exec = os.getenv("SENDER_EXEC")
     store_lib = os.getenv("STORE_LIB")
-    
     rootdir = os.getcwd()
+
     def configure(self, config): self.config=config
     
     def setUp(self):
-        self.dir = os.path.join(self.rootdir, self.config.defines["OUTDIR"], self.id())
+        outdir = self.config.defines.get("OUTDIR") or "brokertest.tmp"
+        self.dir = os.path.join(self.rootdir, outdir, self.id())
         os.makedirs(self.dir)
         os.chdir(self.dir)
         self.stopem = []                # things to stop at end of test



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org


Mime
View raw message