Gauche > Archives > 2018/05/11

2018/05/11 15:16:14 UTCkoguro
#
HEADでsymbols and keywordsのテストが失敗するみたいです
#
Testing symbols and keywords ...                                 failed.
discrepancies found.  Errors are:
test symbol writer: +in: expects "+in" => got "|+in|"
test symbol writer: +inf: expects "+inf" => got "|+inf|"
test symbol writer: +inf.: expects "+inf." => got "|+inf.|"
test symbol writer: ..: expects ".." => got "|..|"
test symbol writer: ...: expects "..." => got "|...|"
test symbol writer: ->: expects "->" => got "|->|"
test symbol writer: -.a: expects "-.a" => got "|-.a|"
2018/05/11 15:38:25 UTCshiro
#
む、手元のLinuxとOSXでは通るんでプラットフォーム教えてください。
2018/05/11 21:45:46 UTCkoguro
#
あれ、うちもLinuxなのですが何か違うのかな。
#
% uname -a
Linux atropos 4.15.0-20-generic #21-Ubuntu SMP Tue Apr 24 06:16:15 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
2018/05/11 21:56:31 UTCshiro
#
エラー見ると最新コミットで変えたsymbol writerが変わってないような感じなんですが、REPLから '... 評価するとどう表示されますか?
#
shiro@scherzo:~/src/Gauche/src$ ./gosh -ftest
gosh$ '...
...
2018/05/11 22:29:55 UTCkoguro
#
% src/gosh -ftest
gosh> '...
|...|
#
こうなりました
#
commit 4aa8c360ded1b0223083cc22cdb8e0ae23392c2b (HEAD -> master, upstream/master)
Author: Shiro Kawai <shiro@acm.org>
Date:   Wed May 9 17:18:56 2018 -1000

    Write symbols without escape if the result is valid R7RS symbol
#
一応HEADに追従できているとは思うのですが
2018/05/11 22:44:03 UTCshiro
#
うーむ、そうなる要因が思いつかない… 
2018/05/11 23:40:11 UTCkoguro
#
なんかこちらの環境の問題のようです。goshniリンクされている
#
goshにリンクされているのが前のバージョンのlibgaucheになっていたので、ちょっとクリーンな環境で再ビルドしてみます
#
テストが通りました。お騒がせしました。
2018/05/11 23:42:52 UTCshiro
#
yay!