-
Notifications
You must be signed in to change notification settings - Fork 6
Defects4J
David edited this page Nov 2, 2017
·
5 revisions
- Download and setup Defects4J: Setup Instructions
- Edit the file
defects4j/framework/projects/defects4j.build.xml
:
- Change line 102 from
<junit printsummary="yes" haltonfailure="no" haltonerror="no" fork="no" showOutput="true">
to<junit printsummary="yes" haltonfailure="no" haltonerror="no" fork="yes" forkmode="once" showOutput="true">
- Add next line 103:
<jvmarg value="-javaagent:/path/to/jdcallgraph-0.1-agent.jar" />
- Run it:
defects4j checkout -p Lang -v 1b -w /tmp/Lang1b
defects4j compile -w /tmp/Lang1b
defects4j test -w /tmp/Lang1b
- JDCallgraph writes it results to
/tmp/Lang1b/cg/*
by default.