Make running tests on a visible desktop a mandatory requirement.

This commit is contained in:
Dmitry Timoshkov 2005-03-08 18:58:58 +00:00 committed by Alexandre Julliard
parent ca6cb6b08b
commit b486324059
1 changed files with 5 additions and 0 deletions

View File

@ -547,6 +547,11 @@ int WINAPI WinMain (HINSTANCE hInst, HINSTANCE hPrevInst,
const char *cp, *submit = NULL, *tag = NULL; const char *cp, *submit = NULL, *tag = NULL;
int reset_env = 1; int reset_env = 1;
if (!running_on_visible_desktop ()) {
report (R_ERROR, "Tests must be run on a visible desktop");
exit (2);
}
/* initialize the revision information first */ /* initialize the revision information first */
extract_rev_infos(); extract_rev_infos();