Author: cwittich
Date: Thu Sep 4 10:11:49 2008
New Revision: 35936
URL:
http://svn.reactos.org/svn/reactos?rev=35936&view=rev
Log:
run all winetests
Modified:
trunk/reactos/dll/win32/syssetup/wizard.c
Modified: trunk/reactos/dll/win32/syssetup/wizard.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/syssetup/wizard.…
==============================================================================
--- trunk/reactos/dll/win32/syssetup/wizard.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/syssetup/wizard.c [iso-8859-1] Thu Sep 4 10:11:49 2008
@@ -2192,6 +2192,8 @@
{
char szPath[MAX_PATH];
FILE * file;
+ WIN32_FIND_DATAA ffd;
+ HANDLE hFind = INVALID_HANDLE_VALUE;
#if 0
if (!SHGetSpecialFolderPathA(0, szPath, CSIDL_DESKTOP, FALSE))
{
@@ -2217,7 +2219,20 @@
(const BYTE*)szPath,
strlen(szPath) * sizeof(char));
- fprintf(file, "%s\n", "dbgprint --winetest
%windir%\\bin\\version_winetest.exe");
+
+ /* winetests */
+ hFind = FindFirstFileA("%windir%\\bin\\*.exe", &ffd);
+ if (hFind != INVALID_HANDLE_VALUE)
+ {
+ do
+ {
+ if (ffd.dwFileAttributes & ~FILE_ATTRIBUTE_DIRECTORY)
+ fprintf(file, "%s%s\n", "dbgprint --winetest
%windir%\\bin\\", ffd.cFileName);
+ }
+ while (FindNextFileA(hFind, &ffd) != 0);
+ FindClose(hFind);
+ }
+
fprintf(file, "%s\n", "dbgprint
SYSREG_CHECKPOINT:THIRDBOOT_COMPLETE");
fprintf(file, "%s\n", "shutdown -s");
fclose(file);