Skip to content

Commit

Permalink
add test for pipeline output used in branch variable
Browse files Browse the repository at this point in the history
  • Loading branch information
ssadedin committed Jul 20, 2014
1 parent 048e1d4 commit 67129e4
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/branch_variable_output/cleanup.sh
@@ -0,0 +1 @@
rm *.vcf
5 changes: 5 additions & 0 deletions tests/branch_variable_output/run.sh
@@ -0,0 +1,5 @@
source ../testsupport.sh

run

exists stage_one.stage_23.vcf
13 changes: 13 additions & 0 deletions tests/branch_variable_output/test.groovy
@@ -0,0 +1,13 @@
stage_one = {
exec "touch $output.vcf"
branch.stage_one_output = output.vcf
}

stage_23 = {
from(stage_one_output) {
exec "cp $input.vcf $output.vcf"
}
}

run { stage_one + stage_23 }

0 comments on commit 67129e4

Please sign in to comment.