diff options
author | Brent Eagles <brent@zeroc.com> | 2007-11-07 14:59:34 -0330 |
---|---|---|
committer | Brent Eagles <brent@zeroc.com> | 2007-11-07 14:59:34 -0330 |
commit | 676286717393ad5a1dfecac80022ce85cd503711 (patch) | |
tree | fbf5f846218fcac6de115bea01fe1572d309d0c2 /cpp/test/IceGrid/distribution/run.py | |
parent | - Fixing bug 2522 for Python. This involved adding the C++ class (diff) | |
download | ice-676286717393ad5a1dfecac80022ce85cd503711.tar.bz2 ice-676286717393ad5a1dfecac80022ce85cd503711.tar.xz ice-676286717393ad5a1dfecac80022ce85cd503711.zip |
- Moved cpp/slice to slice
- Merged all TestUtil.py modules to config/TestUtil.py
- Moved all certs to config/certs
- Updated test scripts to refer to new TestUtil.py module and use new
interfaces
- Updated build systems to refer to new slice location
- Moved cpp/install to distribution
- Moved and merged all IceGridAdmin.py modules to config.
- Modified build system to deal with new build logic. That is there are
3 basic ways to find the slice translators and runtime: ICE_HOME, an
RPM install and the source distribution. Automatically detecting Ice
in a default install location is now problematic and no longer done.
Diffstat (limited to 'cpp/test/IceGrid/distribution/run.py')
-rwxr-xr-x | cpp/test/IceGrid/distribution/run.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/cpp/test/IceGrid/distribution/run.py b/cpp/test/IceGrid/distribution/run.py index 1e27b744862..481c0dbb926 100755 --- a/cpp/test/IceGrid/distribution/run.py +++ b/cpp/test/IceGrid/distribution/run.py @@ -23,7 +23,7 @@ import IceGridAdmin def icepatch2Calc(datadir, dirname): - icePatch2Calc = os.path.join(toplevel, "bin", "icepatch2calc") + icePatch2Calc = os.path.join(TestUtil.getBinDir(__file__), "icepatch2calc") commandPipe = os.popen(icePatch2Calc + " " + os.path.join(datadir, dirname) + " 2>&1") TestUtil.printOutputFromPipe(commandPipe) @@ -33,7 +33,8 @@ def icepatch2Calc(datadir, dirname): sys.exit(1) name = os.path.join("IceGrid", "distribution") -testdir = os.path.join(toplevel, "test", name) + +testdir = os.path.dirname(os.path.abspath(__file__)) datadir = os.path.join(testdir, "data") files = [ \ @@ -66,7 +67,7 @@ icepatch2Calc(datadir, "original") icepatch2Calc(datadir, "updated") print "ok" -IceGridAdmin.iceGridTest(name, "application.xml", "") +IceGridAdmin.iceGridTest(testdir, name, "application.xml", "") IceGridAdmin.cleanDbDir(datadir) os.rmdir(datadir) |