近頃、Teedaをビルドしたかっただけなので、テストをスキップしていたけど、Linux だと、テストが失敗するかと・・・。
$ svn co https://www.seasar.org/svn/s2container/trunk/seasar2/ $ cd seasar2/ $ mvn install ... DEBUG 2006-09-12 21:26:39,205 [main] BEGIN org.seasar.framework.aop.proxy.AopProxyTest$HelloImpl#greeting() DEBUG 2006-09-12 21:26:39,205 [main] END org.seasar.framework.aop.proxy.AopProxyTest$HelloImpl#greeting() : Hello 519573851 WARN 2006-09-12 21:26:39,214 [main] org.seasar.framework.aop.proxy.AopProxyTest$HelloImpl3のメソッド(greeting)にはアスペクトを適用できない修飾子が指定されています [surefire] Running org.seasar.framework.aop.proxy.AopProxyTest [surefire] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 0.542 sec Results : [surefire] Tests run: 682, Failures: 3, Errors: 0 [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] There are some test failure. [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 55 seconds [INFO] Finished at: Tue Sep 12 21:26:39 JST 2006 [INFO] Final Memory: 15M/54M [INFO] ------------------------------------------------------------------------
失敗内容は以下の3つです。パスの問題っぽいですね。
junit.framework.ComparisonFailure: expected:<file:/[C:/Program Files/]> but was:<file:/[home/testuser/tmp/seasar2/C:\Program Files]> at junit.framework.Assert.assertEquals(Assert.java:81) at junit.framework.Assert.assertEquals(Assert.java:87) at org.seasar.framework.util.ResourceUtilTest.testToExternalForm(ResourceUtilTest.java:88) ...
junit.framework.ComparisonFailure: expected:</[C:/Program Files/]> but was:</[home/testuser/tmp/seasar2/C:\Program Files]> at junit.framework.Assert.assertEquals(Assert.java:81) at junit.framework.Assert.assertEquals(Assert.java:87) at org.seasar.framework.util.ResourceUtilTest.testGetFileName(ResourceUtilTest.java:94) ...
junit.framework.ComparisonFailure: expected:<[]C:\Program Files\foo...> but was:<[/home/testuser/tmp/seasar2/]C:\Program Files\foo...> at junit.framework.Assert.assertEquals(Assert.java:81) at junit.framework.Assert.assertEquals(Assert.java:87) at org.seasar.framework.util.JarFileUtilTest.testToJarFilePath(JarFileUtilTest.java:31) ...
今日は疲れたからもう寝よ・・・。