Bug 16574

Summary: Add locale-based regression tests
Product: WebKit Reporter: Alp Toker <alp>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Minor CC: ap, gustavo
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   

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.