[jhalfs] 05/06: BLFS: prevent gcc tests failure from stopping the build

"Git Owner" ([email protected] via alfs-discuss Mailing List) <[email protected]> Thu, 30 Apr 2026 18:53:28 +0000
Newsgroups gmane.linux.lfs.automated
Message-ID <[email protected]>
This is a multi-part message in MIME format...

------------=_1777575224-1253-27474
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch trunk
in repository jhalfs.

commit 4e034dfd6d64cb98312f30984bbdff4ff8697638
Author: Pierre Labastie <[email protected]>
AuthorDate: Thu Apr 30 08:38:18 2026 +0200

    BLFS: prevent gcc tests failure from stopping the build
---
 BLFS/xsl/scripts.xsl | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/BLFS/xsl/scripts.xsl b/BLFS/xsl/scripts.xsl
index f6f0733..bc81f38 100644
--- a/BLFS/xsl/scripts.xsl
+++ b/BLFS/xsl/scripts.xsl
@@ -1100,6 +1100,12 @@ sleep 5</xsl:text>
 mdbpw
 PW_EOF</xsl:text>
         </xsl:if>
+        <!-- prevent gcc tests to stop the build if failing (which
+             is more than likely). -->
+        <xsl:if test="ancestor::sect1[@id='gcc'] and
+                      contains($out-string,'check')">
+          <xsl:text> || true</xsl:text>
+        </xsl:if>
       </xsl:otherwise>
     </xsl:choose>
   </xsl:template>

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

------------=_1777575224-1253-27474
Content-Type: text/plain; charset="UTF-8"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0

-- 
http://lists.linuxfromscratch.org/sympa/info/alfs-discuss
Unsubscribe: See the above information page
------------=_1777575224-1253-27474--