bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: texinfo-6.0.92 make check has 12 FAILs on Solaris10 x86/x64


From: Gavin Smith
Subject: Re: texinfo-6.0.92 make check has 12 FAILs on Solaris10 x86/x64
Date: Sat, 23 Jan 2016 16:11:07 +0000

On 23 January 2016 at 16:04, Eli Zaretskii <address@hidden> wrote:
>> Date: Sat, 23 Jan 2016 13:10:28 +0000
>> From: Gavin Smith <address@hidden>
>> Cc: Kiyoshi KANAZAWA <address@hidden>, Texinfo <address@hidden>
>>
>> # Check for a UTF-8 locale.  Skip the check if the 'locale' command doesn't
>> # work.
>> my $a = `locale -a 2>/dev/null`;
>> if ($a and $a !~ /UTF-8/ and $a !~ /utf8/) {
>>   _fatal "couldn't find a UTF-8 locale";
>>   goto FALLBACK;
>> }
>> if (!$a) {
>>   _debug "couldn't run 'locale -a': skipping check for a UTF-8 locale";
>> }
>
> Btw, this relies on shell's support of /dev/null, which won't happen
> on Windows.  If there's a way to use the null device instead (is it
> "File::Spec->devnull"?), that would be better, I think.

All we need is the value of $^O under Windows and then we can skip the
test altogether.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]