You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by he...@apache.org on 2005/02/14 10:59:12 UTC
svn commit: r153756 - in webservices/axis/trunk/java/dev/scratch/perf-suite:
build.xml common/TestSuite.java
Author: hemapani
Date: Mon Feb 14 01:59:09 2005
New Revision: 153756
URL: http://svn.apache.org/viewcvs?view=rev&rev=153756
Log:
update the to run given test
Modified:
webservices/axis/trunk/java/dev/scratch/perf-suite/build.xml
webservices/axis/trunk/java/dev/scratch/perf-suite/common/TestSuite.java
Modified: webservices/axis/trunk/java/dev/scratch/perf-suite/build.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/perf-suite/build.xml?view=diff&r1=153755&r2=153756
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/perf-suite/build.xml (original)
+++ webservices/axis/trunk/java/dev/scratch/perf-suite/build.xml Mon Feb 14 01:59:09 2005
@@ -37,6 +37,7 @@
</path>
<target name="init">
+ <echo message="to have one test runing only have the System property set to e.g. -Dinclude=end2end|load|loadincrease"></echo>
<mkdir dir="${build}"/>
<mkdir dir="${axis.classes}"/>
<mkdir dir="${axis2.classes}"/>
Modified: webservices/axis/trunk/java/dev/scratch/perf-suite/common/TestSuite.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/perf-suite/common/TestSuite.java?view=diff&r1=153755&r2=153756
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/perf-suite/common/TestSuite.java (original)
+++ webservices/axis/trunk/java/dev/scratch/perf-suite/common/TestSuite.java Mon Feb 14 01:59:09 2005
@@ -30,9 +30,20 @@
public void runSuite() throws IOException{
writer.write("Starting the Suite at "+ new SimpleDateFormat("yyyy.MM.dd G 'at' HH:mm:ss z").format(new Date())+"\n");
- endToEndTest();
- //loadIncreaseTest();
- loadTest();
+ String includes = System.getProperty("include");
+ if(includes == null){
+ endToEndTest();
+ loadIncreaseTest();
+ loadTest();
+ }else{
+ if("end2end".equals(includes)){
+ endToEndTest();
+ }else if("load".equals(includes)){
+ loadTest();
+ }else{
+ loadIncreaseTest();
+ }
+ }
writer.write("Starting the Suite at "+ new SimpleDateFormat("yyyy.MM.dd G 'at' HH:mm:ss z").format(new Date())+"\n");
}