summaryrefslogtreecommitdiff
path: root/python/qpid/brokertest.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/qpid/brokertest.py')
-rw-r--r--python/qpid/brokertest.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/python/qpid/brokertest.py b/python/qpid/brokertest.py
index 01372bb802..cea976652f 100644
--- a/python/qpid/brokertest.py
+++ b/python/qpid/brokertest.py
@@ -245,12 +245,13 @@ class BrokerTest(TestCase):
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