Skip to content

Commit b0e3d99

Browse files
committed
Provide bless_tests.patch for failing tests
1 parent 9e1c961 commit b0e3d99

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

appveyor/test_task.bat

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,4 +118,11 @@ set EXIT_CODE=%errorlevel%
118118

119119
appveyor PushArtifact %TEST_PHP_JUNIT%
120120

121+
if %EXIT_CODE% GEQ 1 (
122+
git checkout .
123+
nmake run ARGS="scripts\dev\bless_tests.php ."
124+
git diff > bless_tests.patch
125+
appveyor PushArtifact bless_tests.patch
126+
)
127+
121128
exit /b %EXIT_CODE%

0 commit comments

Comments
 (0)