add nextflow d30e48d
This commit is contained in:
20
nextflow/tests/agent-output-error.nf
Normal file
20
nextflow/tests/agent-output-error.nf
Normal file
@@ -0,0 +1,20 @@
|
||||
#!/usr/bin/env nextflow
|
||||
workflow {
|
||||
FAIL()
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* Test for agent output mode error handling (NXF_AGENT_MODE=true)
|
||||
*
|
||||
* This test verifies the error output format in agent mode.
|
||||
* Run with: NXF_AGENT_MODE=true nextflow run agent-output-error.nf
|
||||
*/
|
||||
|
||||
process FAIL {
|
||||
script:
|
||||
"""
|
||||
echo "Error message here" >&2
|
||||
exit 127
|
||||
"""
|
||||
}
|
||||
Reference in New Issue
Block a user