[Senna-dev 826] Rubyバインディングのテストの走らせ方

Back to archive index

Kouhei Sutou kou****@cozmi*****
2008年 5月 8日 (木) 09:47:32 JST


須藤です。

bindings/ruby/test/以下にあるテストを走らせたいのですが、test/**/*.rbの
中にはEUC-JPで書かれているものとUTF-8で書かれているものがあり、
test/all_test.rbxを使って全部まとめて実行することができません。
(.rbのロードに失敗する。)

例:
  bindings/ruby% ruby -Ke test/all_test.rbx
  ...
  test/fixedbug-r00644/test_bug_r00644.rb:15: syntax error, unexpected
'(', expecting ')' (SyntaxError)
      res = Senna::Snip::open('夢', 300, 1, '(', ')', nil, Senna::ENC_UTF8).
  ...

Rubyバインディングのテストはどうやって走らせるものなのでしょうか?




Senna-dev メーリングリストの案内
Back to archive index