simplify command tests
@@ -31,12 +31,8 @@ requirements:
test:
commands:
# verify that commands run (will print usage statement)
- {% set cmds = ["m17-mod --help", "m17-demod --help"] %}
- {% for cmd in cmds %}
- - ec=0; {{ cmd }} || ec=$?; if [ $ec -ne 0 ]; then exit $ec; fi # [not win]
- - {{ cmd }} || if !ERRORLEVEL! LEQ 1 cmd /c "exit /b 0" # [win]
- {% endfor %}
-
+ - m17-mod --help
+ - m17-demod --help
# verify that (some) headers get installed
- test -f $PREFIX/include/m17cxx/M17Modulator.h # [not win]
- if not exist %PREFIX%\\Library\\include\\m17cxx\\M17Modulator.h exit 1 # [win]
