It looks like my NT4 machine is setup differently than the ones running those tests, or perhaps all default windows installs. The issue is that for LOCALE_SYSTEM_DEFAULT the default format that we are looking for is "h:m:s tt", the one that on the testing machines is "HH:m:s", this results in "8:46 AM" -> "08:56" for TIME_NOSECONDS and "8AM" -> "08" for TIME_NOMINUTESORSECONDS. Not sure what the correct way to resolve this is as it appears the default can change, maybe we shouldn't be testing against the defaults? Afaik these tests pass under wine so maybe wine has incorrect default nls values?
Chris
From: Paul Millar paulm@astro.gla.ac.uk Date: 2002/12/20 Fri AM 07:10:27 EST To: Development to WINE wine-devel@winehq.com Subject: Conformance tests failing
Hi everyone,
The extra support added by Chris in: http://cvs.winehq.com/patch.py?id=6743 doesn't seem be enough for wine to pass all of his new conformance tests added in: http://cvs.winehq.com/patch.py?id=6744 A few of them failed, caused WRT reported:
locale.c:164: Test failed 1 of 1 time (100%): [test instance 1] locale.c:164: Test failed: GetTimeFormat: got 6 instead of 8
locale.c:146: Test failed 1 of 1 time (100%): [test instance 1] locale.c:146: Test failed: GetTimeFormat got '08' instead of '8 AM'
locale.c:147: Test failed 1 of 1 time (100%): [test instance 1] locale.c:147: Test failed: GetTimeFormat: got 3 instead of 5
locale.c:163: Test failed 1 of 1 time (100%): [test instance 1] locale.c:163: Test failed: GetTimeFormat got '08:56' instead of '8:56 AM'
for 95, 98, me, NT, Win2k, ... (the database is still updating at the moment)
Details of the build are available at: http://www.astro.gla.ac.uk/users/paulm/WRT/buildinfo.php?id=271
Paul Millar