summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/Notify/Driver/main.cpp
blob: ccdaceaccb243caa38fdae4034621535625f0d43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
//$Id$

#include "../lib/Driver.h"
#include "ace/OS_main.h"

int
ACE_TMAIN(int argc, ACE_TCHAR *argv[])
{
  TAO_Notify_Tests_Driver driver;

  try
    {
      int result = driver.init (argc, argv);

      if (result == -1)
          ACE_ERROR_RETURN ((LM_ERROR,
                             ACE_TEXT("Failed to initialize the Notify Testing Driver.\n")),
                            1);

      driver.run ();
    }
  catch (const CORBA::Exception& ex)
    {
      ex._tao_print_exception (ACE_TEXT("Error: \n"));
      return 1;
    }

  return 0;
}