From b350b65a5be2b2b320953edb2d0283bbac7909eb Mon Sep 17 00:00:00 2001 From: Marc Laukien Date: Tue, 21 Aug 2001 19:53:51 +0000 Subject: Ice.PrintProcessId, run.py cleanup --- cpp/test/Ice/exceptions/run.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'cpp/test/Ice/exceptions/run.py') diff --git a/cpp/test/Ice/exceptions/run.py b/cpp/test/Ice/exceptions/run.py index c6390222383..2873635c052 100755 --- a/cpp/test/Ice/exceptions/run.py +++ b/cpp/test/Ice/exceptions/run.py @@ -11,16 +11,16 @@ import os, sys -for toplevel in ["", "..", os.path.join("..", ".."), os.path.join("..", "..", "..")]: - if os.path.exists(os.path.join(toplevel, "config", "TestUtil.py")): +for toplevel in [".", "..", "../..", "../../..", "../../../.."]: + if os.path.exists(os.path.normpath(toplevel + "/config/TestUtil.py")): break else: raise "can't find toplevel directory!" -sys.path.append(os.path.join(toplevel, "config")) +sys.path.append(os.path.normpath(toplevel + "/config")) import TestUtil -name = os.path.join("Ice", "exceptions") +name = "Ice/exceptions" TestUtil.clientServerTest(toplevel, name) TestUtil.collocatedTest(toplevel, name) sys.exit(1) -- cgit v1.2.3