- Timestamp:
- 08/05/2006 03:42:52 PM (18 years ago)
- Branches:
- experimental
- Children:
- 206c894
- Parents:
- 89ddac0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
HLFS/hlfs.xsl
r89ddac0 r056486c 27 27 1 = only chapter06 Glibc, GCC and Binutils testsuites 28 28 2 = all chapter06 testsuites 29 3 = alias to 2 --> 29 3 = alias to 2 30 --> 30 31 <xsl:param name="testsuite" select="1"/> 32 33 <!-- Bomb on test suites failures? 34 0 = no, I want to build the full system and review the logs 35 1 = yes, bomb at the first test suite failure to can review the build dir 36 --> 37 <xsl:param name="bomb-testsuite" select="0"/> 31 38 32 39 <!-- Time zone --> … … 136 143 contains(string(),'check')) and 137 144 ($testsuite = '2' or $testsuite = '3')"> 138 <xsl:value-of select="substring-before(string(),'make')"/> 139 <xsl:text>make -k</xsl:text> 140 <xsl:value-of select="substring-after(string(),'make')"/> 141 <xsl:text> >> $TEST_LOG 2>&1 || true
</xsl:text> 145 <xsl:choose> 146 <xsl:when test="$bomb-testsuite = '0'"> 147 <xsl:value-of select="substring-before(string(),'make')"/> 148 <xsl:text>make -k</xsl:text> 149 <xsl:value-of select="substring-after(string(),'make')"/> 150 <xsl:text> >> $TEST_LOG 2>&1 || true
</xsl:text> 151 </xsl:when> 152 <xsl:otherwise> 153 <xsl:apply-templates/> 154 <xsl:text> >> $TEST_LOG 2>&1
</xsl:text> 155 </xsl:otherwise> 156 </xsl:choose> 142 157 </xsl:if> 143 158 </xsl:template> … … 206 221 <xsl:when test="$testsuite = '0' or $testsuite = '1'"/> 207 222 <xsl:otherwise> 208 <xsl:apply-templates/> 223 <xsl:if test="not(contains(string(),'check'))"> 224 <xsl:apply-templates/> 225 <xsl:text>
</xsl:text> 226 </xsl:if> 209 227 <xsl:if test="contains(string(),'check')"> 210 <xsl:text> >> $TEST_LOG 2>&1 || true</xsl:text> 228 <xsl:choose> 229 <xsl:when test="$bomb-testsuite = '0'"> 230 <xsl:value-of select="substring-before(string(),'check')"/> 231 <xsl:text>-k check</xsl:text> 232 <xsl:value-of select="substring-after(string(),'check')"/> 233 <xsl:text> >> $TEST_LOG 2>&1 || true
</xsl:text> 234 </xsl:when> 235 <xsl:otherwise> 236 <xsl:apply-templates/> 237 <xsl:text> >> $TEST_LOG 2>&1
</xsl:text> 238 </xsl:otherwise> 239 </xsl:choose> 211 240 </xsl:if> 212 <xsl:text>
</xsl:text>213 241 </xsl:otherwise> 214 242 </xsl:choose> … … 218 246 <xsl:choose> 219 247 <xsl:when test="$testsuite != '0'"> 220 <xsl:text>make -k check >> $TEST_LOG 2>&1 || true
</xsl:text> 248 <xsl:apply-templates/> 249 <xsl:choose> 250 <xsl:when test="$bomb-testsuite = '0'"> 251 <xsl:text> >> $TEST_LOG 2>&1 || true
</xsl:text> 252 </xsl:when> 253 <xsl:otherwise> 254 <xsl:text> >> $TEST_LOG 2>&1
</xsl:text> 255 </xsl:otherwise> 256 </xsl:choose> 221 257 </xsl:when> 222 258 </xsl:choose> … … 227 263 <xsl:when test="$testsuite != '0'"> 228 264 <xsl:value-of select="substring-before(string(),'> glibc-')"/> 229 <xsl:text>>> $TEST_LOG 2>&1 || true
</xsl:text> 265 <xsl:choose> 266 <xsl:when test="$bomb-testsuite = '0'"> 267 <xsl:text> >> $TEST_LOG 2>&1 || true
</xsl:text> 268 </xsl:when> 269 <xsl:otherwise> 270 <xsl:text> >> $TEST_LOG 2>&1
</xsl:text> 271 </xsl:otherwise> 272 </xsl:choose> 230 273 </xsl:when> 231 274 </xsl:choose>
Note:
See TracChangeset
for help on using the changeset viewer.