Clean up test section of YAML
@@ -58,17 +58,16 @@ test:
imports:
- veloxchem
commands:
- # Verify existence and execution
+ # verify existence
- test -d $SP_DIR/veloxchem # [unix]
- ls -l $SP_DIR/veloxchem # [unix]
- test -f $PREFIX/bin/vlx # [unix]
- - $PREFIX/bin/vlx --version # [unix]
- - $PREFIX/bin/vlx --help # [unix]
- if not exist %SP_DIR%\\veloxchem exit 1 # [win]
- dir %SP_DIR%\\veloxchem # [win]
- if not exist %SCRIPTS%\\vlx.exe exit 1 # [win]
- - call %SCRIPTS%\\vlx.exe --version # [win]
- - call %SCRIPTS%\\vlx.exe --help # [win]
+ # verify we can execute the CLI
+ - vlx --version
+ - vlx --help
# Inspect linkage
- export PYLIB_EXT=`$PYTHON -c 'from numpy import distutils; print(distutils.misc_util.get_shared_lib_extension(is_python_ext=True))'` # [unix]
- ldd -v $SP_DIR/veloxchem/veloxchemlib$PYLIB_EXT # [linux]
