bug-bison
[Top][All Lists]
Advanced

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

Re: [GNU Bison 3.6.90] testsuite: 173 174 175 176 177 178 179 180 181 18


From: Kiyoshi KANAZAWA
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
Date: Mon, 6 Jul 2020 06:10:52 +0900 (JST)

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 <akim@lrde.epita.fr>
> To: Kiyoshi KANAZAWA <yoi_no_myoujou@yahoo.co.jp>
> Cc: Bison Bugs <bug-bison@gnu.org>
> 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 
> <yoi_no_myoujou@yahoo.co.jp> 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

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