Changeset 49d4af4


Ignore:
Timestamp:
04/13/2007 05:31:41 PM (17 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
Children:
4a8430d
Parents:
459220b
Message:

LFS: Fixed Bash testsuite run.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LFS/lfs.xsl

    r459220b r49d4af4  
    178178        <xsl:text>cp -v ../kernel-config .config&#xA;</xsl:text>
    179179      </xsl:when>
    180       <!-- The Coreutils and Module-Init-Tools test suites are optional -->
     180      <!-- The Bash, Coreutils, and Module-Init-Tools test suites are optional -->
    181181      <xsl:when test="(ancestor::sect1[@id='ch-system-coreutils'] or
    182                 ancestor::sect1[@id='ch-system-module-init-tools']) and
    183                 (contains(string(),'check') or
    184                 contains(string(),'dummy'))">
     182                       ancestor::sect1[@id='ch-system-bash'] or
     183                       ancestor::sect1[@id='ch-system-module-init-tools']) and
     184                      (contains(string(),'check') or contains(string(),'nobody')
     185                       or contains(string(),'dummy'))">
    185186        <xsl:choose>
    186187          <xsl:when test="$testsuite = '0' or $testsuite = '1'"/>
    187188          <xsl:otherwise>
    188             <xsl:if test="not(contains(string(),'check'))">
     189            <xsl:if test="not(contains(string(),'check')) and
     190                          not(contains(string(),'tests'))">
    189191              <xsl:apply-templates/>
    190192              <xsl:text>&#xA;</xsl:text>
    191193            </xsl:if>
     194            <!-- Coreutils and Module-Init-Tools -->
    192195            <xsl:if test="contains(string(),'check')">
    193196              <xsl:choose>
     
    208211              </xsl:choose>
    209212            </xsl:if>
     213            <!-- Bash -->
     214            <xsl:if test="contains(string(),'tests')">
     215              <xsl:choose>
     216                <xsl:when test="$bomb-testsuite = 'n'">
     217                  <xsl:value-of select="substring-before(string(),'tests')"/>
     218                  <xsl:text>-k tests</xsl:text>
     219                  <xsl:value-of select="substring-after(string(),'tests')"/>
     220                  <xsl:text> &gt;&gt; $TEST_LOG 2&gt;&amp;1 || true&#xA;</xsl:text>
     221                </xsl:when>
     222                <xsl:otherwise>
     223                  <xsl:apply-templates/>
     224                  <xsl:text> &gt;&gt; $TEST_LOG 2&gt;&amp;1</xsl:text>
     225                  <xsl:if test="contains(string(),' -k ')">
     226                    <xsl:text> || true</xsl:text>
     227                  </xsl:if>
     228                  <xsl:text>&#xA;</xsl:text>
     229                </xsl:otherwise>
     230              </xsl:choose>
     231            </xsl:if>
    210232          </xsl:otherwise>
    211233        </xsl:choose>
Note: See TracChangeset for help on using the changeset viewer.