summaryrefslogtreecommitdiff
path: root/csharp/allTests.py
diff options
context:
space:
mode:
Diffstat (limited to 'csharp/allTests.py')
-rw-r--r--[-rwxr-xr-x]csharp/allTests.py73
1 files changed, 4 insertions, 69 deletions
diff --git a/csharp/allTests.py b/csharp/allTests.py
index 1dd37b2f83a..e4360c465d3 100755..100644
--- a/csharp/allTests.py
+++ b/csharp/allTests.py
@@ -8,74 +8,9 @@
#
# **********************************************************************
-import os, sys, re, getopt
+import os, sys
+sys.path.append(os.path.join(os.path.dirname(__file__), "..", "scripts"))
-path = [ ".", "..", "../..", "../../..", "../../../.." ]
-head = os.path.dirname(sys.argv[0])
-if len(head) > 0:
- path = [os.path.join(head, p) for p in path]
-path = [os.path.abspath(p) for p in path if os.path.exists(os.path.join(p, "scripts", "TestUtil.py")) ]
-if len(path) == 0:
- raise RuntimeError("can't find toplevel directory!")
+from Util import runTestsWithPath
-sys.path.append(os.path.join(path[0], "scripts"))
-import TestUtil
-
-#
-# List of all basic tests.
-#
-tests = [
- ("Slice/keyword", ["once"]),
- ("Slice/structure", ["once"]),
- ("Slice/macros", ["once"]),
- ("IceUtil/inputUtil", ["once"]),
- ("Ice/proxy", ["core"]),
- ("Ice/properties", ["once"]),
- ("Ice/operations", ["core"]),
- ("Ice/exceptions", ["core"]),
- ("Ice/ami", ["core", "nocompress"]),
- ("Ice/info", ["core", "noipv6", "nocompress", "nosocks", "nomono"]),
- ("Ice/inheritance", ["core"]),
- ("Ice/facets", ["core"]),
- ("Ice/hold", ["core"]),
- ("Ice/objects", ["core"]),
- ("Ice/binding", ["core"]),
- ("Ice/faultTolerance", ["core"]),
- ("Ice/location", ["core"]),
- ("Ice/adapterDeactivation", ["core"]),
- ("Ice/slicing/exceptions", ["core"]),
- ("Ice/slicing/objects", ["core"]),
- ("Ice/checksum", ["core", "nocompact"]),
- ("Ice/dispatcher", ["core"]),
- ("Ice/stream", ["core"]),
- ("Ice/retry", ["core"]),
- ("Ice/timeout", ["core", "nocompress"]),
- ("Ice/acm", ["core"]),
- ("Ice/servantLocator", ["core"]),
- ("Ice/interceptor", ["core"]),
- ("Ice/dictMapping", ["core"]),
- ("Ice/seqMapping", ["core"]),
- ("Ice/background", ["core", "nosocks"]),
- ("Ice/udp", ["core"]),
- ("Ice/defaultServant", ["core"]),
- ("Ice/defaultValue", ["core"]),
- ("Ice/threadPoolPriority", ["core", "nomono"]),
- ("Ice/invoke", ["core"]),
- ("Ice/hash", ["once"]),
- ("Ice/plugin", ["core"]),
- ("Ice/optional", ["core"]),
- ("Ice/admin", ["core"]),
- ("Ice/metrics", ["core", "nows", "noipv6", "nocompress", "nosocks"]),
- ("Ice/enums", ["core"]),
- ("Ice/serialize", ["core"]),
- ("Ice/networkProxy", ["core", "noipv6", "nosocks"]),
- ("IceBox/admin", ["core", "noipv6", "nomx"]),
- ("IceBox/configuration", ["core", "noipv6", "nomx"]),
- ("Glacier2/router", ["service"]),
- ("Glacier2/sessionHelper", ["core"]),
- ("IceGrid/simple", ["service"]),
- ("IceSSL/configuration", ["once", "novista", "nomono", "nocompact"]),
- ]
-
-if __name__ == "__main__":
- TestUtil.run(tests)
+runTestsWithPath(__file__) \ No newline at end of file