diff options
author | Mark Spruiell <mes@zeroc.com> | 2002-02-15 20:08:16 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2002-02-15 20:08:16 +0000 |
commit | 44f8d10d4afd24410bd20870001324cb8118954b (patch) | |
tree | 2671934215d3ab04c649605b12bbad8316de872b /java/test/Ice/exceptions/run.py | |
parent | Tested, still problems with Glacier, everything else seems fine. (diff) | |
download | ice-44f8d10d4afd24410bd20870001324cb8118954b.tar.bz2 ice-44f8d10d4afd24410bd20870001324cb8118954b.tar.xz ice-44f8d10d4afd24410bd20870001324cb8118954b.zip |
adding test scripts
Diffstat (limited to 'java/test/Ice/exceptions/run.py')
-rwxr-xr-x | java/test/Ice/exceptions/run.py | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/java/test/Ice/exceptions/run.py b/java/test/Ice/exceptions/run.py new file mode 100755 index 00000000000..cf4e4c70ca7 --- /dev/null +++ b/java/test/Ice/exceptions/run.py @@ -0,0 +1,28 @@ +#!/usr/bin/env python +# ********************************************************************** +# +# Copyright (c) 2001 +# MutableRealms, Inc. +# Huntsville, AL, USA +# +# All Rights Reserved +# +# ********************************************************************** + +import os, sys + +for toplevel in [".", "..", "../..", "../../..", "../../../.."]: + toplevel = os.path.normpath(toplevel) + if os.path.exists(os.path.join(toplevel, "config", "TestUtil.py")): + break +else: + raise "can't find toplevel directory!" + +sys.path.append(os.path.join(toplevel, "config")) +import TestUtil + +name = os.path.join("Ice", "exceptions") + +TestUtil.clientServerTest(toplevel, name) +TestUtil.collocatedTest(toplevel, name) +sys.exit(0) |