Exiting a tests on the first failure

Paul Vriens Paul.Vriens at xs4all.nl
Mon Jan 17 03:51:07 CST 2005


I'm currently looking into the shreg test of shlwapi. In the error-logs
on test.winehq.org I see a lot of errors.

If the first CreateKey fails, there is no need to continue with the
testing (because the rest of the tests will fail as well). What's the
best way to stop there?, something like this?:

        HKEY hkey = create_test_entries();
+        if (!hkey) return;


Paul Vriens.

More information about the wine-devel mailing list