Skip to content

Commit

Permalink
superdsm yields error if 0 ouputs selected
Browse files Browse the repository at this point in the history
  • Loading branch information
kostrykin committed Nov 15, 2023
1 parent de07e01 commit ca28ced
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tools/superdsm/superdsm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@
#if str($config.postprocess_min_object_radius) != '':
--postprocess_min_object_radius '${config.postprocess_min_object_radius}'
#end if
#else
echo "No outputs selected."
exit 1
#end if
]]>
</command>
Expand Down Expand Up @@ -154,7 +157,7 @@
<param name="do_cfg_enabled" value="false" />
<output name="overlay" value="overlay.png" ftype="png" compare="sim_size" />
</test>
<test expect_num_outputs="0">
<test expect_failure="true">
<param name="dataset" value="BBBC033_C2_z28.png" />
<param name="do_masks_enabled" value="false" />
<param name="do_overlay_enabled" value="false" />
Expand Down

0 comments on commit ca28ced

Please sign in to comment.