add nextflow d30e48d
This commit is contained in:
28
nextflow/tests/checks/input.nf/.checks
Normal file
28
nextflow/tests/checks/input.nf/.checks
Normal file
@@ -0,0 +1,28 @@
|
||||
set -e
|
||||
|
||||
#
|
||||
# run normal mode
|
||||
#
|
||||
echo ''
|
||||
$NXF_RUN | tee stdout
|
||||
|
||||
[[ `grep 'INFO' .nextflow.log | grep -c 'Submitted process > foo'` == 2 ]] || false
|
||||
|
||||
[[ `grep -c '1 - a' stdout` == 1 ]] || false
|
||||
[[ `grep -c '1 - b' stdout` == 1 ]] || false
|
||||
[[ `grep -c 'foo out: a' stdout` == 1 ]] || false
|
||||
[[ `grep -c 'foo out: b' stdout` == 1 ]] || false
|
||||
|
||||
|
||||
#
|
||||
# RESUME mode
|
||||
#
|
||||
echo ''
|
||||
$NXF_RUN -resume | tee stdout
|
||||
|
||||
[[ `grep 'INFO' .nextflow.log | grep -c 'Cached process > foo'` == 2 ]] || false
|
||||
|
||||
[[ `grep -c '1 - a' stdout` == 1 ]] || false
|
||||
[[ `grep -c '1 - b' stdout` == 1 ]] || false
|
||||
[[ `grep -c 'foo out: a' stdout` == 1 ]] || false
|
||||
[[ `grep -c 'foo out: b' stdout` == 1 ]] || false
|
||||
Reference in New Issue
Block a user