...
Code Block |
---|
# Definition of the suite test.
suite test
edit ECF_INCLUDE "$HOME/course"
edit ECF_HOME "$HOME/course"
edit SLEEP 20
family lf1
autoarchive 0
task t1 ; task t2 ; task t3 ; task t4; task t5 ; task t6; task t7; task t8 ; task t9
endfamily
family lf2
autoarchive 0
task t1 ; task t2 ; task t3 ; task t4; task t5 ; task t6; task t7; task t8 ; task t9
endfamily
family lf3
autoarchive 0
task t1 ; task t2 ; task t3 ; task t4; task t5 ; task t6; task t7; task t8 ; task t9
endfamily
family restore
# from ecflow 5.3.2 we can have
# Trigger("./lf1<flag>archived and ./lf2<flag>archived and ./lf3<flag>archived")
# and there will also be *no* need for the SLEEP=60
trigger ./lf1 == complete and ./lf2 == complete and ./lf3 == complete
test t1
edit SLEEP 60 # wait for autoarchive
autorestore ../lf1 ../lf2 ../lf3. # restore when t1 completes
endfamily
endsuite |
...