summaryrefslogtreecommitdiffstats
path: root/uitest/tb3test.xml
diff options
context:
space:
mode:
authorJohn Ahlroos <john@vaadin.com>2013-09-30 14:45:43 +0300
committerVaadin Code Review <review@vaadin.com>2013-10-02 08:05:35 +0000
commitd0e604f6b509767c46ffe0fd6765cf23535f593e (patch)
tree432c432bc6c3efd505e90de9c2df7c1be40b25f9 /uitest/tb3test.xml
parent600f5f3238ecca22a8e7890d0656b0a23bd7dbba (diff)
downloadvaadin-framework-d0e604f6b509767c46ffe0fd6765cf23535f593e.tar.gz
vaadin-framework-d0e604f6b509767c46ffe0fd6765cf23535f593e.zip
Only print testbench failure TeamCity messages when running in TC
Change-Id: Ifa04ce512743bc8ccddea0bdca7b82cceaff150e
Diffstat (limited to 'uitest/tb3test.xml')
-rw-r--r--uitest/tb3test.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/uitest/tb3test.xml b/uitest/tb3test.xml
index 92008ff9f3..de69e0ebe6 100644
--- a/uitest/tb3test.xml
+++ b/uitest/tb3test.xml
@@ -19,12 +19,21 @@
<target name="run-tb3-suite">
<fail unless="junit.test.suite" message="Define suite to run using junit.test.suite" />
<fail unless="com.vaadin.testbench.screenshot.directory" message="Define screenshot directory using -Dcom.vaadin.testbench.screenshot.directory" />
+
+ <!-- Ensure teamcity.version is set to something -->
+ <condition property="teamcity.version" value="">
+ <not>
+ <isset property="teamcity.version" />
+ </not>
+ </condition>
+
<junit printsummary="withOutAndErr" fork="yes">
<formatter usefile="false" type="plain" />
<classpath refid="classpath.tb3" />
<jvmarg value="-Dcom.vaadin.testbench.screenshot.directory=${com.vaadin.testbench.screenshot.directory}" />
<jvmarg value="-Djava.awt.headless=true" />
+ <jvmarg value="-Dteamcity.version=${teamcity.version}" />
<test name="${junit.test.suite}" />
</junit>