Changeset 1d5f3e3 for LFS/lfs.xsl
- Timestamp:
- 01/07/2018 08:20:12 PM (7 years ago)
- Branches:
- ablfs-more, legacy, trunk
- Children:
- 489bdc2
- Parents:
- 4b2a5fd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LFS/lfs.xsl
r4b2a5fd r1d5f3e3 412 412 </xsl:when> 413 413 <!-- test instructions --> 414 <xsl:when test="@remap = 'test'"> 415 <xsl:choose> 416 <xsl:when test="$testsuite = '0'"/> 417 <xsl:when test="$testsuite = '1' and 414 <xsl:when test="@remap = 'test'"> 415 <xsl:if test="$testsuite = '0' or 416 $testsuite = '1' and 418 417 not(ancestor::sect1[@id='ch-system-gcc']) and 419 418 not(ancestor::sect1[@id='ch-system-glibc']) and 420 419 not(ancestor::sect1[@id='ch-system-gmp']) and 421 420 not(ancestor::sect1[@id='ch-system-mpfr']) and 422 not(ancestor::sect1[@id='ch-system-binutils'])"/> 423 <xsl:when test="$testsuite = '2' and 424 ancestor::chapter[@id='chapter-temporary-tools']"/> 425 <xsl:otherwise> 421 not(ancestor::sect1[@id='ch-system-binutils']) or 422 $testsuite = '2' and 423 ancestor::chapter[@id='chapter-temporary-tools']"> 424 <xsl:text># </xsl:text> 425 </xsl:if> 426 <xsl:choose> 427 <xsl:when test="$bomb-testsuite = 'n'"> 426 428 <xsl:choose> 427 <xsl:when test="$bomb-testsuite = 'n'"> 428 <xsl:choose> 429 <!-- special case for glibc --> 430 <xsl:when test="contains(string(), 'glibc-check-log')"> 431 <xsl:value-of 432 select="substring-before(string(),'2>&1')"/> 433 <xsl:text>>> $TEST_LOG 2>&1 || true
</xsl:text> 434 </xsl:when> 435 <!-- special case for procps-ng --> 436 <xsl:when test="contains(string(), 'pushd')"> 437 <xsl:text>{ </xsl:text> 438 <xsl:apply-templates/> 439 <xsl:text>; } >> $TEST_LOG 2>&1 || true
</xsl:text> 440 </xsl:when> 441 <xsl:when test="contains(string(), 'make -k')"> 442 <xsl:apply-templates/> 443 <xsl:text> >> $TEST_LOG 2>&1 || true
</xsl:text> 444 </xsl:when> 445 <xsl:when test="contains(string(), 'make')"> 446 <xsl:value-of select="substring-before(string(),'make')"/> 447 <xsl:text>make -k</xsl:text> 448 <xsl:value-of select="substring-after(string(),'make')"/> 449 <xsl:text> >> $TEST_LOG 2>&1 || true
</xsl:text> 450 </xsl:when> 451 <xsl:otherwise> 452 <xsl:apply-templates/> 453 <xsl:if test="not(contains(string(), '>>'))"> 454 <xsl:text> >> $TEST_LOG 2>&1</xsl:text> 455 </xsl:if> 456 <xsl:text>
</xsl:text> 457 </xsl:otherwise> 458 </xsl:choose> 429 <!-- special case for glibc --> 430 <xsl:when test="contains(string(), 'glibc-check-log')"> 431 <xsl:value-of 432 select="substring-before(string(),'2>&1')"/> 433 <xsl:text>>> $TEST_LOG 2>&1 || true
</xsl:text> 434 </xsl:when> 435 <!-- special case for procps-ng --> 436 <xsl:when test="contains(string(), 'pushd')"> 437 <xsl:text>{ </xsl:text> 438 <xsl:apply-templates/> 439 <xsl:text>; } >> $TEST_LOG 2>&1 || true
</xsl:text> 440 </xsl:when> 441 <xsl:when test="contains(string(), 'make -k')"> 442 <xsl:apply-templates/> 443 <xsl:text> >> $TEST_LOG 2>&1 || true
</xsl:text> 444 </xsl:when> 445 <xsl:when test="contains(string(), 'make')"> 446 <xsl:value-of select="substring-before(string(),'make')"/> 447 <xsl:text>make -k</xsl:text> 448 <xsl:value-of select="substring-after(string(),'make')"/> 449 <xsl:text> >> $TEST_LOG 2>&1 || true
</xsl:text> 459 450 </xsl:when> 460 451 <xsl:otherwise> 461 <!-- bomb-testsuite != 'n'--> 462 <xsl:choose> 463 <!-- special case for glibc --> 464 <xsl:when test="contains(string(), 'glibc-check-log')"> 465 <xsl:value-of 466 select="substring-before(string(),'2>&1')"/> 467 <xsl:text>>> $TEST_LOG 2>&1 || true
</xsl:text> 468 </xsl:when> 469 <!-- special case for gmp --> 470 <xsl:when test="contains(string(), 'tee gmp-check-log')"> 471 <xsl:text>(</xsl:text> 472 <xsl:apply-templates/> 473 <xsl:text>>> $TEST_LOG 2>&1 && exit $PIPESTATUS)
</xsl:text> 474 </xsl:when> 475 <!-- special case for procps-ng --> 476 <xsl:when test="contains(string(), 'pushd')"> 477 <xsl:text>{ </xsl:text> 478 <xsl:apply-templates/> 479 <xsl:text>; } >> $TEST_LOG 2>&1
</xsl:text> 480 </xsl:when> 481 <xsl:when test="contains(string(), 'make -k')"> 482 <xsl:apply-templates/> 483 <xsl:text> >> $TEST_LOG 2>&1 || true
</xsl:text> 484 </xsl:when> 485 <xsl:otherwise> 486 <xsl:apply-templates/> 487 <xsl:if test="not(contains(string(), '>>'))"> 488 <xsl:text> >> $TEST_LOG 2>&1</xsl:text> 489 </xsl:if> 490 <xsl:text>
</xsl:text> 491 </xsl:otherwise> 492 </xsl:choose> 452 <xsl:apply-templates/> 453 <xsl:if test="not(contains(string(), '>>'))"> 454 <xsl:text> >> $TEST_LOG 2>&1</xsl:text> 455 </xsl:if> 456 <xsl:text>
</xsl:text> 493 457 </xsl:otherwise> 494 458 </xsl:choose> 495 </xsl:otherwise> 459 </xsl:when> 460 <xsl:otherwise> 461 <!-- bomb-testsuite != 'n'--> 462 <xsl:choose> 463 <!-- special case for glibc --> 464 <xsl:when test="contains(string(), 'glibc-check-log')"> 465 <xsl:value-of 466 select="substring-before(string(),'2>&1')"/> 467 <xsl:text>>> $TEST_LOG 2>&1 || true
</xsl:text> 468 </xsl:when> 469 <!-- special case for gmp --> 470 <xsl:when test="contains(string(), 'tee gmp-check-log')"> 471 <xsl:text>(</xsl:text> 472 <xsl:apply-templates/> 473 <xsl:text>>> $TEST_LOG 2>&1 && exit $PIPESTATUS)
</xsl:text> 474 </xsl:when> 475 <!-- special case for procps-ng --> 476 <xsl:when test="contains(string(), 'pushd')"> 477 <xsl:text>{ </xsl:text> 478 <xsl:apply-templates/> 479 <xsl:text>; } >> $TEST_LOG 2>&1
</xsl:text> 480 </xsl:when> 481 <xsl:when test="contains(string(), 'make -k')"> 482 <xsl:apply-templates/> 483 <xsl:text> >> $TEST_LOG 2>&1 || true
</xsl:text> 484 </xsl:when> 485 <xsl:otherwise> 486 <xsl:apply-templates/> 487 <xsl:if test="not(contains(string(), '>>'))"> 488 <xsl:text> >> $TEST_LOG 2>&1</xsl:text> 489 </xsl:if> 490 <xsl:text>
</xsl:text> 491 </xsl:otherwise> 492 </xsl:choose> 493 </xsl:otherwise> <!-- end not bomb-test=n --> 496 494 </xsl:choose> 497 495 </xsl:when>
Note:
See TracChangeset
for help on using the changeset viewer.