add nextflow d30e48d
This commit is contained in:
31
nextflow/tests/checks/hello.nf/.checks
Normal file
31
nextflow/tests/checks/hello.nf/.checks
Normal file
@@ -0,0 +1,31 @@
|
||||
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
|
||||
Reference in New Issue
Block a user