Skip to content
Snippets Groups Projects
Commit 439a3c52 authored by Tim Miller's avatar Tim Miller
Browse files

UPDATE: File structure.

parent 6f94c552
No related branches found
No related tags found
No related merge requests found
...@@ -15,7 +15,7 @@ string="original,mutant-1,mutant-2,mutant-3,mutant-4,mutant-5" substring="${prog ...@@ -15,7 +15,7 @@ string="original,mutant-1,mutant-2,mutant-3,mutant-4,mutant-5" substring="${prog
<target name="check_test"> <target name="check_test">
<fail message="Please provide a test with -Dtest=''. The arguments can be one of <fail message="Please provide a test with -Dtest=''. The arguments can be one of
{boundary, partitioning}"> {Boundary, Partitioning}">
<condition> <condition>
<or> <or>
<not><isset property="test"/></not> <not><isset property="test"/></not>
...@@ -42,10 +42,10 @@ classpath="lib/junit-4.11.jar;lib/hamcrest-core-1.3.jar" includeantruntime="fals ...@@ -42,10 +42,10 @@ classpath="lib/junit-4.11.jar;lib/hamcrest-core-1.3.jar" includeantruntime="fals
</target> </target>
<target name="compile_test" depends="compile_orig, check_test"> <target name="compile_test" depends="compile_orig, check_test">
<mkdir dir="classes/tests/${test}"/> <mkdir dir="classes/tests" />
<depend srcdir="tests/${test}" destdir="classes/tests/${test}" <depend srcdir="tests/" destdir="classes/tests/"
cache=".depcache/tests/${test}" closure="yes"/> cache=".depcache/tests/" closure="yes"/>
<javac srcdir="tests/${test}" destdir="classes/tests/${test}" <javac srcdir="tests/" destdir="classes/tests/"
classpath="lib/junit-4.11.jar;lib/hamcrest-core-1.3.jar;classes/programs/original" classpath="lib/junit-4.11.jar;lib/hamcrest-core-1.3.jar;classes/programs/original"
includeantruntime="false"/> includeantruntime="false"/>
</target> </target>
...@@ -57,7 +57,7 @@ includeantruntime="false"/> ...@@ -57,7 +57,7 @@ includeantruntime="false"/>
<junit printsummary="yes" fork="yes" haltonfailure="yes"> <junit printsummary="yes" fork="yes" haltonfailure="yes">
<classpath> <classpath>
<pathelement path="classes/programs/${program}"/> <pathelement path="classes/programs/${program}"/>
<pathelement path="classes/tests/${test}"/> <pathelement path="classes/tests/"/>
<pathelement path="lib/junit-4.11.jar"/> <pathelement path="lib/junit-4.11.jar"/>
<pathelement path="lib/hamcrest-core-1.3.jar"/> <pathelement path="lib/hamcrest-core-1.3.jar"/>
</classpath> </classpath>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment