Files
2026-04-29 23:01:54 +02:00

30 lines
1019 B
Plaintext

#
# run normal mode
#
echo ''
$NXF_RUN -process.debug | tee stdout
[[ `< .nextflow.log grep -c 'Submitted process > foo'` == 1 ]] || false
[[ `< .nextflow.log grep -c 'Submitted process > bar (1)'` == 1 ]] || false
[[ `< .nextflow.log grep -c 'Submitted process > bar (2)'` == 1 ]] || false
[[ `< .nextflow.log grep -c 'Submitted process > bar (3)'` == 1 ]] || false
[[ `< stdout grep -c 'Hello1'` == 1 ]] || false
[[ `< stdout grep -c 'Hello2'` == 1 ]] || false
[[ `< stdout grep -c 'Hello3'` == 1 ]] || false
#
# RESUME mode
#
echo ''
$NXF_RUN -resume -process.debug | tee stdout
[[ `< .nextflow.log grep -c 'Cached process > foo'` == 1 ]] || false
[[ `< .nextflow.log grep -c 'Cached process > bar (1)'` == 1 ]] || false
[[ `< .nextflow.log grep -c 'Cached process > bar (2)'` == 1 ]] || false
[[ `< .nextflow.log grep -c 'Cached process > bar (3)'` == 1 ]] || false
[[ `< stdout grep -c 'Hello1'` == 1 ]] || false
[[ `< stdout grep -c 'Hello2'` == 1 ]] || false
[[ `< stdout grep -c 'Hello3'` == 1 ]] || false