diff options
author | Artur Signell <artur.signell@itmill.com> | 2009-10-02 07:58:16 +0000 |
---|---|---|
committer | Artur Signell <artur.signell@itmill.com> | 2009-10-02 07:58:16 +0000 |
commit | 7fe6d676515b00411764e8ed176f550cd9fd246a (patch) | |
tree | fd64ee983d0cb1e7a08ed428765bf41de2d42db1 /tests/test.xml | |
parent | 03cfc852ca326b281085c4723533b3a34af93027 (diff) | |
download | vaadin-framework-7fe6d676515b00411764e8ed176f550cd9fd246a.tar.gz vaadin-framework-7fe6d676515b00411764e8ed176f550cd9fd246a.zip |
Clean temp folder and error images before creating and running tests
svn changeset:9031/svn branch:6.1
Diffstat (limited to 'tests/test.xml')
-rw-r--r-- | tests/test.xml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/test.xml b/tests/test.xml index 2f7317e9d0..6c1b3ca074 100644 --- a/tests/test.xml +++ b/tests/test.xml @@ -22,7 +22,7 @@ </fileset> <!-- This target converts HTML tests files to java junit tests. One test file for each browser is created. --> - <target name="create-tests"> + <target name="create-tests" depends="remove-temp-testclasses"> <fileset id="tests"> <include /> </fileset> @@ -95,7 +95,7 @@ </target> <!-- This target runs the generated and compiled junit tests --> - <target name="execute-tests" depends="compile-tests,remove-error-screens"> + <target name="execute-tests" depends="remove-error-screens,compile-tests"> <junit fork="yes" printsummary="withOutAndErr"> <classpath> <path refid="classpath" /> @@ -122,10 +122,11 @@ </target> <!-- Remove temporary source and compiled java files --> - <target name="remove-temp-files"> + <target name="remove-temp-testclasses"> <delete> <fileset dir="${test-output-dir}"> <include name="**/**.java" /> + <include name="**/**.class" /> </fileset> </delete> </target> @@ -145,7 +146,7 @@ <!-- ================================================================== --> <!-- The default target. --> - <target name="run-and-clean-up" depends="check-parameters, run-tests,remove-temp-files"> + <target name="run-and-clean-up" depends="check-parameters, run-tests,remove-temp-testclasses"> </target> <!-- Also starts the server. --> |