[PATCH 2/2] dxdiag: Recognise /dontskip.

Stefan Dösinger stefan at codeweavers.com
Fri Dec 8 14:15:39 CST 2017


Signed-off-by: Stefan Dösinger <stefan at codeweavers.com>

---

WGC uses it. Just ignore it because we don't have any logic to blacklist
previously crashed tests anyway.
---
 programs/dxdiag/main.c | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/programs/dxdiag/main.c b/programs/dxdiag/main.c
index 3ced122d6e..d7d430b570 100644
--- a/programs/dxdiag/main.c
+++ b/programs/dxdiag/main.c
@@ -110,6 +110,7 @@ static BOOL process_command_line(const WCHAR *cmdline, struct command_line_info
     static const WCHAR whql_colonW[] = {'w','h','q','l',':',0};
     static const WCHAR offW[] = {'o','f','f',0};
     static const WCHAR onW[] = {'o','n',0};
+    static const WCHAR dontskipW[] = {'d','o','n','t','s','k','i','p',0};
 
     info->whql_check = FALSE;
     info->output_type = OUTPUT_NONE;
@@ -163,6 +164,14 @@ static BOOL process_command_line(const WCHAR *cmdline, struct command_line_info
                 return FALSE;
 
             break;
+
+        case 'd':
+        case 'D':
+            if (strncmpiW(cmdline, dontskipW, 8))
+                return FALSE;
+            cmdline += 8;
+            break;
+
         default:
             return FALSE;
         }
-- 
2.13.6




More information about the wine-devel mailing list