Просмотр исходного кода

better processing for libs

[SVN r36849]
Misha Bergal 19 лет назад
Родитель
Сommit
debeb117dc
1 измененных файлов с 3 добавлено и 6 удалено
  1. 3 6
      tools/regression/xsl_reports/xsl/v2/add_expected_results.xsl

+ 3 - 6
tools/regression/xsl_reports/xsl/v2/add_expected_results.xsl

@@ -33,19 +33,16 @@ http://www.boost.org/LICENSE_1_0.txt)
                 <xsl:when test="$type='compile' or $type='compile_fail'  or $test_log/compile/@result='fail' ">
                     <xsl:value-of select="count( $test_log/compile ) = 1 and count( $test_log/link) = 0 and count( $test_log/run) = 0"/>
                 </xsl:when>
-                <xsl:when test="$type='link' or $type='link_fail'  or $test_log/link/@result='fail' ">
+                <xsl:when test="$type='link' or $type='link_fail' or $type='' or $test_log/link/@result='fail' ">
                     <xsl:value-of select="count( $test_log/compile) = 1  and count( $test_log/link) = 1 and count( $test_log/run) = 0"/></xsl:when>
                 <xsl:when test="$type='run' or $type='run_fail' ">
                     <xsl:value-of select="count( $test_log/compile) = 1  and count( $test_log/link)  = 1 and count($test_log/run) = 1 "/>
                 </xsl:when>
-                <xsl:when test="$type=''"> <!-- library -->
-                    <xsl:value-of select="count( $test_log/compile) = 1  and count( $test_log/link) = 1"/>
-                </xsl:when>
-                <xsl:when test="$type=''"> <!-- library -->
+                <xsl:otherwise> 
                     <xsl:message terminate="yes">
                         Unknown test type "<xsl:value-of select="$type"/>
                     </xsl:message>
-                </xsl:when>
+                </xsl:otherwise>
             </xsl:choose>
         </func:result>            
     </func:function>

粤ICP备19079148号