1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#!/usr/bin/env python
# **********************************************************************
#
# Copyright (c) 2002
# Mutable Realms, Inc.
# Huntsville, AL, USA
#
# All Rights Reserved
#
# **********************************************************************
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
testdir = os.path.join(toplevel,"test", "Freeze", "evictor")
dbdir = os.path.join(testdir, "db")
TestUtil.cleanDbDir(dbdir)
TestUtil.clientServerTestWithOptions(toplevel, "Freeze/evictor", " " + testdir, "")
sys.exit(0)
|