[msi/tests 3/3] Create a system restore point when needed (Try2)

Paul Vriens paul.vriens.wine at gmail.com
Mon Sep 1 05:21:44 CDT 2008


Hi,

(Try2 : factored out some of the code and reduced the comments).

The slowness on some machines for the install tests comes from the system
restore facility. When 'System Restore' is active you will find a great number
of system restore points after these tests have run. Adding our own system
restore point circumvents this as Windows will now wait till we tell it that the
     system change has ended. Only 1 system restore point will be created now and
this one is nicely removed afterwards.

On my testboxes (XP and Vista) this makes sure that the tests run within the
limits of the timeout (2 minutes). Before this patch the tests would take about
8 minutes on my Vista box (now 1.something).

Changelog
   Create a system restore point when needed

-- 
Cheers,

Paul.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-Create-a-system-restore-point-when-needed.patch
Type: text/x-patch
Size: 3810 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080901/153528a4/attachment-0018.bin 


More information about the wine-patches mailing list