user: Only perform the screen resolution changing tests in interactive mode.

Francois Gouget fgouget at codeweavers.com
Fri Nov 10 08:23:39 CST 2006


---
 dlls/user/tests/monitor.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/dlls/user/tests/monitor.c b/dlls/user/tests/monitor.c
index 787ac2e..153a353 100644
--- a/dlls/user/tests/monitor.c
+++ b/dlls/user/tests/monitor.c
@@ -168,6 +168,7 @@ START_TEST(monitor)
 {
     init_function_pointers();
     test_enumdisplaydevices();
-    test_ChangeDisplaySettingsEx();
+    if (winetest_interactive)
+        test_ChangeDisplaySettingsEx();
     test_monitors();
 }
-- 
1.4.1.1




More information about the wine-patches mailing list