summaryrefslogtreecommitdiff
path: root/cpp/allDemos.py
diff options
context:
space:
mode:
authorMatthew Newhook <matthew@zeroc.com>2015-03-18 12:58:16 -0230
committerMatthew Newhook <matthew@zeroc.com>2015-03-18 12:58:16 -0230
commit9b7668c7c92cf9cb311fe444cdddb489cd2a219d (patch)
tree5016567c58c81f5654e9d01935e199c6bf4761d2 /cpp/allDemos.py
parentVS add-in & build updates: (diff)
downloadice-9b7668c7c92cf9cb311fe444cdddb489cd2a219d.tar.bz2
ice-9b7668c7c92cf9cb311fe444cdddb489cd2a219d.tar.xz
ice-9b7668c7c92cf9cb311fe444cdddb489cd2a219d.zip
Removed demos.
Moved demoscript to distribution.
Diffstat (limited to 'cpp/allDemos.py')
-rwxr-xr-xcpp/allDemos.py86
1 files changed, 0 insertions, 86 deletions
diff --git a/cpp/allDemos.py b/cpp/allDemos.py
deleted file mode 100755
index 69dcd963bb6..00000000000
--- a/cpp/allDemos.py
+++ /dev/null
@@ -1,86 +0,0 @@
-#!/usr/bin/env python
-# **********************************************************************
-#
-# Copyright (c) 2003-2015 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
-
-for toplevel in [".", "..", "../..", "../../..", "../../../.."]:
- toplevel = os.path.abspath(toplevel)
- if os.path.exists(os.path.join(toplevel, "demoscript")):
- break
-else:
- raise RuntimeError("can't find toplevel directory!")
-
-sys.path.append(os.path.join(toplevel))
-from demoscript import Util
-
-#
-# List of all basic demos.
-#
-demos = [
- "IceUtil/workqueue",
- "Ice/async",
- "Ice/bidir",
- "Ice/callback",
- "Ice/context",
- "Ice/converter",
- "Ice/hello",
- "Ice/interleaved",
- "Ice/invoke",
- "Ice/latency",
- "Ice/minimal",
- "Ice/multicast",
- "Ice/nested",
- "Ice/nrvo",
- "Ice/optional",
- "Ice/plugin",
- "Ice/properties",
- "Ice/session",
- "Ice/throughput",
- "Ice/value",
- "IceDiscovery/hello",
- "IceDiscovery/replication",
- "IceStorm/clock",
- "IceBox/hello",
- "IceStorm/counter",
- "IceStorm/replicated2",
- "IceGrid/allocate",
- "IceStorm/replicated",
- "IceGrid/icebox",
- "IceGrid/replication",
- "IceGrid/sessionActivation",
- "IceGrid/secure",
- "IceGrid/simple",
- "Glacier2/chat",
- "Glacier2/callback",
- "Freeze/bench",
- "Freeze/customEvictor",
- "Freeze/phonebook",
- "Freeze/library",
- "Freeze/transform",
- "Freeze/casino",
- "Manual/map_filesystem",
- "Manual/evictor_filesystem",
- "Manual/simple_filesystem",
- "Manual/printer",
- "Manual/lifecycle"]
-
-#
-# Freeze backup doesn't work on x86 multiarch because it require to use x86 db tools that are
-# currently not available for x64 distributions.
-#
-if not (Util.isLinux64() and
- Util.isLinux32BitExe(os.path.join(os.path.dirname(os.path.abspath(__file__)), "demo/Freeze/backup/client"))):
- demos += ["Freeze/backup"]
-
-if not "--c++11" in sys.argv and not "--x86" in sys.argv:
- demos += ["IceGrid/customLoadBalancing"]
-
-if __name__ == "__main__":
- Util.run(demos)