Move `test` commands later on
@@ -37,9 +37,6 @@ test:
imports:
- xcfun
commands:
- # Verify library
- - test -L $PREFIX/lib/libxcfun$SHLIB_EXT # [unix]
- - test -f $SP_DIR/xcfun/_xcfun*$SHLIB_EXT # [unix]
# Inspect linkage
- ldd -v $PREFIX/lib/libxcfun$SHLIB_EXT # [linux]
- otool -L $PREFIX/lib/libxcfun$SHLIB_EXT # [osx]
@@ -48,6 +45,9 @@ test:
- ls -l $SP_DIR/xcfun # [unix]
- ldd -v $SP_DIR/xcfun/_xcfun*$SHLIB_EXT # [linux]
- otool -L $SP_DIR/xcfun/_xcfun*$SHLIB_EXT # [osx]
+ # Verify library
+ - test -L $PREFIX/lib/libxcfun$SHLIB_EXT # [unix]
+ - test -f $SP_DIR/xcfun/_xcfun*$SHLIB_EXT # [unix]
# Actually test
- python -m pytest --pyargs xcfun
