From ca2b7f71b4133faf486a677b3744904c0f759471 Mon Sep 17 00:00:00 2001 From: Matthew Newhook Date: Thu, 27 Dec 2001 18:38:22 +0000 Subject: IceThread merge. --- cpp/test/IceUtil/thread/Client.cpp | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 cpp/test/IceUtil/thread/Client.cpp (limited to 'cpp/test/IceUtil/thread/Client.cpp') 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 + +#include +#include + +#include + +using namespace std; + +int +main(int argc, char** argv) +{ + try + { + InitializeTestSuite(); + + for (list::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; +} -- cgit v1.2.3