add nextflow d30e48d
This commit is contained in:
18
nextflow/tests-v1/checks/dyn-mem.nf/.checks
Normal file
18
nextflow/tests-v1/checks/dyn-mem.nf/.checks
Normal file
@@ -0,0 +1,18 @@
|
||||
set -e
|
||||
|
||||
#
|
||||
# run normal mode
|
||||
#
|
||||
$NXF_RUN -process.debug | tee stdout
|
||||
|
||||
[[ `< .nextflow.log grep -c 'Submitted process'` == 2 ]] || false
|
||||
[[ `< stdout grep 'task=.small.txt mem=100 MB'` ]] || false
|
||||
[[ `< stdout grep 'task=.big.txt mem=200 MB'` ]] || false
|
||||
|
||||
#
|
||||
# run resume mode
|
||||
#
|
||||
$NXF_RUN -process.debug -resume | tee stdout
|
||||
|
||||
[[ `< .nextflow.log grep -c 'Cached process'` == 2 ]] || false
|
||||
|
||||
Reference in New Issue
Block a user