HLFS: revised testsuites run.
This commit is contained in:
parent
7e5ea15f45
commit
ff43bb8088
1 changed files with 11 additions and 18 deletions
|
@ -234,15 +234,19 @@
|
||||||
</xsl:choose>
|
</xsl:choose>
|
||||||
</xsl:when>
|
</xsl:when>
|
||||||
<!-- Fixing butterfly toolchain test suites run -->
|
<!-- Fixing butterfly toolchain test suites run -->
|
||||||
<xsl:when test="string() = 'make -k check' or string() = 'make check'">
|
<xsl:when test="string() = 'make -k check'
|
||||||
|
or string() = 'make check'
|
||||||
|
or string() = 'make tests'">
|
||||||
<xsl:choose>
|
<xsl:choose>
|
||||||
<xsl:when test="$testsuite != '0'">
|
<xsl:when test="(ancestor::sect1[@id='ch-system-butterfly-toolchain']
|
||||||
<xsl:apply-templates/>
|
and $testsuite != '0') or
|
||||||
|
$testsuite = '2' or $testsuite = '3'">
|
||||||
<xsl:choose>
|
<xsl:choose>
|
||||||
<xsl:when test="$bomb-testsuite = 'n'">
|
<xsl:when test="$bomb-testsuite = 'n'">
|
||||||
<xsl:text> >> $TEST_LOG 2>&1 || true
</xsl:text>
|
<xsl:text>make -k check >> $TEST_LOG 2>&1 || true
</xsl:text>
|
||||||
</xsl:when>
|
</xsl:when>
|
||||||
<xsl:otherwise>
|
<xsl:otherwise>
|
||||||
|
<xsl:apply-templates/>
|
||||||
<xsl:text> >> $TEST_LOG 2>&1</xsl:text>
|
<xsl:text> >> $TEST_LOG 2>&1</xsl:text>
|
||||||
<xsl:if test="contains(string(),' -k ')">
|
<xsl:if test="contains(string(),' -k ')">
|
||||||
<xsl:text> || true</xsl:text>
|
<xsl:text> || true</xsl:text>
|
||||||
|
@ -257,23 +261,12 @@
|
||||||
<xsl:when test="contains(string(),'glibc-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(),'> glibc-')"/>
|
<xsl:value-of select="substring-before(string(),'2>&1')"/>
|
||||||
<xsl:choose>
|
<xsl:text>>> $TEST_LOG 2>&1 || true
</xsl:text>
|
||||||
<xsl:when test="$bomb-testsuite = 'n'">
|
|
||||||
<xsl:text> >> $TEST_LOG 2>&1 || true
</xsl:text>
|
|
||||||
</xsl:when>
|
|
||||||
<xsl:otherwise>
|
|
||||||
<xsl:text> >> $TEST_LOG 2>&1</xsl:text>
|
|
||||||
<xsl:if test="contains(string(),' -k ')">
|
|
||||||
<xsl:text> || true</xsl:text>
|
|
||||||
</xsl:if>
|
|
||||||
<xsl:text>
</xsl:text>
|
|
||||||
</xsl:otherwise>
|
|
||||||
</xsl:choose>
|
|
||||||
</xsl:when>
|
</xsl:when>
|
||||||
</xsl:choose>
|
</xsl:choose>
|
||||||
</xsl:when>
|
</xsl:when>
|
||||||
<!-- Don't stop on strip run and chapter05 GCC installation test-->
|
<!-- Don't stop on strip run -->
|
||||||
<xsl:when test="contains(string(),'strip ') or
|
<xsl:when test="contains(string(),'strip ') or
|
||||||
ancestor::sect2[@id='testing-gcc'] and
|
ancestor::sect2[@id='testing-gcc'] and
|
||||||
not(contains(string(),'EOF'))">
|
not(contains(string(),'EOF'))">
|
||||||
|
|
Reference in a new issue