Skip to content

Commit 25178c7

Browse files
isurufwjakob
authored andcommitted
Fix the tests for 2.5.0
1 parent 91f9201 commit 25178c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

recipe/meta.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ test:
3232
commands:
3333
- test -f ${PREFIX}/share/cmake/pybind11/pybind11Config.cmake # [unix]
3434
- if exist %LIBRARY_PREFIX%\share\cmake\pybind11\pybind11Config.cmake (exit 0) else (exit 1) # [win]
35-
- test $(python -c "import pybind11 as py; print(py.get_include())") == "${PREFIX}/include" # [unix]
36-
- test $(python -c "import pybind11 as py; print(py.get_include())") == "%LIBRARY_PREFIX%\include" # [win]
35+
- test -f ${PREFIX}/include/pybind11/pybind11.h # [unix]
36+
- if exist %LIBRARY_INC%\pybind11\pybind11.h (exit 0) else (exit 1) # [win]
3737
- test -f $(python -c "import pybind11 as py; print(py.get_include())")/pybind11/pybind11.h # [unix]
3838
- if exist $(python -c "import pybind11 as py; print(py.get_include())")\pybind11\pybind11.h (exit 0) else (exit 1) # [win]
3939

0 commit comments

Comments
 (0)