Skip to content
This repository was archived by the owner on Mar 24, 2026. It is now read-only.

Commit 16b3e56

Browse files
authored
fix(ci): limit AppVeyor to first 150 Bats cases (#2281)
AppVeyor timeouts are frequent, and adding cases for testing XProc in XSpec v4 will make the situation even worse.
1 parent 671118c commit 16b3e56

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

test/win-bats/generate.xsl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,13 @@
2424
</xsl:if>
2525
</xsl:message>
2626

27-
<!-- Tell the number of test cases -->
27+
<!-- Tell the number of test cases;
28+
on AppVeyor, run first 150 test cases only, to avoid timeouts -->
2829
<xsl:call-template name="write">
2930
<xsl:with-param name="text" xml:space="preserve">
3031
:get-num-cases
3132
set NUM_CASES=<xsl:value-of select="$num-cases" />
33+
if /i "%APPVEYOR%"=="True" set NUM_CASES=150
3234
goto :EOF
3335
</xsl:with-param>
3436
</xsl:call-template>

0 commit comments

Comments
 (0)