Open juliamanfrindias opened 3 years ago
Hi @juliamanfrindias
I suspect that the reason of the failure could be that in the command is missing the parameter -dependencies
which indicates the dependencies (as a set of jars) of the program under repair.
Regards Matias
What should I use for dependencies? There's no libs folder in the math_20 example, when I use the libs folder from the path "examples/libs" its return the same error.
[astor@julia-note target]$ java -cp astor-1.1.0-jar-with-dependencies.jar fr.inria.main.evolution.AstorMain -mode jgenprog -srcjavafolder /src/java/ -srctestfolder /src/test/ -binjavafolder /target/classes/ -bintestfolder /target/test-classes/ -location /home/astor/Documentos/A3/astor/examples/math_20/ -dependencies examples/libs 13:14:04.490 [main] ERROR AstorCoreEngine - Initial run of test suite fails
I was running the command from inside the Astor folder instead of the target folder
Now when I run the command inside the target folder, using the example Math-issue-280 at location:
java -cp astor-1.1.0-jar-with-dependencies.jar fr.inria.main.evolution.AstorMain -mode jgenprog -srcjavafolder /src/java/ -srctestfolder /src/test/ -binjavafolder /target/classes/ - bintestfolder /target/test-classes/ -location /home/astor/Documents/A3/astor/examples/Math-issue-280/
Returns the expected response:
But I'm only getting this successful answer for the example Math-issue-280.
When I run the command, using the example math_20 at location:
java -cp astor-1.1.0-jar-with-dependencies.jar fr.inria.main.evolution.AstorMain -mode jgenprog -srcjavafolder /src/java/ -srctestfolder /src/test/ -binjavafolder /target/classes/ - bintestfolder /target/test-classes/ -location /home/astor/Documents/A3/astor/examples/math_20/
Returns an error:
ERROR AstorCoreEngine - Initial run of test suite fails