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

maeGetTestEnvVar

maeGetTestEnvVar(
t_testName
t_varName
[ ?session t_sessionName ] 
)
=> g_value / nil

Description

Returns the value of the specified environment variable for the given test. This function can be used to get the value set for a particular test using the maeSetTestEnvVar function.

Arguments

t_testName

Name of the test.

t_varName

Name of the environment variable for which the value is to be returned.

?session t_sessionName

Name of the session. If not specified, the current session is used.

Value Returned

g_value

The value of the environment variable set for the given test is returned.

nil

The value for the set environment variable is not returned.

Examples

Returns the values set for the PinCheck Term Mismatch Action and PinCheck Term Direction Mismatch Action environment options for the tests in ADE Assembler.

;; Loading setup
sess=maeOpenSetup("opamp090" "full_diff_opamp_AC" "maestro11" ?mode "a")
=> "fnxSession0"
testnames=maeGetSetup()
> ("AC" "TRAN")
maeGetTestEnvVar("AC" "termDirectionMismatch" ?session "fnxSession0")
>"warning"
maeGetTestEnvVar("TRAN" "termMismatch" )
=>"ignore"

Related Topics

maeSetTestEnvVar


Return to top
 ⠀
X