mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 11:43:31 +00:00
Use ExitProcess to terminate the application.
This commit is contained in:
parent
6098399a77
commit
e8f99472fb
1 changed files with 3 additions and 3 deletions
|
@ -182,7 +182,7 @@ static int run_test( const char *name )
|
|||
if (!(test = find_test( name )))
|
||||
{
|
||||
fprintf( stderr, "Fatal: test '%s' does not exist.\n", name );
|
||||
exit(1);
|
||||
ExitProcess(1);
|
||||
}
|
||||
successes = failures = todo_successes = todo_failures = 0;
|
||||
todo_level = 0;
|
||||
|
@ -211,7 +211,7 @@ int main( int argc, char **argv )
|
|||
if (!argv[1])
|
||||
{
|
||||
fprintf( stderr, "Usage: %s test_name\n", argv[0] );
|
||||
exit(1);
|
||||
ExitProcess(1);
|
||||
}
|
||||
exit( run_test(argv[1]) );
|
||||
ExitProcess( run_test(argv[1]) );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue