mirror of
https://github.com/RYDE-WORK/pybind11.git
synced 2026-02-06 23:56:59 +08:00
Merge pull request #351 from dean0x7d/fix-win-test-capture
Workaround for random failure of pytest capture on Windows
This commit is contained in:
commit
b692896fc7
@ -29,4 +29,5 @@ install:
|
|||||||
build_script:
|
build_script:
|
||||||
- cmake -A "%CMAKE_ARCH%" -DPYBIND11_WERROR=ON
|
- cmake -A "%CMAKE_ARCH%" -DPYBIND11_WERROR=ON
|
||||||
- set MSBuildLogger="C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
|
- set MSBuildLogger="C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
|
||||||
|
- set PYTEST_ADDOPTS="-s" # workaround for pytest capture issue, see #351
|
||||||
- cmake --build . --config Release --target pytest -- /v:m /logger:%MSBuildLogger%
|
- cmake --build . --config Release --target pytest -- /v:m /logger:%MSBuildLogger%
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user