rpcrt4/tests: Wrap a try/except block around tests.

This commit is contained in:
Dan Hipschman 2007-06-25 18:25:57 -07:00 committed by Alexandre Julliard
parent 704f2868ed
commit 076a6206ff
1 changed files with 11 additions and 1 deletions

View File

@ -677,7 +677,17 @@ START_TEST(server)
progname = argv[0];
if (argc == 3)
client(argv[2]);
{
RpcTryExcept
{
client(argv[2]);
}
RpcExcept(TRUE)
{
trace("Exception %d\n", RpcExceptionCode());
}
RpcEndExcept
}
else
server();
}