Re: advapi32/tests: Run a test on more platforms (try2)
Nicolas Le Cam <niko.lecam(a)gmail.com> writes:
@@ -614,7 +614,9 @@ static void test_enum_provider_types(void) DWORD dwTypeCount;
/* actual values */ - DWORD index = 0; + /* the first provider type registry key may not have a TypeName subkey + * we use the second one instead */ + DWORD index = 1;
That's just moving the problem around, there's no reason that the second one would always be guaranteed to have a typename. -- Alexandre Julliard julliard(a)winehq.org
2008/11/4 Alexandre Julliard <julliard(a)winehq.org>:
Nicolas Le Cam <niko.lecam(a)gmail.com> writes:
@@ -614,7 +614,9 @@ static void test_enum_provider_types(void) DWORD dwTypeCount;
/* actual values */ - DWORD index = 0; + /* the first provider type registry key may not have a TypeName subkey + * we use the second one instead */ + DWORD index = 1;
That's just moving the problem around, there's no reason that the second one would always be guaranteed to have a typename.
-- Alexandre Julliard julliard(a)winehq.org
(Resent because I've forgot to cc to wine-devel. Sorry) Thank you for your answer. I will shortly submit a modified patch that loop on Provider Type keys to find one that fits our needs. Nicolas Le Cam
participants (2)
-
Alexandre Julliard -
Nicolas Le Cam