[llvm] r186469 - llvm/test/Object/ar-create.test: Relax a CHECK line to satisfy localized message catalogue.

NAKAMURA Takumi geek4civic at gmail.com
Tue Jul 16 21:20:57 PDT 2013


It could be done to tweak dwLanguageId on FormatMessage(), in
Windows/system_error.inc.

    MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), // Default language

Could we settle language/locale to us English here?
FYI, the buildslave uses codepage 65001.


2013/7/17 Rafael EspĂ­ndola <rafael.espindola at gmail.com>:
> Is there something like the LANG environment that we could use on windows?
>
> On 16 July 2013 19:17, NAKAMURA Takumi <geek4civic at gmail.com> wrote:
>> Author: chapuni
>> Date: Tue Jul 16 18:17:22 2013
>> New Revision: 186469
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=186469&view=rev
>> Log:
>> llvm/test/Object/ar-create.test: Relax a CHECK line to satisfy localized message catalogue.
>>
>> For example, 'No such file or directory' cannot be seen on Japanese version of msvcrt.
>>
>> Modified:
>>     llvm/trunk/test/Object/ar-create.test
>>
>> Modified: llvm/trunk/test/Object/ar-create.test
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Object/ar-create.test?rev=186469&r1=186468&r2=186469&view=diff
>> ==============================================================================
>> --- llvm/trunk/test/Object/ar-create.test (original)
>> +++ llvm/trunk/test/Object/ar-create.test Tue Jul 16 18:17:22 2013
>> @@ -13,5 +13,5 @@ RUN: rm -f %t.foo.a
>>  RUN: llvm-ar r %t.foo.a %t 2>&1 | FileCheck --check-prefix=CREATE %s
>>  RUN: rm -f %t.foo.a
>>
>> -CHECK: .foo.a': No such file or directory
>> +CHECK: llvm-ar{{(.exe|.EXE)?}}: error loading '{{[^']+}}.foo.a':
>>  CREATE: creating {{.*}}.foo.a
>>
>>
>> _______________________________________________
>> llvm-commits mailing list
>> llvm-commits at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits




More information about the llvm-commits mailing list