Closed jeonyeohun closed 5 years ago
Hi @jeonyeohun
I assume that the failing tests in the example occur this error, but it looks very common sense to me that the Math-issue-280 should have an at least one failing test case since it is a collection of issues from Jira.
The example, as you show, must have one failing/error test. That test "shows" the presence of the bug to be repair. So, it's ok to have that situation.
When I omitted the failing files, org.apache.commons.math.distribution.NormalDistributionTest
NormalDistributionTest
must not be omitted because it's the test that exposes the bug to be repair.
Consequently, when Astor runs the fault localization it cannot find any suspicious code:
Gzoltar Test Result Total:1950, fails: 0, GZoltar suspicious 16451, with positive susp 0
[INFO ] fr.inria.astor.core.faultloc
Dont hesitate to write us if you have some issues with that.
Best Regards Matias
Hello,
I am trying to build Astor with option 2 by following your "Getting starting" for testing jGenProg and while I build Astor, I keep getting a following error at the stage of compiling and running bug example.
Environment:
Command:
Yeoui-MacBookPro:Math-issue-280 yeohunjeon$ mvn clean compile test
Error:
I assume that the failing tests in the example occur this error, but it looks very common sense to me that the Math-issue-280 should have an at least one failing test case since it is a collection of issues from Jira.
When I omitted the failing files, org.apache.commons.math.distribution.NormalDistributionTest and org.apache.commons.math.optimization.general.MinpackTest, the build was successfully done. However, in this case, I got an another error at the stage of an executing jGenProg with Math-issue-280.
Command:
Yeoui-MacBookPro:Math-issue-280 yeohunjeon$ java -cp $(cat /tmp/astor-classpath.txt):target/classes fr.inria.main.evolution.AstorMain -mode jgenprog -srcjavafolder /src/java/ -srctestfolder /src/test/ -binjavafolder /target/classes/ -bintestfolder /target/test-classes/ -location /Users/yeohunjeon/Desktop/2019_2/ISEL/jGenProg/astor/examples/Math-issue-280 -dependencies examples/Math-issue-280/lib
Error:
Is there any possible advice to get breakthrough for this issue?
Regards Jeon