Skip to content
This repository was archived by the owner on Jul 7, 2018. It is now read-only.

Commit 91eed6f

Browse files
committed
Add test-report.sh alternative PowerShell block to appveyor
1 parent 12e632a commit 91eed6f

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

appveyor.yml

+14
Original file line numberDiff line numberDiff line change
@@ -70,3 +70,17 @@ test_script:
7070
- set NO_INTERACTION=1
7171
- set REPORT_EXIT_STATUS=1
7272
- "%OUTDIR%\\php.exe run-tests.php -p %OUTDIR%\\php.exe ext/ref/tests/ -d extension=php_ref.dll -d extension_dir=%OUTDIR%\\"
73+
74+
on_failure:
75+
- cd c:\projects\php-sdk\php-ref-ci\vc14\x86\php-%PHP_VERSION%\ext\ref\tests
76+
- ps: |
77+
$Result = Get-ChildItem .\* -Include *.diff, *.out, *.mem | sort $Name | ForEach-Object {
78+
Write-Output "FILE: $_"
79+
Get-Content $_
80+
Write-Output " "
81+
}
82+
83+
If ($Result.length) {
84+
Write-Output $Result
85+
exit 1
86+
}

0 commit comments

Comments
 (0)