Bug 16574 - Add locale-based regression tests
Summary: Add locale-based regression tests
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Minor
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-22 09:01 PST by Alp Toker
Modified: 2009-03-27 14:36 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alp Toker 2007-12-22 09:01:24 PST
Bug #16162 highlighted the lack of regression tests run under different locales. Running the whole test suite (occasionally, if not after every commit) under different locales would help catch regressions in locale-dependent parsing, string output etc.

There is probably no need to write new tests. One need only modify the test harness to re-run the suite with a variety of LC_ALL values set for issues like this to be spotted.
Comment 1 Alexey Proskuryakov 2007-12-22 09:22:06 PST
Good idea!

It may actually be enough to set any locale that is sufficiently different from "C" one - maybe a simple setlocale(LC_ALL, "fr_FR") call would do in practice.
Comment 2 Alexey Proskuryakov 2008-05-12 10:35:50 PDT
See also: bug 18994.
Comment 3 Alexey Proskuryakov 2008-05-20 00:03:51 PDT
And bug 18985.
Comment 4 Gustavo Noronha (kov) 2009-03-27 14:36:36 PDT
Is this really Gtk-specific? I am removing the keyword, as I think not.