Add more commands to test and actually run them.
@@ -37,16 +37,27 @@ requirements:
run:
- boost-cpp
- construct >=2.9
+ - matplotlib-base
- python
+ - pyyaml
- requests
# pulled in by gnuradio-core and linked against, so include explicitly
- log4cpp
test:
commands:
- # verify that binaries get installed
- - test -f $PREFIX/bin/gr_satellites # [not win]
- - if not exist %PREFIX%\\Library\\bin\\gr_satellites.exe exit 1 # [win]
+ # verify that commands run (will print usage statement)
+ {% set commands = [
+ "gr_satellites",
+ "jy1sat_ssdv.py", # [not win]
+ "jy1sat_ssdv", # [win]
+ "smog_p_spectrum.py", # [not win]
+ "smog_p_spectrum", # [win]
+ ] %}
+ {% for cmd in commands %}
+ - {{ cmd }} || ec=$?; if [ $ec -gt 1 ]; then exit $ec; fi # [not win]
+ - {{ cmd }} || if !ERRORLEVEL! LEQ 1 cmd /c "exit /b 0" # [win]
+ {% endfor %}
# verify that (some) headers get installed
- test -f $PREFIX/include/satellites/api.h # [not win]
