From a085c8b6b0bb219a3d65784f6fb7441ca0cbd7a3 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Sat, 24 May 2008 16:11:31 +0000 Subject: [PATCH] running the tests with different values for TESTS_SVNPATH on the same box was failing --- system/TestPlc.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/system/TestPlc.py b/system/TestPlc.py index ca5045c..efb7776 100644 --- a/system/TestPlc.py +++ b/system/TestPlc.py @@ -280,10 +280,12 @@ class TestPlc: ### install def install(self): - # we need build dir for vtest-init-vserver if self.is_local(): # a full path for the local calls - build_dir=os.path.dirname(sys.argv[0])+"/build" + build_dir=os.path.dirname(sys.argv[0]) + # sometimes this is empty - set to "." in such a case + if not build_dir: build_dir="." + build_dir += "/build" else: # use a standard name - will be relative to remote buildname build_dir="build" -- 2.47.0