-
-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow to ignore tests in command line execution #134
Comments
Is that right? When I tried the Nopol repairing command without test parameter, the whole execution stops at the step of running tests and does not generate patches. I guess the Nopol will put much time in running all tests (may be more than 1000 if we don't enter the "--test" parameter ) and thus will give no output. So it does not work on my computer without "test" parameter. Hope somebody can give an explanation. Thanks! |
Can you give the output of the execution? Sometime the fault localization technique takes a lot of time |
The output file records the information that Nopol repaires Math_28 buggy program without "test" parameter. It seems that Nopol execution stops at the step of testing. When I add the test parameter, a valid patch can be obtained by Nopol. |
Can you try to run nopol with those parameters: export JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF8;
TZ="America/New_York";
export TZ;
export PATH="/usr/lib/jvm/java-1.7.0-openjdk-amd64/bin/:$PATH";
java -d64 -Xmx4g -Xms1g -XX:MaxPermSize=1024m -XX:+UseConcMarkSweepGC -XX:+CMSPermGenSweepingEnabled -XX:+CMSClassUnloadingEnabled \
-cp nopol.jar:/usr/lib/jvm/java-1.7.0-openjdk-amd64/bin/../lib/tools.jar \
fr.inria.lille.repair.Main \
--flocal gzoltar \
--maxTime 300 \
--json \
--mode repair \
--type pre_then_cond \
--oracle angelic \
--solver z3 \
--solver-path z3 \
--complianceLevel 5 \
--source math_28/src/main/java/ \
--classpath math_28/target/classes/:math_28/target/test-classes/:math_28/lib/commons-discovery-0.5.jar:nopol.jar |
Thank you so much for your great help. And sorry for my late reply. I runned the Nopol with your parameters successfully without "tests" as a parameter. But I am still confused about what is the function of the codes: When I compare my command which has "test" parameter with your command, it seems that the codes above can replace the "test" parameter to repair buggy programs. Why should we add these long parameters? Much appreciated. Have a nice weekend! |
In general, automatic repair technique consume a lot of memory, give them as much memory as you can |
Thank you! I really learned a lot from your patient guidance and continuous help. Thanks a lot! |
Sorry for that the website link cannot be displayed in the last comment, so I would like to add as follow: Thanks! |
No description provided.
The text was updated successfully, but these errors were encountered: