Changeset e35e794 for CLFS/clfs.xsl


Ignore:
Timestamp:
06/04/2006 05:59:02 PM (18 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
experimental
Children:
9199a13
Parents:
4fe29a2
Message:

Merged r2750 from trunk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CLFS/clfs.xsl

    r4fe29a2 re35e794  
    3131
    3232  <!-- Time zone -->
    33   <xsl:param name="timezone" select="America/Toronto"/>
     33  <xsl:param name="timezone" select="GMT"/>
    3434
    3535  <!-- Page size -->
     
    3737
    3838  <!-- Locale settings -->
    39   <xsl:param name="lang" select="en_CA"/>
     39  <xsl:param name="lang" select="C"/>
    4040
    4141  <xsl:template match="/">
     
    121121      <xsl:text>make -k</xsl:text>
    122122      <xsl:value-of select="substring-after(string(),'make')"/>
    123       <xsl:text> || true&#xA;</xsl:text>
     123      <xsl:text> &gt;&gt; $TEST_LOG 2&gt;&amp;1 || true&#xA;</xsl:text>
    124124    </xsl:if>
    125125  </xsl:template>
     
    166166      <xsl:when test="contains(string(),'menuconfig')"/>
    167167      <!-- The Coreutils and Module-Init-Tools test suites are optional -->
    168       <xsl:when test="($testsuite = '0' or $testsuite = '1') and
    169                 (ancestor::sect1[@id='ch-system-coreutils'] or
     168      <xsl:when test="(ancestor::sect1[@id='ch-system-coreutils'] or
    170169                ancestor::sect1[@id='ch-system-module-init-tools']) and
    171170                (contains(string(),'check') or
    172                 contains(string(),'dummy'))"/>
     171                contains(string(),'dummy'))">
     172        <xsl:choose>
     173          <xsl:when test="$testsuite = '0' or $testsuite = '1'"/>
     174          <xsl:otherwise>
     175            <xsl:apply-templates/>
     176            <xsl:if test="contains(string(),'check')">
     177              <xsl:text> &gt;&gt; $TEST_LOG 2&gt;&amp;1 || true</xsl:text>
     178            </xsl:if>
     179            <xsl:text>&#xA;</xsl:text>
     180          </xsl:otherwise>
     181        </xsl:choose>
     182      </xsl:when>
    173183      <!-- Fixing toolchain test suites run -->
    174184      <xsl:when test="string() = 'make check' or
     
    176186        <xsl:choose>
    177187          <xsl:when test="$testsuite != '0'">
    178             <xsl:text>make -k check || true&#xA;</xsl:text>
     188            <xsl:text>make -k check &gt;&gt; $TEST_LOG 2&gt;&amp;1 || true&#xA;</xsl:text>
    179189          </xsl:when>
    180190        </xsl:choose>
     
    183193        <xsl:choose>
    184194          <xsl:when test="$testsuite != '0'">
    185             <xsl:value-of select="substring-before(string(),';')"/>
    186             <xsl:text> || true&#xA;</xsl:text>
    187             <xsl:value-of select="substring-after(string(),';')"/>
    188             <xsl:text>&#xA;</xsl:text>
     195            <xsl:value-of select="substring-before(string(),'&gt;g')"/>
     196            <xsl:text>&gt;&gt; $TEST_LOG 2&gt;&amp;1 || true&#xA;</xsl:text>
    189197          </xsl:when>
    190198        </xsl:choose>
     
    195203          <xsl:when test="$testsuite != '0'">
    196204            <xsl:apply-templates/>
     205            <xsl:if test="contains(string(),'test_summary')">
     206              <xsl:text> &gt;&gt; $TEST_LOG</xsl:text>
     207            </xsl:if>
    197208            <xsl:text>&#xA;</xsl:text>
    198209          </xsl:when>
Note: See TracChangeset for help on using the changeset viewer.