diff options
author | Matthew Newhook <matthew@zeroc.com> | 2001-12-27 18:38:22 +0000 |
---|---|---|
committer | Matthew Newhook <matthew@zeroc.com> | 2001-12-27 18:38:22 +0000 |
commit | ca2b7f71b4133faf486a677b3744904c0f759471 (patch) | |
tree | 2ea5e06f611c338f8160a0c3bd36d069118926fe /cpp/test/IceUtil/thread/Client.cpp | |
parent | file run.py was initially added on branch IceThread. (diff) | |
download | ice-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.cpp | 38 |
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; +} |