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

21 lines
528 B
Plaintext

set -e
#
# run normal mode
#
$NXF_RUN $WITH_DOCKER | tee .stdout
[[ `grep INFO .nextflow.log | grep -c 'Submitted process > blast'` == 5 ]] || false
[[ `grep INFO .nextflow.log | grep -c 'Submitted process > sort'` == 1 ]] || false
diff .expected .stdout || false
#
# run resume mode
#
$NXF_RUN $WITH_DOCKER -resume | tee .stdout
[[ `grep INFO .nextflow.log | grep -c 'Cached process > blast'` == 5 ]] || false
[[ `grep INFO .nextflow.log | grep -c 'Cached process > sort'` == 1 ]] || false
diff .expected .stdout || false