Paul Vriens : msi/tests: Skip some tests on Win9x and WinMe.
Alexandre Julliard
julliard at winehq.org
Thu Nov 13 08:51:47 CST 2008
Module: wine
Branch: master
Commit: 1dba41b104a12dccff2468e572c5d0683fb7cc3b
URL: http://source.winehq.org/git/wine.git/?a=commit;h=1dba41b104a12dccff2468e572c5d0683fb7cc3b
Author: Paul Vriens <Paul.Vriens.Wine at gmail.com>
Date: Thu Nov 13 15:34:22 2008 +0100
msi/tests: Skip some tests on Win9x and WinMe.
---
dlls/msi/tests/install.c | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/dlls/msi/tests/install.c b/dlls/msi/tests/install.c
index 6ae2a51..bc98840 100644
--- a/dlls/msi/tests/install.c
+++ b/dlls/msi/tests/install.c
@@ -5185,6 +5185,17 @@ static void test_MsiConfigureProductEx(void)
CHAR keypath[MAX_PATH * 2];
CHAR localpack[MAX_PATH];
+ /* skip these tests if we are on Win9x or WinMe */
+ lstrcpyA(keypath, "Software\\Microsoft\\Windows\\CurrentVersion\\");
+ lstrcatA(keypath, "Installer\\UserData");
+ res = RegOpenKeyA(HKEY_LOCAL_MACHINE, keypath, &props);
+ if (res == ERROR_FILE_NOT_FOUND)
+ {
+ win_skip("Different registry keys on Win9x and WinMe\n");
+ return;
+ }
+ RegCloseKey(props);
+
CreateDirectoryA("msitest", NULL);
create_file("msitest\\hydrogen", 500);
create_file("msitest\\helium", 500);
More information about the wine-cvs
mailing list