add nextflow d30e48d
This commit is contained in:
30
nextflow/tests/checks/task-ext.nf/.checks
Normal file
30
nextflow/tests/checks/task-ext.nf/.checks
Normal file
@@ -0,0 +1,30 @@
|
||||
set -e
|
||||
|
||||
#
|
||||
# initial run
|
||||
#
|
||||
$NXF_RUN -c ../../task-ext.config --value foo | tee .stdout
|
||||
|
||||
[[ `grep INFO .nextflow.log | grep -c 'Submitted process'` == 1 ]] || false
|
||||
|
||||
grep 'args = --some-param foo' .stdout
|
||||
|
||||
|
||||
#
|
||||
# resumed run (same value)
|
||||
#
|
||||
$NXF_RUN -c ../../task-ext.config --value foo -resume | tee .stdout
|
||||
|
||||
[[ `grep INFO .nextflow.log | grep -c 'Cached process'` == 1 ]] || false
|
||||
|
||||
grep 'args = --some-param foo' .stdout
|
||||
|
||||
|
||||
#
|
||||
# resumed run (new value)
|
||||
#
|
||||
$NXF_RUN -c ../../task-ext.config --value bar -resume | tee .stdout
|
||||
|
||||
[[ `grep INFO .nextflow.log | grep -c 'Submitted process'` == 1 ]] || false
|
||||
|
||||
grep 'args = --some-param bar' .stdout
|
||||
Reference in New Issue
Block a user