Hi, Akim.

It seems to be caused by shell difference.
locale is not the problem, because

$ locale
LANG=C
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_ALL=


Checked with some shell(es).
May be you need /bin/bash.
In my case, sh is /usr/xpg4/bin/sh.

/usr/xpg4/bin/sh
$ printf "\u2022\n"
?

/bin/sh (ksh93)
$ printf "\u2022\n"

/bin/bash
$ printf "\u2022\n"
\u2022

/usr/bin/csh
% printf "\u2022\n"
?

$ printf --version
printf (GNU coreutils) 8.32
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by David MacKenzie.


Regards,

--- Kiyoshi





----- Original Message -----
> From: Akim Demaille <[email protected]>
> To: Kiyoshi KANAZAWA <[email protected]>
> Cc: Bison Bugs <[email protected]>
> Date: 2020/7/6, Mon 00:59
> Subject: Re: [GNU Bison 3.6.90] testsuite: 173 174 175 176 177 178 179 180 
> 181 182 183 184 185 186 187 188 189 190 191 192 193 196 220 221 228 244 245 
> 246 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 549 555 562 
> 567 577 failed
> 
> Hi Kiyoshi,
> 
>>  Le 4 juil. 2020 à 22:33, Kiyoshi KANAZAWA 
> <[email protected]> a écrit :
>> 
>>  make passed, but make check failed on Solaris 11.3 x86/x64.
>>  (Everything passes with bison-3.6.4)
> 
> Thanks for the report.  All the failures are as follows:
> 
> 173. reduce.at:734: testing no lr.type: Single State Split ...
> ./reduce.at:734: COLUMNS=1000; export COLUMNS;  bison --color=no -fno-caret 
> -Wall --report=all,no-cex --defines -o input.c input.y
> ./reduce.at:734: sed -n '/^State 0$/,$p' input.output
> --- -   2020-07-05 05:04:11.646248566 +0000
> +++ /tmp/bison-3.6.90/tests/testsuite.dir/at-groups/173/stdout  2020-07-05 
> 05:04:11.642335818 +0000
> @@ -1,9 +1,9 @@
> State 0
> 
> -    0 $accept: . S $end
> -    1 S: . 'a' A 'a'
> -    2  | . 'b' A 'b'
> -    3  | . 'c' c
> +    0 $accept: ? S $end
> +    1 S: ? 'a' A 'a'
> +    2  | ? 'b' A 'b'
> +    3  | ? 'c' c
> 
>      'a'  shift, and go to state 1
>      'b'  shift, and go to state 2
> 
> For some reason, you seem to get a '?' as a fallback for '•', 
> although it should be '.'.  I don't see what can cause this.
> 
> Do you happen to have the GNU coreutils installed?  If you do, what do you 
> get 
> when you run these?
> 
> $ printf "\u2022\n"
> •
> $ LC_ALL=C printf "\u2022\n"
> \u2022
> 
> where printf should be the one from the coreutils.
> 
> $ printf --version
> printf (GNU coreutils) 8.32
> Copyright  2020 Free Software Foundation, Inc.
> License GPLv3+ : GNU GPL version 3 ou ultérieure 
> <https://gnu.org/licenses/gpl.html >
> Ceci est un logiciel libre. Vous êtes libre de le modifier et de le 
> redistribuer.
> Ce logiciel n'est accompagné d'ABSOLUMENT AUCUNE GARANTIE, dans les 
> limites
> permises par la loi.
> 
> Écrit par David MacKenzie.
> 
> 
> Cheers!
> 


Reply via email to