Changeset ee2c45c


Ignore:
Timestamp:
03/09/2014 08:59:46 AM (10 years ago)
Author:
Pierre Labastie <pierre@…>
Branches:
2.4, ablfs-more, legacy, new_features, trunk
Children:
2ae5bbe
Parents:
2c4be7f
Message:

Tidy up clfs.xsl:

  • add 32 bit critical tests when in multilib
  • allow the "note" in perl to be run only when method=boot, and tests

are asked

  • remove some useless lines
File:
1 edited

Legend:

Unmodified
Added
Removed
  • CLFS/clfs.xsl

    r2c4be7f ree2c45c  
    188188       <xsl:when test="@remap = 'test'">
    189189        <xsl:choose>
     190          <!-- Avoid executing the note before perl tests while in 'chroot' -->
     191          <xsl:when test="ancestor::note[@os='a00'] and $method='chroot'"/>
    190192          <xsl:when test="$testsuite = '0'"/>
    191           <xsl:when test="$testsuite = '1' and
    192                           not(ancestor::sect1[@id='ch-system-gcc']) and
    193                           not(ancestor::sect1[@id='ch-system-eglibc']) and
    194                           not(ancestor::sect1[@id='ch-system-gmp']) and
    195                           not(ancestor::sect1[@id='ch-system-mpfr']) and
    196                           not(ancestor::sect1[@id='ch-system-mpc']) and
    197                           not(ancestor::sect1[@id='ch-system-ppl']) and
    198                           not(ancestor::sect1[@id='ch-system-isl']) and
    199                           not(ancestor::sect1[@id='ch-system-cloog']) and
    200                           not(ancestor::sect1[@id='ch-system-cloog-ppl']) and
    201                           not(ancestor::sect1[@id='ch-system-binutils'])"/>
    202           <xsl:when test="$testsuite = '2' and
    203                           ancestor::chapter[@id='ch-temp-system']"/>
     193          <xsl:when test=
     194            "$testsuite = '1' and
     195              not(ancestor::sect1[@id='ch-system-gcc']) and
     196              not(ancestor::sect1[contains(@id,'ch-system-eglibc')]) and
     197              not(ancestor::sect1[contains(@id,'ch-system-glibc')]) and
     198              not(ancestor::sect1[contains(@id,'ch-system-gmp')]) and
     199              not(ancestor::sect1[contains(@id,'ch-system-mpfr')]) and
     200              not(ancestor::sect1[contains(@id,'ch-system-mpc')]) and
     201              not(ancestor::sect1[contains(@id,'ch-system-ppl')]) and
     202              not(ancestor::sect1[contains(@id,'ch-system-isl')]) and
     203              not(ancestor::sect1[contains(@id,'ch-system-cloog')]) and
     204              not(ancestor::sect1[contains(@id,'ch-system-cloog-ppl')]) and
     205              not(ancestor::sect1[@id='ch-system-binutils'])"/>
    204206          <xsl:otherwise>
    205207            <xsl:choose>
    206208              <xsl:when test="$bomb-testsuite = 'n'">
    207209                <xsl:choose>
    208                   <!-- special case for eglibc -->
    209                   <xsl:when test="contains(string(), 'eglibc-check-log')">
     210                  <!-- special case for (e)glibc -->
     211                  <xsl:when test="contains(string(), 'glibc-check-log')">
    210212                    <xsl:value-of
    211213                       select="substring-before(string(),'2&gt;&amp;1')"/>
     
    240242                <!-- bomb-testsuite != 'n'-->
    241243                <xsl:choose>
    242                   <!-- special case for eglibc -->
    243                   <xsl:when test="contains(string(), 'eglibc-check-log')">
     244                  <!-- special case for (e)glibc -->
     245                  <xsl:when test="contains(string(), 'glibc-check-log')">
    244246                    <xsl:value-of
    245247                       select="substring-before(string(),'2&gt;&amp;1')"/>
     
    278280
    279281      <!-- Fixing toolchain test suites run XXX more to fix -->
    280       <xsl:when test="contains(string(),'eglibc-check-log')">
     282      <xsl:when test="contains(string(),'glibc-check-log')">
    281283        <xsl:choose>
    282284          <xsl:when test="$testsuite != '0'">
     
    339341        <xsl:text>&#xA;</xsl:text>
    340342      </xsl:when>
    341       <!-- Avoid calling hostname in chroot -->
    342       <xsl:when test="ancestor::note[@os='a00']">
    343         <xsl:if test="$method='boot'">
    344           <xsl:apply-templates/>
    345           <xsl:text>&#xA;</xsl:text>
    346         </xsl:if>
    347       </xsl:when>
    348343      <!-- The rest of commands -->
    349344      <xsl:otherwise>
Note: See TracChangeset for help on using the changeset viewer.