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

Alexandre Julliard julliard at wine.codeweavers.com
Mon Nov 13 06:29:00 CST 2006


Module: wine
Branch: master
Commit: 8e9c87628875fb8c043426ac9831a569d991a621
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=8e9c87628875fb8c043426ac9831a569d991a621

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Fri Nov 10 15:23:39 2006 +0100

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

---

 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();
 }




More information about the wine-cvs mailing list