Chapter 6, Verification script engine output context members, Output context variables – Teledyne LeCroy SAS_SATA Protocol Suite Verification Script Engine Reference Manual User Manual

Page 30

Advertising
background image


30

Chapter 6: Verification Script Engine Output

Context Members

All verification scripts have output contexts –special structures whose members are filled by the
script and can be used inside of the application. (For more details about output contexts, refer
to the CATC Script Language(CSL) Manual.) The verification script output contexts have only
one member:

out.Result

Result of the whole verification program defined in the verification script


This member is supposed to have three values:
_VERIFICATION_PROGRESS (set by default when script starts running)
_VERIFICATION_PASSED
_VERIFICATION_FAILED

The last two values should be set if you decide that the recorded trace does (or does not)
satisfy the imposed verification conditions. In both cases, the verification script will stop running.

If you do not specify any of those values, the result of script execution is set as
_VERIFICATION_FAILED at exit.

Note: If you do not care about the results of the script that’s running, call the function
ScriptForDisplayOnly() once before stopping the script. Then the result will be DONE.




























Advertising