Fixup tests for executable
@@ -34,14 +34,17 @@ test:
- test -f $PREFIX/include/brunsli/decode.h # [unix]
- test -f $PREFIX/lib/libbrunslienc-c${SHLIB_EXT} # [unix]
- test -f $PREFIX/lib/libbrunslidec-c${SHLIB_EXT} # [unix]
- - cbrunsli --help
- - dbrunsli --help
+ # Executable aways returns 1
+ - which cbrunsli # [unix]
+ - which dbrunsli # [unix]
- if not exist %LIBRARY_INC%\brunsli\encode.h exit 1 # [win]
- if not exist %LIBRARY_INC%\brunsli\decode.h exit 1 # [win]
- if not exist %LIBRARY_LIB%\brunslienc-c$.lib exit 1 # [win]
- if not exist %LIBRARY_LIB%\brunslidec-c$.lib exit 1 # [win]
- if not exist %LIBRARY_BIN%\brunslienc-c$.dll exit 1 # [win]
- if not exist %LIBRARY_BIN%\brunslidec-c$.dll exit 1 # [win]
+ - where cbrunsli # [win]
+ - where dbrunsli # [win]
about:
home: https://github.com/google/brunsli
