Author: vrockai
Date: 2009-03-23 12:33:38 -0400 (Mon, 23 Mar 2009)
New Revision: 13069
Modified:
branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/build.xml
Log:
debug flag in build.xml
Modified: branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/build.xml
===================================================================
--- branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/build.xml 2009-03-23 16:25:42 UTC
(rev 13068)
+++ branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/build.xml 2009-03-23 16:33:38 UTC
(rev 13069)
@@ -11,6 +11,7 @@
<property name="testng.dir" location="testng-files" />
<property name="testng.output.dir" location="test-output"
/>
+ <property name="testng.debug.dir" location="debug" />
<property name="test.build.dir" location="output/classes"
/>
<property name="test.src.dir" location="src" />
<property name="lib.dir" location="lib" />
@@ -65,6 +66,7 @@
<echo message="Screenshot : ${screenshot}" />
<echo message="Deleting testng report directory" />
<delete dir="${testng.output.dir}" />
+ <delete dir="${testng.debug.dir}" />
</target>
@@ -148,11 +150,13 @@
<echo message="Runing TestNG" />
<mkdir dir="test-output" />
+ <mkdir dir="debug" />
<testng classpathref="test.cp" sourcedir="${test.src.dir}"
outputdir="${testng.output.dir}"
listeners="org.jboss.portal.test.selenium.JBossSeleniumTestListener"
suitename="SeleniumSingleTest" verbose="2">
<classfileset dir="${test.build.dir}"
includes="${testname}" />
<sysproperty key="browser" value="${browser}" />
<sysproperty key="screenshot" value="${screenshot}"
/>
+ <sysproperty key="debug" value="${debug}" />
<sysproperty key="workspace" value="${workspace}"
/>
<sysproperty key="userCount" value="${userCount}"
/>
<sysproperty key="html-src" value="${html-src}" />
@@ -167,12 +171,14 @@
<echo message="Runing TestNG" />
<mkdir dir="test-output" />
+ <mkdir dir="debug" />
<testng classpathref="test.cp" sourcedir="${test.src.dir}"
outputdir="${testng.output.dir}" suitename="SeleniumSuite">
<xmlfileset dir="." includes="${test.suite}" />
<sysproperty key="browser" value="${browser}" />
<sysproperty key="screenshot" value="${screenshot}"
/>
+ <sysproperty key="debug" value="${debug}" />
<sysproperty key="workspace" value="${workspace}"
/>
<sysproperty key="userCount" value="${userCount}"
/>
<sysproperty key="html-src" value="${html-src}" />
@@ -189,12 +195,15 @@
<echo message="Runing TestNG" />
<mkdir dir="test-output" />
+ <mkdir dir="debug" />
+
<testng classpathref="test.cp" sourcedir="${test.src.dir}"
outputdir="${testng.output.dir}" suitename="SeleniumSuite">
<xmlfileset dir="." includes="${usecase.suite}" />
<sysproperty key="browser" value="${browser}" />
<sysproperty key="screenshot" value="${screenshot}"
/>
+ <sysproperty key="debug" value="${debug}" />
<sysproperty key="workspace" value="${workspace}"
/>
<sysproperty key="userCount" value="${userCount}"
/>
<sysproperty key="html-src" value="${html-src}" />
Show replies by date