add nextflow d30e48d
This commit is contained in:
13
nextflow/tests-v1/checks/error-ignore-then-fail.nf/.checks
Normal file
13
nextflow/tests-v1/checks/error-ignore-then-fail.nf/.checks
Normal file
@@ -0,0 +1,13 @@
|
||||
set -e
|
||||
|
||||
set +e
|
||||
echo ''
|
||||
$NXF_CMD -q run $NXF_SCRIPT -c .config > stdout
|
||||
status=$?
|
||||
set -e
|
||||
|
||||
[ $status -ne 0 ] || false
|
||||
|
||||
[[ `< .nextflow.log grep -c 'Submitted process > foo'` == 3 ]] || false
|
||||
[[ `< .nextflow.log grep -c 'Submitted process > bar'` == 1 ]] || false
|
||||
[[ `< .nextflow.log grep -c 'Error is ignored'` == 1 ]] || false
|
||||
@@ -0,0 +1,6 @@
|
||||
workflow {
|
||||
failOnIgnore = true
|
||||
}
|
||||
process {
|
||||
errorStrategy = 'ignore'
|
||||
}
|
||||
Reference in New Issue
Block a user