diff options
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) |