blob: 5528afc167a4f81c88794c6251bf522b54a6013a (
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"
int
ACE_TMAIN (int argc, char *argv[])
{
TAO_Notify_Tests_Driver driver;
ACE_TRY_NEW_ENV
{
if (driver.init (argc, argv ACE_ENV_ARG_PARAMETER) == -1)
ACE_ERROR_RETURN ((LM_ERROR,
ACE_LIB_TEXT("Failed to initialize the Notify Testing Driver.\n")),
1);
driver.run (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
}
ACE_CATCHANY
{
ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION,
ACE_LIB_TEXT("Failed to run the Notify Testing Driver\n"));
return 1;
}
ACE_ENDTRY;
return 0;
}
|