Skip to content

Commit

Permalink
reference files for regression tests get included now as well
Browse files Browse the repository at this point in the history
  • Loading branch information
fracpete committed Jul 15, 2015
1 parent 9f3136b commit 9309501
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions build_package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<!-- set global properties for this build -->
<property name="src" value="src/main/java"/>
<property name="src-test" value="src/test/java"/>
<property name="res-test" value="src/test/resources"/>
<property name="lib" value="lib" />
<property name="build" value="build"/>
<property name="dist" value="dist"/>
Expand Down Expand Up @@ -106,6 +107,7 @@
<!-- make this if it doesn't exist so that the compile_test task doesn't faile for
stuff that doesn't have test cases -->
<mkdir dir="${src-test}"/>
<mkdir dir="${res-test}"/>
</target>

<!-- compile the testcases -->
Expand All @@ -128,6 +130,11 @@
<include name="**/*.matrix"/>
</fileset>
</copy>
<copy todir="${build}/testcases" >
<fileset dir="${res-test}">
<include name="**/*.ref"/>
</fileset>
</copy>
</target>

<!-- Put everything in ${build}/testcases into the ${package}-tests.jar file -->
Expand Down Expand Up @@ -206,6 +213,7 @@
<include name="src/**/*.cost"/>
<include name="src/**/*.arff"/>
<include name="src/**/*.matrix"/>
<include name="src/**/*.ref"/>
</fileset>
</copy>
<zip destfile="${dist}/${package}.zip"
Expand Down Expand Up @@ -236,6 +244,7 @@
<include name="src/**/*.cost"/>
<include name="src/**/*.arff"/>
<include name="src/**/*.matrix"/>
<include name="src/**/*.ref"/>
<include name="lib/**/*.jar"/>
</jar>
</target>
Expand Down

0 comments on commit 9309501

Please sign in to comment.