You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ac...@apache.org on 2013/07/05 19:57:21 UTC

svn commit: r1500085 - /qpid/trunk/qpid/cpp/src/tests/ha_tests.py

Author: aconway
Date: Fri Jul  5 17:57:20 2013
New Revision: 1500085

URL: http://svn.apache.org/r1500085
Log:
NO-JIRA: HA Changed output directory for ha_tests.py to avoid other testsc overwriting.

Modified:
    qpid/trunk/qpid/cpp/src/tests/ha_tests.py

Modified: qpid/trunk/qpid/cpp/src/tests/ha_tests.py
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/tests/ha_tests.py?rev=1500085&r1=1500084&r2=1500085&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/tests/ha_tests.py (original)
+++ qpid/trunk/qpid/cpp/src/tests/ha_tests.py Fri Jul  5 17:57:20 2013
@@ -1286,9 +1286,12 @@ class StoreTests(BrokerTest):
         cluster[1].assert_browse_backup("q2", ["hello", "end"])
 
 if __name__ == "__main__":
-    shutil.rmtree("brokertest.tmp", True)
+    outdir = "ha_tests.tmp"
+    shutil.rmtree(outdir, True)
     qpid_ha = os.getenv("QPID_HA_EXEC")
     if  qpid_ha and os.path.exists(qpid_ha):
-        os.execvp("qpid-python-test", ["qpid-python-test", "-m", "ha_tests"] + sys.argv[1:])
+        os.execvp("qpid-python-test",
+                  ["qpid-python-test", "-m", "ha_tests", "-DOUTDIR=%s"%outdir]
+                  + sys.argv[1:])
     else:
         print "Skipping ha_tests, %s not available"%(qpid_ha)



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org