summaryrefslogtreecommitdiff
path: root/cpp/demo/IceBox/hello/expect.py
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2008-02-22 15:00:44 -0500
committerDwayne Boone <dwayne@zeroc.com>2008-02-22 15:00:44 -0500
commit4513e6a27094edb443500028ccfb620b3ca533db (patch)
treed15d2a379c6714988191dd311a1fc1e52901c4af /cpp/demo/IceBox/hello/expect.py
parentFixed to run against 64bit installaion (diff)
downloadice-4513e6a27094edb443500028ccfb620b3ca533db.tar.bz2
ice-4513e6a27094edb443500028ccfb620b3ca533db.tar.xz
ice-4513e6a27094edb443500028ccfb620b3ca533db.zip
Fixes to run demos against 64 bit installation
Diffstat (limited to 'cpp/demo/IceBox/hello/expect.py')
-rwxr-xr-xcpp/demo/IceBox/hello/expect.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/demo/IceBox/hello/expect.py b/cpp/demo/IceBox/hello/expect.py
index 285a686a55f..dbe177c7c3c 100755
--- a/cpp/demo/IceBox/hello/expect.py
+++ b/cpp/demo/IceBox/hello/expect.py
@@ -31,7 +31,8 @@ if demoscript.Util.defaultHost:
else:
args = ''
-# TODO: This doesn't setup LD_LIBRARY_PATH
+directory = os.path.dirname(os.path.abspath(__file__))
+demoscript.Util.addLdPath(directory)
server = demoscript.Util.spawn('%s --Ice.Config=config.icebox --Ice.PrintAdapterReady %s' % (demoscript.Util.getIceBox(), args))
server.expect('.* ready')
client = demoscript.Util.spawn('./client')