Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions tools/fail/.shed.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
categories:
- Tool Dependency Packages
description: A tool that just fails
homepage_url: https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fail
name: fail
owner: mbernt
remote_repository_url: https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/fail
exclude:
- exclude.txt
- exclude2.txt
22 changes: 22 additions & 0 deletions tools/fail/fail.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<tool id="fail" name="fail" version="0.1.2">
<requirements>
</requirements>
<command detect_errors="exit_code"><![CDATA[
echo "" > $out_file1 &&
sh -c "exit $code"
]]></command>
<inputs>
<param name="code" type="integer" value=""/>
</inputs>
<outputs>
<data format="tabular" name="out_file1" />
</outputs>
<tests>
<test expect_failure="true" expect_exit_code="4">
<param name="code" value="4"/>
</test>
</tests>
<help><![CDATA[
TODO: Fill in help.
]]></help>
</tool>
1 change: 1 addition & 0 deletions tools/fail/test-data/out
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@