diff options
Diffstat (limited to 'cpp/test/Ice/exceptions/run.py')
-rwxr-xr-x | cpp/test/Ice/exceptions/run.py | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/cpp/test/Ice/exceptions/run.py b/cpp/test/Ice/exceptions/run.py new file mode 100755 index 00000000000..c6390222383 --- /dev/null +++ b/cpp/test/Ice/exceptions/run.py @@ -0,0 +1,26 @@ +#!/usr/bin/env python +# ********************************************************************** +# +# Copyright (c) 2001 +# MutableRealms, Inc. +# Huntsville, AL, USA +# +# All Rights Reserved +# +# ********************************************************************** + +import os, sys + +for toplevel in ["", "..", os.path.join("..", ".."), os.path.join("..", "..", "..")]: + 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(1) |