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

axlCustomADETestName

axlCustomADETestName( 
t_libName 
t_cellName 
t_viewName 
t_stateName 
)
=> t_testName / nil

Description

A function that can be defined in the .cdsinit file or in CIW to customize the test name in ADE XL. The default format of test name is <library-name>:<cell-name>:<sequence-num>. You can use this function to customize the format to be used for test name. While creating a new test, ADE XL checks for the existence of a definition of axlCustomADETestName. If found, ADE XL calls this function and uses the returned value as the test name.

The inclusion of <sequence-num> in the test name is controlled by the initiallyAddNameUniqifier environment variable. The axlCustomADETestName function defines only the initial part of the test name.

Arguments

t_libName

Name of the library being used to create a test.

t_cellName

Name of the cell being used to create a test.

t_viewName

Name of the view being used to create a test.

t_stateName

Name of the state being used to create a test.

Value Returned

t_testName

A customized name for the test being created.

nil

The test name resulting from the given logic is invalid. In this case, ADE XL uses the default format for test name.

Examples

The following example shows how to customize the test names to include the project name.

(define (axlCustomADETestName lib cell view state)
  (strcat lib ":" cell ":myProj"))

With this definition, a new test will be named as:

library-name:cell-name:myProj:sequence-num

Return to top
 ⠀
X