msi/tests: Avoid #if 0 to make sure code still compiles.

Francois Gouget fgouget at free.fr
Mon Sep 26 16:41:26 CDT 2011


The MsiCreateTransformSummaryInfo() test still fails in Wine (hence the todo_wine) but it is behind an if (0) anyway.
---
 dlls/msi/tests/install.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/dlls/msi/tests/install.c b/dlls/msi/tests/install.c
index b1db7e4..bb8335a 100644
--- a/dlls/msi/tests/install.c
+++ b/dlls/msi/tests/install.c
@@ -3768,10 +3768,8 @@ static void generate_transform(void)
     r = MsiDatabaseGenerateTransform(hdb1, hdb2, mstfile, 0, 0);
     ok(r == ERROR_SUCCESS, "return code %d, should be ERROR_SUCCESS\n", r);
 
-#if 0  /* not implemented in wine yet */
     r = MsiCreateTransformSummaryInfo(hdb2, hdb2, mstfile, 0, 0);
-    ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r);
-#endif
+    todo_wine ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r);
 
     MsiCloseHandle(hdb1);
     MsiCloseHandle(hdb2);
-- 
1.7.5.4



More information about the wine-patches mailing list