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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
|
#!/usr/bin/env python
# **********************************************************************
#
# Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved.
#
# This copy of Ice is licensed to you under the terms described in the
# ICE_LICENSE file included in this distribution.
#
# **********************************************************************
import os, sys, re, getopt
for toplevel in [".", "..", "../..", "../../..", "../../../.."]:
toplevel = os.path.abspath(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
#
# List of all basic tests.
#
tests = [
"IceUtil/thread",
"IceUtil/unicode",
"IceUtil/inputUtil",
"IceUtil/uuid",
"IceUtil/timer",
"Slice/errorDetection",
"Slice/keyword",
"Ice/proxy",
"Ice/operations",
"Ice/exceptions",
"Ice/inheritance",
"Ice/facets",
"Ice/objects",
"Ice/binding",
"Ice/faultTolerance",
"Ice/location",
"Ice/adapterDeactivation",
"Ice/slicing/exceptions",
"Ice/slicing/objects",
"Ice/gc",
"Ice/checksum",
"Ice/stream",
"Ice/hold",
"Ice/custom",
"Ice/retry",
"Ice/timeout",
"Ice/background",
"Ice/servantLocator",
"Ice/threads",
"Ice/interceptor",
"Ice/stringConverter",
"IceSSL/configuration",
"IceBox/configuration",
"Freeze/dbmap",
"Freeze/complex",
"Freeze/evictor",
"Freeze/oldevictor",
"IceStorm/single",
"IceStorm/federation",
"IceStorm/federation2",
"IceStorm/stress",
"FreezeScript/dbmap",
"FreezeScript/evictor",
"IceGrid/simple",
"IceGrid/deployer",
"IceGrid/session",
"IceGrid/update",
"IceGrid/activation",
"IceGrid/replicaGroup",
"IceGrid/replication",
"IceGrid/allocation",
"IceGrid/distribution",
"Glacier2/router",
"Glacier2/attack",
"Glacier2/sessionControl",
"Glacier2/ssl",
"Glacier2/dynamicFiltering",
"Glacier2/staticFiltering",
]
#
# These tests are currently disabled on cygwin
#
if TestUtil.isCygwin() == 0:
tests += [
]
if TestUtil.isWin32():
tests.insert(0, "IceUtil/condvar")
if __name__ == "__main__":
TestUtil.run(tests)
|