Debian Codegraph @

tests/functional/cylc-cat-log/02-remote-custom-runtime-viewer-pbs/flow.cylc

raw
1 #!Jinja2
2
3 [scheduling]
4 [[graph]]
5 R1 = a-task:echo => b-task
6
7 [runtime]
8 [[a-task]]
9 script = """
10 echo rubbish
11 echo garbage >&2
12 cylc message 'echo done'
13 sleep 60
14 """
15 platform = {{ environ['CYLC_TEST_PLATFORM'] }}
16 [[[outputs]]]
17 echo = "echo done"
18
19 [[b-task]]
20 script = """
21 sleep 10 # wait for buffer to flush?
22 cylc cat-log --debug -f o "${CYLC_WORKFLOW_ID}//1/a-task" | grep 'rubbish'
23 cylc cat-log --debug -f e "${CYLC_WORKFLOW_ID}//1/a-task" | grep 'garbage'
24 """