Permalink
Browse files

distinguish test report locations between normal tests and long tests

  • Loading branch information...
1 parent cc1cc70 commit 8b0a7c292dce025a4469c5ae22613f187ba863ae @zhongjiewu zhongjiewu committed with vinothchandar Jun 8, 2012
Showing with 8 additions and 6 deletions.
  1. +2 −0 build.properties
  2. +6 −6 build.xml
View
@@ -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
View
@@ -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>

0 comments on commit 8b0a7c2

Please sign in to comment.