Masahiro Kitajima
katon****@katon*****
2006年 6月 1日 (木) 14:36:53 JST
テストを動くようにしてみました。 Index: test/testcase.rb =================================================================== RCS file: /cvsroot/exerb/exerb/test/testcase.rb,v retrieving revision 1.20 diff -u -r1.20 testcase.rb --- test/testcase.rb 3 May 2005 13:47:01 -0000 1.20 +++ test/testcase.rb 1 Jun 2006 05:10:59 -0000 @@ -25,8 +25,8 @@ end def create_exe(name, exename = name) - corefile = '../data/exerb/ruby182c.exc' - recipe = Exerb::Recipe.new("#{name}/#{exename}.exy") + corefile = '../data/exerb/ruby184c.exc' + recipe = Exerb::Recipe.load("#{name}/#{exename}.exy") archive = recipe.create_archive() executable = Exerb::Executable.read(corefile) executable.rsrc.add_archive(archive) 結果: <snip>\exerb-snapshot20060531\test>ruby alltests.rb Loaded suite alltests Started ........... Finished in 1.734 seconds. 11 tests, 11 assertions, 0 failures, 0 errors -- 北島雅博(かとんぼ)