...
If the suite definition is in a text file::
Code Block | ||||
---|---|---|---|---|
| ||||
ecflow_client --load=test.def check_only |
...
If the suite definition is built using python apiAPI.
Code Block | ||||
---|---|---|---|---|
| ||||
import ecflow defs = ecflow.Defs() suite = defs.add_suite("s1"); suite.add_task("t1").add_trigger("t2 == active)") # missing bracket theCheckValue = defs.check(); print("Message: ",theCheckValue) assert len(theCheckValue) != 0, "Expected Error: mis-matched brackets in expression." |
...