mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-12-18 16:47:58 +01:00
Minor change to release build script testing.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2087 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
ab73164b38
commit
796b70de23
1 changed files with 15 additions and 5 deletions
|
@ -104,16 +104,27 @@ Release made, testing Ant targets of release...
|
|||
<antcall target="test" />
|
||||
</target>
|
||||
|
||||
<!-- all -->
|
||||
<!-- test -->
|
||||
<!-- ======================================================================================= -->
|
||||
<target name="test">
|
||||
<ant dir="${release.dir}" antfile="build/build.xml" target="jar" inheritAll="false">
|
||||
<property name="testdir" value="${release.dir}/.test" />
|
||||
|
||||
<!-- copy the build to a temp dir so we can run sanity tests -->
|
||||
<mkdir dir="${testdir}" />
|
||||
<copy todir="${testdir}">
|
||||
<fileset dir="${release.dir}">
|
||||
<exclude name=".test/**/*.*" />
|
||||
</fileset>
|
||||
</copy>
|
||||
|
||||
<!-- run sanity tests -->
|
||||
<ant dir="${testdir}" antfile="build/build.xml" target="jar" inheritAll="false">
|
||||
<property name="no.test" value="true" />
|
||||
</ant>
|
||||
<ant dir="${release.dir}" antfile="build/build.xml" target="javadoc" inheritAll="false">
|
||||
<ant dir="${testdir}" antfile="build/build.xml" target="javadoc" inheritAll="false">
|
||||
<property name="no.test" value="true" />
|
||||
</ant>
|
||||
<ant dir="${release.dir}" antfile="build/build.xml" target="clean" inheritAll="false">
|
||||
<ant dir="${testdir}" antfile="build/build.xml" target="clean" inheritAll="false">
|
||||
<property name="no.test" value="true" />
|
||||
</ant>
|
||||
|
||||
|
@ -124,5 +135,4 @@ Release made, testing Ant targets of release...
|
|||
</echo>
|
||||
</target>
|
||||
|
||||
|
||||
</project>
|
||||
|
|
Loading…
Reference in a new issue