From 66300403c40e2f2a953017d8688a010466a715f9 Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Fri, 29 Sep 2006 13:03:40 +0200 Subject: [PATCH] ddraw: Only perform the screen resolution changing tests in interactive mode. --- dlls/ddraw/tests/ddrawmodes.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/dlls/ddraw/tests/ddrawmodes.c b/dlls/ddraw/tests/ddrawmodes.c index fd00bb6a20e..5020bec9538 100644 --- a/dlls/ddraw/tests/ddrawmodes.c +++ b/dlls/ddraw/tests/ddrawmodes.c @@ -1,6 +1,13 @@ /* * Unit tests for ddraw functions * + * + * Part of this test involves changing the screen resolution. But this is + * really disrupting if the user is doing something else and is not very nice + * to CRT screens. Plus, ideally it needs someone watching it to check that + * each mode displays correctly. + * So this is only done if the test is being run in interactive mode. + * * Copyright (C) 2003 Sami Aario * * This library is free software; you can redistribute it and/or @@ -342,7 +349,8 @@ START_TEST(ddrawmodes) if (!createdirectdraw()) return; enumdisplaymodes(); - testdisplaymodes(); + if (winetest_interactive) + testdisplaymodes(); flushdisplaymodes(); releasedirectdraw(); -- 2.11.4.GIT