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
This commit is contained in:
parent
2c4be7f2b5
commit
ee2c45c751
1 changed files with 20 additions and 25 deletions
|
@ -187,26 +187,28 @@
|
||||||
<!-- test instructions -->
|
<!-- test instructions -->
|
||||||
<xsl:when test="@remap = 'test'">
|
<xsl:when test="@remap = 'test'">
|
||||||
<xsl:choose>
|
<xsl:choose>
|
||||||
|
<!-- Avoid executing the note before perl tests while in 'chroot' -->
|
||||||
|
<xsl:when test="ancestor::note[@os='a00'] and $method='chroot'"/>
|
||||||
<xsl:when test="$testsuite = '0'"/>
|
<xsl:when test="$testsuite = '0'"/>
|
||||||
<xsl:when test="$testsuite = '1' and
|
<xsl:when test=
|
||||||
|
"$testsuite = '1' and
|
||||||
not(ancestor::sect1[@id='ch-system-gcc']) and
|
not(ancestor::sect1[@id='ch-system-gcc']) and
|
||||||
not(ancestor::sect1[@id='ch-system-eglibc']) and
|
not(ancestor::sect1[contains(@id,'ch-system-eglibc')]) and
|
||||||
not(ancestor::sect1[@id='ch-system-gmp']) and
|
not(ancestor::sect1[contains(@id,'ch-system-glibc')]) and
|
||||||
not(ancestor::sect1[@id='ch-system-mpfr']) and
|
not(ancestor::sect1[contains(@id,'ch-system-gmp')]) and
|
||||||
not(ancestor::sect1[@id='ch-system-mpc']) and
|
not(ancestor::sect1[contains(@id,'ch-system-mpfr')]) and
|
||||||
not(ancestor::sect1[@id='ch-system-ppl']) and
|
not(ancestor::sect1[contains(@id,'ch-system-mpc')]) and
|
||||||
not(ancestor::sect1[@id='ch-system-isl']) and
|
not(ancestor::sect1[contains(@id,'ch-system-ppl')]) and
|
||||||
not(ancestor::sect1[@id='ch-system-cloog']) and
|
not(ancestor::sect1[contains(@id,'ch-system-isl')]) and
|
||||||
not(ancestor::sect1[@id='ch-system-cloog-ppl']) and
|
not(ancestor::sect1[contains(@id,'ch-system-cloog')]) and
|
||||||
|
not(ancestor::sect1[contains(@id,'ch-system-cloog-ppl')]) and
|
||||||
not(ancestor::sect1[@id='ch-system-binutils'])"/>
|
not(ancestor::sect1[@id='ch-system-binutils'])"/>
|
||||||
<xsl:when test="$testsuite = '2' and
|
|
||||||
ancestor::chapter[@id='ch-temp-system']"/>
|
|
||||||
<xsl:otherwise>
|
<xsl:otherwise>
|
||||||
<xsl:choose>
|
<xsl:choose>
|
||||||
<xsl:when test="$bomb-testsuite = 'n'">
|
<xsl:when test="$bomb-testsuite = 'n'">
|
||||||
<xsl:choose>
|
<xsl:choose>
|
||||||
<!-- special case for eglibc -->
|
<!-- special case for (e)glibc -->
|
||||||
<xsl:when test="contains(string(), 'eglibc-check-log')">
|
<xsl:when test="contains(string(), 'glibc-check-log')">
|
||||||
<xsl:value-of
|
<xsl:value-of
|
||||||
select="substring-before(string(),'2>&1')"/>
|
select="substring-before(string(),'2>&1')"/>
|
||||||
<xsl:text>>> $TEST_LOG 2>&1 || true
</xsl:text>
|
<xsl:text>>> $TEST_LOG 2>&1 || true
</xsl:text>
|
||||||
|
@ -239,8 +241,8 @@
|
||||||
<xsl:otherwise>
|
<xsl:otherwise>
|
||||||
<!-- bomb-testsuite != 'n'-->
|
<!-- bomb-testsuite != 'n'-->
|
||||||
<xsl:choose>
|
<xsl:choose>
|
||||||
<!-- special case for eglibc -->
|
<!-- special case for (e)glibc -->
|
||||||
<xsl:when test="contains(string(), 'eglibc-check-log')">
|
<xsl:when test="contains(string(), 'glibc-check-log')">
|
||||||
<xsl:value-of
|
<xsl:value-of
|
||||||
select="substring-before(string(),'2>&1')"/>
|
select="substring-before(string(),'2>&1')"/>
|
||||||
<xsl:text>>> $TEST_LOG 2>&1 || true
</xsl:text>
|
<xsl:text>>> $TEST_LOG 2>&1 || true
</xsl:text>
|
||||||
|
@ -277,7 +279,7 @@
|
||||||
<!-- End of test instructions -->
|
<!-- End of test instructions -->
|
||||||
|
|
||||||
<!-- Fixing toolchain test suites run XXX more to fix -->
|
<!-- Fixing toolchain test suites run XXX more to fix -->
|
||||||
<xsl:when test="contains(string(),'eglibc-check-log')">
|
<xsl:when test="contains(string(),'glibc-check-log')">
|
||||||
<xsl:choose>
|
<xsl:choose>
|
||||||
<xsl:when test="$testsuite != '0'">
|
<xsl:when test="$testsuite != '0'">
|
||||||
<xsl:value-of select="substring-before(string(),'2>')"/>
|
<xsl:value-of select="substring-before(string(),'2>')"/>
|
||||||
|
@ -338,13 +340,6 @@
|
||||||
<xsl:value-of select="substring-after(string(),'make ')"/>
|
<xsl:value-of select="substring-after(string(),'make ')"/>
|
||||||
<xsl:text>
</xsl:text>
|
<xsl:text>
</xsl:text>
|
||||||
</xsl:when>
|
</xsl:when>
|
||||||
<!-- Avoid calling hostname in chroot -->
|
|
||||||
<xsl:when test="ancestor::note[@os='a00']">
|
|
||||||
<xsl:if test="$method='boot'">
|
|
||||||
<xsl:apply-templates/>
|
|
||||||
<xsl:text>
</xsl:text>
|
|
||||||
</xsl:if>
|
|
||||||
</xsl:when>
|
|
||||||
<!-- The rest of commands -->
|
<!-- The rest of commands -->
|
||||||
<xsl:otherwise>
|
<xsl:otherwise>
|
||||||
<xsl:apply-templates/>
|
<xsl:apply-templates/>
|
||||||
|
|
Reference in a new issue