Update for selectors
@@ -46,14 +46,11 @@ requirements:
test:
commands:
# 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 %}
+ {% set cmds = ["gr_satellites"] %}
+ {% set cmds = cmds + ["jy1sat_ssdv.py", "smog_p_spectrum.py"] %} # [not win]
+ {% set cmds = cmds + ["jy1sat_ssdv", "smog_p_spectrum"] %} # [win]
+ {% for cmd in cmds %}
+
- {{ cmd }} || ec=$?; if [ $ec -gt 1 ]; then exit $ec; fi # [not win]
- {{ cmd }} || if !ERRORLEVEL! LEQ 1 cmd /c "exit /b 0" # [win]
{% endfor %}
