-
Notifications
You must be signed in to change notification settings - Fork 999
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15482 from bernt-matthias/test/profile-format-input
Add framework test for profile behavior of `format="input"`
- Loading branch information
Showing
5 changed files
with
96 additions
and
45 deletions.
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
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,26 @@ | ||
<tool id="output_format_input" name="output_format_input" version="1.0" profile="21.01"> | ||
<!-- test format="input" for the profile version where the format is set to "input" | ||
(for legacy tools, i.e. profile <16.04, the format of a ramdom input is used) --> | ||
<description></description> | ||
<command> | ||
cat '$input' > '$output' | ||
</command> | ||
<inputs> | ||
<param format="tabular" name="input" type="data" label="Select cells from"/> | ||
</inputs> | ||
<outputs> | ||
<data format="input" name="output" metadata_source="input" /> | ||
</outputs> | ||
<tests> | ||
<test> | ||
<param name="input" value="simple_line.txt" ftype="txt" /> | ||
<output name="output" file="simple_line.txt" ftype="input"/> | ||
</test> | ||
<test> | ||
<param name="input" value="simple_line.txt" ftype="tabular" /> | ||
<output name="output" file="simple_line.txt" ftype="input"/> | ||
</test> | ||
</tests> | ||
<help> | ||
</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
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