You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by va...@apache.org on 2007/02/09 11:28:19 UTC

svn commit: r505243 - in /harmony/enhanced/drlvm/trunk: build/make/targets/reg.test.run.xml src/test/regression/README.txt src/test/regression/excludes/

Author: varlax
Date: Fri Feb  9 02:28:19 2007
New Revision: 505243

URL: http://svn.apache.org/viewvc?view=rev&rev=505243
Log:
Applied HARMONY-3136 [drlvm][testing] Regression Testing Framework lacks of exclude lists support

Added:
    harmony/enhanced/drlvm/trunk/src/test/regression/excludes/
Modified:
    harmony/enhanced/drlvm/trunk/build/make/targets/reg.test.run.xml
    harmony/enhanced/drlvm/trunk/src/test/regression/README.txt

Modified: harmony/enhanced/drlvm/trunk/build/make/targets/reg.test.run.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/build/make/targets/reg.test.run.xml?view=diff&rev=505243&r1=505242&r2=505243
==============================================================================
--- harmony/enhanced/drlvm/trunk/build/make/targets/reg.test.run.xml (original)
+++ harmony/enhanced/drlvm/trunk/build/make/targets/reg.test.run.xml Fri Feb  9 02:28:19 2007
@@ -29,15 +29,22 @@
 
     <target name="launch-tests">
         <echo>
-==================================
-     Run regression tests
-==================================
+=====================================
+DRLVM Regression Testing on platform: ${hy.platform}
+=====================================
         </echo>
 
+        <!-- Check for exclude list presence -->
+        <condition property="exclude.list" 
+                   value="${reg.test.src}/excludes/exclude.${hy.platform}">
+            <available file="${reg.test.src}/excludes/exclude.${hy.platform}"/>
+        </condition>
+
         <for param="reg.test.2launch.src.dir">
             <!-- Go through directories containing regression tests -->
             <dirset dir="${reg.test.src}">
                 <include name="H*"/>
+                <excludesfile name="${exclude.list}" if="exclude.list"/>
             </dirset>
             <sequential>
                 <!-- Set up the property pointing to the natives path -->

Modified: harmony/enhanced/drlvm/trunk/src/test/regression/README.txt
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/src/test/regression/README.txt?view=diff&rev=505243&r1=505242&r2=505243
==============================================================================
--- harmony/enhanced/drlvm/trunk/src/test/regression/README.txt (original)
+++ harmony/enhanced/drlvm/trunk/src/test/regression/README.txt Fri Feb  9 02:28:19 2007
@@ -92,3 +92,24 @@
             regression testing framework. The entry point for the test
             is JUnit test implemented by Test.java source file.
 
+
+Test Exclusion
+--------------
+
+If there is a serious reason to exclude some test from regression testing
+it can be done by means of exclude lists placed under 'excludes' directory.
+To exclude the test, say H1234, from regression testing on operating
+system OS running on top of platform PLATFORM just put line 'H1234'
+(without quotes) in file exclude.OS.PLATFORM . That's all. The possible
+values for OS are linux and windows, for PLATFORM are x86 and x86_64 .
+
+
+Test Execution
+--------------
+To execute the Regression Test Suite type
+
+    > build reg.test
+
+in build directory of DRLVM workspace.
+
+