Marcus Meissner : user32/tests: Skip checks if pre-condition does not match .
Alexandre Julliard
julliard at winehq.org
Mon Mar 24 07:55:14 CDT 2008
Module: wine
Branch: master
Commit: 57384b7a1c3c8e8f625c48b7cda01409004b24ae
URL: http://source.winehq.org/git/wine.git/?a=commit;h=57384b7a1c3c8e8f625c48b7cda01409004b24ae
Author: Marcus Meissner <marcus at jet.franken.de>
Date: Sat Mar 22 19:11:33 2008 +0100
user32/tests: Skip checks if pre-condition does not match.
---
dlls/user32/tests/resource.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/user32/tests/resource.c b/dlls/user32/tests/resource.c
index 99fc24f..24ec995 100644
--- a/dlls/user32/tests/resource.c
+++ b/dlls/user32/tests/resource.c
@@ -91,6 +91,7 @@ static void test_LoadStringA (void)
ok (len == expected, "bufsiz=%d: got %d, expected %d\n",
bufsiz, len, expected);
+ if (len != expected) continue;
ok (!memcmp (buf, str, len),
"bufsiz=%d: got '%s', expected '%.*s'\n",
bufsiz, buf, len, str);
More information about the wine-cvs
mailing list