Changeset 056486c for CLFS/clfs.xsl
- Timestamp:
- 08/05/2006 03:42:52 PM (18 years ago)
- Branches:
- experimental
- Children:
- 206c894
- Parents:
- 89ddac0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
CLFS/clfs.xsl
r89ddac0 r056486c 24 24 1 = only Glibc, GCC and Binutils testsuites 25 25 2 = all testsuites 26 3 = alias to 2 --> 26 3 = alias to 2 27 --> 27 28 <xsl:param name="testsuite" select="1"/> 29 30 <!-- Bomb on test suites failures? 31 0 = no, I want to build the full system and review the logs 32 1 = yes, bomb at the first test suite failure to can review the build dir 33 --> 34 <xsl:param name="bomb-testsuite" select="0"/> 28 35 29 36 <!-- Install vim-lang package? --> … … 118 125 contains(string(),'check')) and 119 126 ($testsuite = '2' or $testsuite = '3')"> 120 <xsl:value-of select="substring-before(string(),'make')"/> 121 <xsl:text>make -k</xsl:text> 122 <xsl:value-of select="substring-after(string(),'make')"/> 123 <xsl:text> >> $TEST_LOG 2>&1 || true
</xsl:text> 127 <xsl:choose> 128 <xsl:when test="$bomb-testsuite = '0'"> 129 <xsl:value-of select="substring-before(string(),'make')"/> 130 <xsl:text>make -k</xsl:text> 131 <xsl:value-of select="substring-after(string(),'make')"/> 132 <xsl:text> >> $TEST_LOG 2>&1 || true
</xsl:text> 133 </xsl:when> 134 <xsl:otherwise> 135 <xsl:apply-templates/> 136 <xsl:text> >> $TEST_LOG 2>&1
</xsl:text> 137 </xsl:otherwise> 138 </xsl:choose> 124 139 </xsl:if> 125 140 </xsl:template> … … 173 188 <xsl:when test="$testsuite = '0' or $testsuite = '1'"/> 174 189 <xsl:otherwise> 175 <xsl:apply-templates/> 190 <xsl:if test="not(contains(string(),'check'))"> 191 <xsl:apply-templates/> 192 <xsl:text>
</xsl:text> 193 </xsl:if> 176 194 <xsl:if test="contains(string(),'check')"> 177 <xsl:text> >> $TEST_LOG 2>&1 || true</xsl:text> 195 <xsl:choose> 196 <xsl:when test="$bomb-testsuite = '0'"> 197 <xsl:value-of select="substring-before(string(),'check')"/> 198 <xsl:text>-k check</xsl:text> 199 <xsl:value-of select="substring-after(string(),'check')"/> 200 <xsl:text> >> $TEST_LOG 2>&1 || true
</xsl:text> 201 </xsl:when> 202 <xsl:otherwise> 203 <xsl:apply-templates/> 204 <xsl:text> >> $TEST_LOG 2>&1
</xsl:text> 205 </xsl:otherwise> 206 </xsl:choose> 178 207 </xsl:if> 179 <xsl:text>
</xsl:text>180 208 </xsl:otherwise> 181 209 </xsl:choose> … … 186 214 <xsl:choose> 187 215 <xsl:when test="$testsuite != '0'"> 188 <xsl:text>make -k check >> $TEST_LOG 2>&1 || true
</xsl:text> 216 <xsl:choose> 217 <xsl:when test="$bomb-testsuite = '0'"> 218 <xsl:text>make -k check >> $TEST_LOG 2>&1 || true
</xsl:text> 219 </xsl:when> 220 <xsl:otherwise> 221 <xsl:apply-templates/> 222 <xsl:text> >> $TEST_LOG 2>&1
</xsl:text> 223 </xsl:otherwise> 224 </xsl:choose> 189 225 </xsl:when> 190 226 </xsl:choose> … … 194 230 <xsl:when test="$testsuite != '0'"> 195 231 <xsl:value-of select="substring-before(string(),'>g')"/> 196 <xsl:text>>> $TEST_LOG 2>&1 || true
</xsl:text> 232 <xsl:choose> 233 <xsl:when test="$bomb-testsuite = '0'"> 234 <xsl:text>>> $TEST_LOG 2>&1 || true
</xsl:text> 235 </xsl:when> 236 <xsl:otherwise> 237 <xsl:text>>> $TEST_LOG 2>&1
</xsl:text> 238 </xsl:otherwise> 239 </xsl:choose> 197 240 </xsl:when> 198 241 </xsl:choose> … … 203 246 <xsl:when test="$testsuite != '0'"> 204 247 <xsl:apply-templates/> 205 <xsl:if test="contains(string(),'test_summary')"> 206 <xsl:text> >> $TEST_LOG</xsl:text> 207 </xsl:if> 208 <xsl:text>
</xsl:text> 248 <xsl:text> >> $TEST_LOG
</xsl:text> 209 249 </xsl:when> 210 250 </xsl:choose>
Note:
See TracChangeset
for help on using the changeset viewer.