Commit 0157ef5
authored
Only add gcov flag when it's specified (#183)
Solve problems running in environments without gcov.
Fix numpy tests on [x86-64, LP64 OpenBLAS
(MSVC)](https://github.com/numpy/numpy/actions/runs/8966988031/job/24623596948?pr=26388#logs)
and [x86-64, LP64 OpenBLAS
(Clang-cl)](https://github.com/numpy/numpy/actions/runs/8966988031/job/24623597659?pr=26388#logs)
```
Run spin test
spin test
shell: C:\Program Files\PowerShell\7\pwsh.EXE -command ". '{0}'"
env:
pythonLocation: C:\hostedtoolcache\windows\Python\3.11.9\x64
PKG_CONFIG_PATH: D:\a\numpy\numpy/.openblas
Python_ROOT_DIR: C:\hostedtoolcache\windows\Python\3.11.9\x64
Python2_ROOT_DIR: C:\hostedtoolcache\windows\Python\3.11.9\x64
Python3_ROOT_DIR: C:\hostedtoolcache\windows\Python\3.11.9\x64
Invoking `build` prior to running tests:
Error: build() got an unexpected keyword argument 'gcov'; aborting.
Error: Process completed with exit code 1.
```1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
433 | 433 | | |
434 | 434 | | |
435 | 435 | | |
436 | | - | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
437 | 440 | | |
438 | 441 | | |
439 | 442 | | |
| |||
0 commit comments