Files
ma/nextflow/tests-v1/checks/when-block.nf/.checks
2026-04-29 23:01:54 +02:00

26 lines
562 B
Plaintext

#
# run normal mode
#
$NXF_RUN | tee stdout
[[ `grep INFO .nextflow.log | grep -c 'Submitted process'` == 5 ]] || false
< stdout grep "Bar 0" || false
< stdout grep "Bar 1" || false
< stdout grep "Bar 2" || false
< stdout grep "Foo 3" || false
< stdout grep "Foo 4" || false
#
# run resume mode
#
$NXF_RUN -resume | tee stdout
[[ `grep INFO .nextflow.log | grep -c 'Cached process'` == 5 ]] || false
< stdout grep "Bar 0" || false
< stdout grep "Bar 1" || false
< stdout grep "Bar 2" || false
< stdout grep "Foo 3" || false
< stdout grep "Foo 4" || false