diff options
author | Mark Spruiell <mes@zeroc.com> | 2004-04-27 20:08:00 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2004-04-27 20:08:00 +0000 |
commit | 2f85689f3350120e095a4be96050722ffb3cb41f (patch) | |
tree | 4f2aee2ef8b716564971ab1b1cb21ffb44c13b44 /cpp/test/Freeze/cursor/run.py | |
parent | removed slice2wsdl; minor edits (diff) | |
download | ice-2f85689f3350120e095a4be96050722ffb3cb41f.tar.bz2 ice-2f85689f3350120e095a4be96050722ffb3cb41f.tar.xz ice-2f85689f3350120e095a4be96050722ffb3cb41f.zip |
no longer relevant
Diffstat (limited to 'cpp/test/Freeze/cursor/run.py')
-rwxr-xr-x | cpp/test/Freeze/cursor/run.py | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/cpp/test/Freeze/cursor/run.py b/cpp/test/Freeze/cursor/run.py deleted file mode 100755 index eb4c6067002..00000000000 --- a/cpp/test/Freeze/cursor/run.py +++ /dev/null @@ -1,47 +0,0 @@ -#!/usr/bin/env python -# ********************************************************************** -# -# Copyright (c) 2003 -# ZeroC, Inc. -# Billerica, MA, USA -# -# All Rights Reserved. -# -# Ice is free software; you can redistribute it and/or modify it under -# the terms of the GNU General Public License version 2 as published by -# the Free Software Foundation. -# -# ********************************************************************** - -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("Freeze", "cursor") -testdir = os.path.join(toplevel, "test", name) - -dbdir = os.path.join(testdir, "db") -TestUtil.cleanDbDir(dbdir) - -client = os.path.join(testdir, "client") - -print "starting client...", -clientPipe = os.popen(client + TestUtil.clientOptions + " " + testdir) -print "ok" - -TestUtil.printOutputFromPipe(clientPipe) - -clientStatus = clientPipe.close() - -if clientStatus: - sys.exit(1) - -sys.exit(0) |