Product Documentation
Virtuoso ADE SKILL Reference
Product Version IC23.1, November 2023

maeGetOverallSpecStatus

maeGetOverallSpecStatus(
[ ?verbose verbose ]
)
=> t / nil

Description

Returns the overall specification status for the current history.

Arguments

?verbose verbose

Specifies whether to print a detailed report including the pass or fail status for each test name and output name combination.

The default value is nil.

Value Returned

t

The spec status for each test-output combination is returned. For a result that passed the specification, the status is shown as PASSED. For a result that either failed or is near the specification, the status is shown as FAILED.

The function also returns a list containing the overall status and a sub list of testName:outputName: <PASSED/FAILED>.

The first value in the OVERALL list gives the overall status.

nil

Indicates that the function is not run successfully. For example, when no results are available.

Examples

Returns the overall specification status. When ?verbose is set to t, an overall pass or fail status is shown for each output in addition to a detailed report for each output.

; Load the results for a history
maeOpenResults(?history "Interactive.1")
=> t
>
maeGetOverallSpecStatus(?verbose t)
=>
; When ?verbose is set to nil, only a list containing the status of each output at ; the test level is returned
maeGetOverallSpecStatus(?verbose nil) => t ;close the results maeCloseResults() => t

Shows the overall results when one of the test-output result fails.

; Load the results for a history
maeOpenResults(?history "Interactive.2")
=> t
maeGetOverallSpecStatus(?verbose t) Spec Status: ac:delay_read1 : PASSED tran:delay_read1 : FAILED Overall : FAILED (("Overall" nil)    ("ac:delay_read1" t)
("tran:delay_read1" nil)
)

Return to top
 ⠀
X