Skip to content

Commit

Permalink
Merge branch 'DDS-2979-split-junit'
Browse files Browse the repository at this point in the history
  • Loading branch information
zhongjiewu committed Jun 13, 2012
2 parents 9bb1704 + bcf42c7 commit f23e641
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
2 changes: 2 additions & 0 deletions build.properties
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ inttestsrc.dir=test/integration
testclasses.dir=dist/testclasses
testreport.dir=dist/junit-reports
testhtml.dir=dist/junit-reports/html
longtestreport.dir=dist/junit-long-reports
longtesthtml.dir=dist/junit-long-reports/html

## Contrib
contrib.root.dir=contrib
Expand Down
12 changes: 6 additions & 6 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -389,22 +389,22 @@
</target>

<target name="junit-long" depends="build, buildtest, junit" description="Run long junit tests that uses larger data sets than normal junit tests.">
<replace-dir dir="${testreport.dir}" />
<replace-dir dir="${testhtml.dir}" />
<replace-dir dir="${longtestreport.dir}" />
<replace-dir dir="${longtesthtml.dir}" />
<junit printsummary="yes" showoutput="true" maxmemory="1024m">
<classpath refid="test-classpath" />
<formatter type="xml" />
<batchtest fork="yes" todir="${testreport.dir}">
<batchtest fork="yes" todir="${longtestreport.dir}">
<fileset dir="${longtestsrc.dir}">
<include name="**/*Test.java" />
</fileset>
</batchtest>
</junit>
<junitreport todir="${testhtml.dir}">
<fileset dir="${testreport.dir}">
<junitreport todir="${longtesthtml.dir}">
<fileset dir="${longtestreport.dir}">
<include name="TEST-*.xml" />
</fileset>
<report todir="${testhtml.dir}" format="frames" />
<report todir="${longtesthtml.dir}" format="frames" />
</junitreport>
</target>

Expand Down

0 comments on commit f23e641

Please sign in to comment.