diff options
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; +} |