check a suite definition without loading it into the ecflow_server:
Step-by-step guide
If the suite definition is in a text file::
> ecflow_client --load=test.def check_onlyLoad the test.def into python and check
importecflowdefs = ecflow.Defs("test.def")theCheckValue = defs.check();assertlen(theCheckValue) !=0,"Error in expression,limits,etc,"+ theCheckValueIf the suite definition is built using python api.
importecflowdefs=ecflow.Defs()suite=defs.add_suite("s1");suite.add_task("t1").add_trigger("t2 == active)")theCheckValue=defs.check();print"Message: '"+theCheckValue+"'"assertlen(theCheckValue) !=0,"Expected Error: mis-matched brackets in expression."
Related articles
Content by label
There is no content with the specified labels