OpenSTA logo OpenSTA SCL Reference
END TEST-CASE Command

END TEST-CASE Command

The END TEST-CASE command terminates a section of the Script that starts with a START TEST-CASE command to create an individual test case.

If the END TEST-CASE command is reached during execution of the Script the test case is considered to have succeeded, and the message specified in the test definition is sent to the report log.

Test cases cannot be nested. However, there is no restriction on calling another Script that contains test cases from within a test case section.

Command Definition:

END TEST-CASE

Example:

START TEST-CASE "Checking input rate"
	IF (Inp-Rate < Min-Rate) THEN
		FAIL TEST-CASE
	ENDIF
END TEST-CASE

<<<
prev page
^^^
section start
>>>
next page