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

32 lines
620 B
Plaintext

set -e
#
# run normal mode
#
echo ''
$NXF_RUN | tee stdout
[[ `grep 'INFO' .nextflow.log | grep -c 'Submitted process > sayhello'` == 1 ]] || false
[[ `grep -c 'Hello world!' stdout` == 1 ]] || false
#
# RESUME mode
#
echo ''
$NXF_RUN -resume | tee stdout
[[ `grep 'INFO' .nextflow.log | grep -c 'Cached process > sayhello'` == 1 ]] || false
[[ `grep -c 'Hello world!' stdout` == 1 ]] || false
#
# checks reports
#
echo ''
$NXF_RUN -with-report -with-timeline -with-trace -with-dag | tee stdout
[ -s report-*.html ] || false
[ -s timeline-*.html ] || false
[ -s trace-*.txt ] || false
[ -s dag-*.html ] || false