- Timestamp:
- 08/05/2006 03:42:52 PM (18 years ago)
- Branches:
- experimental
- Children:
- 206c894
- Parents:
- 89ddac0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LFS/lfs.xsl
r89ddac0 r056486c 18 18 1 = only chapter06 Glibc, GCC and Binutils testsuites 19 19 2 = all chapter06 testsuites 20 3 = all chapter05 and chapter06 testsuites--> 20 3 = all chapter05 and chapter06 testsuites 21 --> 21 22 <xsl:param name="testsuite" select="1"/> 23 24 <!-- Bomb on test suites failures? 25 0 = no, I want to build the full system and review the logs 26 1 = yes, bomb at the first test suite failure to can review the build dir 27 --> 28 <xsl:param name="bomb-testsuite" select="0"/> 22 29 23 30 <!-- Install vim-lang package? --> … … 110 117 ancestor::chapter[@id='chapter-building-system']) or 111 118 $testsuite = '3')"> 112 <xsl:value-of select="substring-before(string(),'make')"/> 113 <xsl:text>make -k</xsl:text> 114 <xsl:value-of select="substring-after(string(),'make')"/> 115 <xsl:text> >> $TEST_LOG 2>&1 || true
</xsl:text> 119 <xsl:choose> 120 <xsl:when test="$bomb-testsuite = '0'"> 121 <xsl:value-of select="substring-before(string(),'make')"/> 122 <xsl:text>make -k</xsl:text> 123 <xsl:value-of select="substring-after(string(),'make')"/> 124 <xsl:text> >> $TEST_LOG 2>&1 || true
</xsl:text> 125 </xsl:when> 126 <xsl:otherwise> 127 <xsl:apply-templates/> 128 <xsl:text> >> $TEST_LOG 2>&1
</xsl:text> 129 </xsl:otherwise> 130 </xsl:choose> 116 131 </xsl:if> 117 132 </xsl:template> … … 155 170 <xsl:when test="$testsuite = '0' or $testsuite = '1'"/> 156 171 <xsl:otherwise> 157 <xsl:apply-templates/> 172 <xsl:if test="not(contains(string(),'check'))"> 173 <xsl:apply-templates/> 174 <xsl:text>
</xsl:text> 175 </xsl:if> 158 176 <xsl:if test="contains(string(),'check')"> 159 <xsl:text> >> $TEST_LOG 2>&1 || true</xsl:text> 177 <xsl:choose> 178 <xsl:when test="$bomb-testsuite = '0'"> 179 <xsl:value-of select="substring-before(string(),'check')"/> 180 <xsl:text>-k check</xsl:text> 181 <xsl:value-of select="substring-after(string(),'check')"/> 182 <xsl:text> >> $TEST_LOG 2>&1 || true
</xsl:text> 183 </xsl:when> 184 <xsl:otherwise> 185 <xsl:apply-templates/> 186 <xsl:text> >> $TEST_LOG 2>&1
</xsl:text> 187 </xsl:otherwise> 188 </xsl:choose> 160 189 </xsl:if> 161 <xsl:text>
</xsl:text>162 190 </xsl:otherwise> 163 191 </xsl:choose> … … 170 198 ancestor::chapter[@id='chapter-building-system']) or 171 199 $testsuite = '3'"> 172 <xsl:text>make -k check >> $TEST_LOG 2>&1 || true
</xsl:text> 200 <xsl:choose> 201 <xsl:when test="$bomb-testsuite = '0'"> 202 <xsl:text>make -k check >> $TEST_LOG 2>&1 || true
</xsl:text> 203 </xsl:when> 204 <xsl:otherwise> 205 <xsl:apply-templates/> 206 <xsl:text> >> $TEST_LOG 2>&1
</xsl:text> 207 </xsl:otherwise> 208 </xsl:choose> 173 209 </xsl:when> 174 210 </xsl:choose> … … 189 225 $testsuite = '3'"> 190 226 <xsl:apply-templates/> 191 <xsl:if test="contains(string(),'test_summary')"> 192 <xsl:text> >> $TEST_LOG</xsl:text> 193 </xsl:if> 194 <xsl:text>
</xsl:text> 227 <xsl:text> >> $TEST_LOG
</xsl:text> 195 228 </xsl:when> 196 229 </xsl:choose>
Note:
See TracChangeset
for help on using the changeset viewer.