mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-06 09:35:52 +00:00
winetest: Exit with error 3 when there are test failures.
This commit is contained in:
parent
3deabed43d
commit
5fabd968d4
|
@ -1476,7 +1476,7 @@ int __cdecl main( int argc, char *argv[] )
|
|||
if (nb_filters && !exclude_tests)
|
||||
{
|
||||
run_tests( logname, outdir );
|
||||
exit(0);
|
||||
exit( failures ? 3 : 0 );
|
||||
}
|
||||
|
||||
while (!tag) {
|
||||
|
@ -1534,5 +1534,5 @@ int __cdecl main( int argc, char *argv[] )
|
|||
}
|
||||
ExitWindowsEx(EWX_SHUTDOWN | EWX_POWEROFF | EWX_FORCEIFHUNG, SHTDN_REASON_MAJOR_OTHER | SHTDN_REASON_MINOR_OTHER);
|
||||
}
|
||||
exit (0);
|
||||
exit( failures ? 3 : 0 );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue