summaryrefslogtreecommitdiff
path: root/cpp/test/IceUtil/thread/Client.cpp
diff options
context:
space:
mode:
authorMatthew Newhook <matthew@zeroc.com>2001-12-27 18:38:22 +0000
committerMatthew Newhook <matthew@zeroc.com>2001-12-27 18:38:22 +0000
commitca2b7f71b4133faf486a677b3744904c0f759471 (patch)
tree2ea5e06f611c338f8160a0c3bd36d069118926fe /cpp/test/IceUtil/thread/Client.cpp
parentfile run.py was initially added on branch IceThread. (diff)
downloadice-ca2b7f71b4133faf486a677b3744904c0f759471.tar.bz2
ice-ca2b7f71b4133faf486a677b3744904c0f759471.tar.xz
ice-ca2b7f71b4133faf486a677b3744904c0f759471.zip
IceThread merge.
Diffstat (limited to 'cpp/test/IceUtil/thread/Client.cpp')
-rw-r--r--cpp/test/IceUtil/thread/Client.cpp38
1 files changed, 38 insertions, 0 deletions
diff --git a/cpp/test/IceUtil/thread/Client.cpp b/cpp/test/IceUtil/thread/Client.cpp
new file mode 100644
index 00000000000..42299510068
--- /dev/null
+++ b/cpp/test/IceUtil/thread/Client.cpp
@@ -0,0 +1,38 @@
+// **********************************************************************
+//
+// Copyright (c) 2001
+// MutableRealms, Inc.
+// Huntsville, AL, USA
+//
+// All Rights Reserved
+//
+// **********************************************************************
+
+#include <IceUtil/IceUtil.h>
+
+#include <stdlib.h>
+#include <TestCommon.h>
+
+#include <TestSuite.h>
+
+using namespace std;
+
+int
+main(int argc, char** argv)
+{
+ try
+ {
+ InitializeTestSuite();
+
+ for (list<TestBasePtr>::const_iterator p = allTests.begin(); p != allTests.end(); ++p)
+ {
+ (*p)->start();
+ }
+ }
+ catch(const TestFailed& e)
+ {
+ cout << "test " << e.name << " failed" << endl;
+ return EXIT_FAILURE;
+ }
+ return EXIT_SUCCESS;
+}