diff options
author | Marko Grönroos <magi@iki.fi> | 2010-06-30 12:20:07 +0000 |
---|---|---|
committer | Marko Grönroos <magi@iki.fi> | 2010-06-30 12:20:07 +0000 |
commit | 7c58ff3cb5649cd0ee427809991503b13eb5a4d0 (patch) | |
tree | 99f82fe47368f3e8b69e130454bbf5e61c8ca27a /build | |
parent | f2cdd8f99d4e51e1893a9603a09fd4cb5a2faba2 (diff) | |
download | vaadin-framework-7c58ff3cb5649cd0ee427809991503b13eb5a4d0.tar.gz vaadin-framework-7c58ff3cb5649cd0ee427809991503b13eb5a4d0.zip |
Generation of Sampler tests in the build script; #5248.
svn changeset:13975/svn branch:6.4
Diffstat (limited to 'build')
-rw-r--r-- | build/build.xml | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/build/build.xml b/build/build.xml index 7e1929062b..eb1a8253a4 100644 --- a/build/build.xml +++ b/build/build.xml @@ -1159,7 +1159,7 @@ <antcall target="server-side-tests"></antcall> </parallel> </target> - + <target name="server-side-tests" depends="compile-java" unless="tests.serverside.skip"> <junit printsummary="yes"> <classpath> @@ -1172,7 +1172,18 @@ </batchtest> </junit> </target> - <target name="testbench-tests" depends="init" unless="tests.testbench.skip"> + + <target name="generate-sampler-tests" depends="compile-java" if="build.include.tests"> + <java classname="com.vaadin.demo.tools.GenerateSamplerTest" + output="tests/scripts/sampler-all-samples.html"> + <classpath> + <pathelement path="${result-path}/classes" /> + <path refid="compile.classpath"/> + </classpath> + </java> + </target> + + <target name="testbench-tests" depends="init, generate-sampler-tests" unless="tests.testbench.skip"> <fail unless="product-file" message="The 'product-file' property must be defined."/> <fail unless="version" message="The 'version' property must be defined."/> |