Tasuku SUENAGA
a****@razil*****
2008年 5月 28日 (水) 18:01:56 JST
末永です。 結果からいうと、テストが動きました!ワー!! > 何度も何度も申し訳ないのですが、これはどうなるでしょうか? > % strace test/unit/cutter-senna --help-all 2>&1 | grep cutter tasuku @ dxxx:~/senna-svn$ strace test/unit/cutter-senna --help-all 2>&1 | grep cutter execve("test/unit/cutter-senna", ["test/unit/cutter-senna", "--help-all"], [/* 19 vars */]) = 0 open("test/unit/cutter-senna", O_RDONLY) = 3 read(3, "#! /bin/sh\n\n# cutter-senna - tem"..., 80) = 80 read(255, "#! /bin/sh\n\n# cutter-senna - tem"..., 5254) = 5254 stat("/home/tasuku/senna-svn/test/unit/.libs/lt-cutter-senna", {st_mode=S_IFREG|0755, st_size=11252, ...}) = 0 stat("/home/tasuku/senna-svn/test/unit/.libs/lt-cutter-senna", {st_mode=S_IFREG|0755, st_size=11252, ...}) = 0 execve("/home/tasuku/senna-svn/test/unit/.libs/lt-cutter-senna", ["/home/tasuku/senna-svn/test/unit"..., "--help-all"], [/* 17 vars */]) = 0 open("/home/tasuku/senna-svn/lib/.libs/libcutter.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) open("/home/tasuku/local/lib/tls/x86_64/libcutter.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) open("/home/tasuku/local/lib/tls/libcutter.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) open("/home/tasuku/local/lib/x86_64/libcutter.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) open("/home/tasuku/local/lib/libcutter.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib/tls/x86_64/libcutter.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib/tls/libcutter.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib/x86_64/libcutter.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib/libcutter.so.0", O_RDONLY) = 3 stat("/usr/local/lib/cutter/module/factory/report", 0x7fff17646450) = -1 ENOENT (No such file or directory) stat("/usr/local/lib/cutter/module/factory/streamer", 0x7fff17646450) = -1 ENOENT (No such file or directory) stat("/usr/local/lib/cutter/module/factory/ui", 0x7fff17646920) = -1 ENOENT (No such file or directory) open("/usr/local/share/locale/ja_JP.UTF-8/LC_MESSAGES/cutter.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/local/share/locale/ja_JP.utf8/LC_MESSAGES/cutter.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/local/share/locale/ja_JP/LC_MESSAGES/cutter.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/local/share/locale/ja.UTF-8/LC_MESSAGES/cutter.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/local/share/locale/ja.utf8/LC_MESSAGES/cutter.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/local/share/locale/ja/LC_MESSAGES/cutter.mo", O_RDONLY) = -1 ENOENT (No such file or directory) write(1, "\347\224\250\346\263\225:\n lt-cutter-senna [\343\202"..., 1144用法: lt-cutter-senna [オプション...] TEST_DIRECTORY というわけで、/usr/localを見てて怪しいので、 cutterのビルドディレクトリでmake clean後 再度--prefix=/usrでmake, make installをしてみたところ、 うまく動作いたしました! tasuku @ dxxx:~/senna-svn$ test/unit/run-test.sh ...... Finished in 0.190874 seconds 6 test(s), 54 assertion(s), 0 failure(s), 0 error(s), 0 pending(s), 0 omission(s), 0 notification(s) 100% passed これで新APIのテストも書けそうですねー。 --- 末永 匡 <a****@razil*****>