forked from galaxyproject/galaxy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
3 changed files
with
34 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<tool id="tool_deleting_output" name="tool_deleting_output" version="0.1.0" license="AFL-3.0" profile="21.09"> | ||
<command><![CDATA[ | ||
rm '$out_file1' && | ||
exit $exit_code | ||
]]></command> | ||
<inputs> | ||
<param name="exit_code" type="integer" value="0"/> | ||
</inputs> | ||
<outputs> | ||
<data name="out_file1" format="txt" /> | ||
</outputs> | ||
<tests> | ||
<test expect_exit_code="0" expect_failure="true"> | ||
<param name="exit_code" value="0"/> | ||
<!-- <output name="out_file1"> | ||
<assert_contents> | ||
<has_size value="0"/> | ||
</assert_contents> | ||
</output> --> | ||
</test> | ||
<test expect_exit_code="1" expect_failure="true"> | ||
<param name="exit_code" value="1"/> | ||
</test> | ||
</tests> | ||
<help><![CDATA[ | ||
This tool tests what happens if the underlying program removes the output data set, | ||
it should fail independent of the exit code and the exit code should be correctly checked. | ||
With outputs_to_working_directory this provoked https://github.com/galaxyproject/galaxy/issues/14206 | ||
]]></help> | ||
</tool> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters