aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test.xml
diff options
context:
space:
mode:
authorMarko Grönroos <magi@iki.fi>2010-04-21 23:35:28 +0000
committerMarko Grönroos <magi@iki.fi>2010-04-21 23:35:28 +0000
commitfa29940ad16e912f3faeef9b096573cd91be3f4c (patch)
tree563e2f2d1d10109826676aca8d9e2f288cce6696 /tests/test.xml
parent095f404a997b17beff56cfa2404932fbcd5dae06 (diff)
downloadvaadin-framework-fa29940ad16e912f3faeef9b096573cd91be3f4c.tar.gz
vaadin-framework-fa29940ad16e912f3faeef9b096573cd91be3f4c.zip
Don't run tests if server does not start. Fixes #3780.
svn changeset:12742/svn branch:6.3
Diffstat (limited to 'tests/test.xml')
-rw-r--r--tests/test.xml8
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/test.xml b/tests/test.xml
index 92b3ad8b76..fd2f262e84 100644
--- a/tests/test.xml
+++ b/tests/test.xml
@@ -36,7 +36,7 @@
</fileset>
<!-- This target converts HTML tests files to java junit tests. One test file for each browser is created. -->
- <target name="create-tests" depends="remove-temp-testclasses">
+ <target name="create-tests" depends="remove-temp-testclasses" if="server.start.succeeded">
<fileset id="tests">
<include />
</fileset>
@@ -105,7 +105,7 @@
<fail unless="com.vaadin.testbench.deployment.url" message="The 'com.vaadin.testbench.deployment.url' property must be defined." />
</target>
- <target name="run-tests" depends="compile-tests">
+ <target name="run-tests" depends="compile-tests" if="server.start.succeeded">
<foreach maxthreads="20" parallel="true" target="execute-tests" param="target">
<path>
<fileset dir="${test-output-dir}" includes="**/**.java" />
@@ -164,7 +164,9 @@
<!-- ================================================================== -->
<!-- The default target. -->
- <target name="run-and-clean-up" depends="check-parameters,remove-error-screens,run-tests,remove-temp-testclasses">
+ <target name="run-and-clean-up"
+ depends="check-parameters,remove-error-screens,run-tests,remove-temp-testclasses"
+ if="server.start.succeeded">
</target>
<!-- Also starts the server. -->