[conduit: 53/138] If temporary test directory doesnt exist, create it



commit 38850caccc4cc349ef3ab408f98a80b46b9d91e2
Author: John Carr <john carr unrouted co uk>
Date:   Thu Apr 30 03:16:15 2009 -0700

    If temporary test directory doesnt exist, create it
---
 test/soup/soup |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/test/soup/soup b/test/soup/soup
index effe5c9..9a4ce35 100755
--- a/test/soup/soup
+++ b/test/soup/soup
@@ -5,6 +5,8 @@ testsdir = os.path.abspath(os.path.join(os.path.dirname(__file__), ".."))
 sys.path.insert(0, testsdir)
 
 os.environ['TEST_DIRECTORY'] = 'tmp'
+if not os.path.exists('tmp'):
+    os.mkdir('tmp')
 
 from test_datatypes import *
 from test_dataprovider import *



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]