Commit b4863240 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

Make running tests on a visible desktop a mandatory requirement.

parent ca6cb6b0
...@@ -547,6 +547,11 @@ int WINAPI WinMain (HINSTANCE hInst, HINSTANCE hPrevInst, ...@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment