add nextflow d30e48d
This commit is contained in:
19
nextflow/tests/checks/subworkflow-take.nf/.checks
Normal file
19
nextflow/tests/checks/subworkflow-take.nf/.checks
Normal file
@@ -0,0 +1,19 @@
|
||||
set -e
|
||||
|
||||
rm * || true
|
||||
$NXF_RUN | tee stdout
|
||||
|
||||
[[ `grep INFO .nextflow.log | grep -c 'process > flow1:foo'` == 1 ]] || false
|
||||
[[ `grep INFO .nextflow.log | grep -c 'process > flow1:bar'` == 1 ]] || false
|
||||
[[ `grep INFO .nextflow.log | grep -c 'process > flow2:foo'` == 1 ]] || false
|
||||
[[ `grep INFO .nextflow.log | grep -c 'process > flow2:bar'` == 1 ]] || false
|
||||
|
||||
|
||||
rm * || true
|
||||
$NXF_RUN -resume | tee stdout
|
||||
|
||||
[[ `grep INFO .nextflow.log | grep -c 'Cached process > flow1:foo'` == 1 ]] || false
|
||||
[[ `grep INFO .nextflow.log | grep -c 'Cached process > flow1:bar'` == 1 ]] || false
|
||||
[[ `grep INFO .nextflow.log | grep -c 'Cached process > flow2:foo'` == 1 ]] || false
|
||||
[[ `grep INFO .nextflow.log | grep -c 'Cached process > flow2:bar'` == 1 ]] || false
|
||||
|
||||
Reference in New Issue
Block a user