mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Outputs must specify name and must be specified in the same order with the Twill variant. This second restriction is entirely arbitrary using API so dropping it here. Adding tool demonstrating this functionality (test/functional/tools/output_order.xml) which fails with twill interactor but works fine with API interactor.
26 lines
671 B
XML
26 lines
671 B
XML
<tool id="output_order" name="output_order" version="0.1.0">
|
|
<command>echo $pa > $output_a; echo $pb > $output_b</command>
|
|
<inputs>
|
|
<param name="pa" type="integer" value="1" />
|
|
<param name="pb" type="integer" value="2" />
|
|
</inputs>
|
|
<outputs>
|
|
<data format="txt" name="output_a" />
|
|
<data format="txt" name="output_b" />
|
|
</outputs>
|
|
<tests>
|
|
<test>
|
|
<output name="output_b">
|
|
<assert_contents>
|
|
<has_line line="2" />
|
|
</assert_contents>
|
|
</output>
|
|
<output name="output_a">
|
|
<assert_contents>
|
|
<has_line line="1" />
|
|
</assert_contents>
|
|
</output>
|
|
</test>
|
|
</tests>
|
|
</tool>
|