NEXT_TEST

C Test Script Language

Syntax

NEXT_TEST [ LOOP <nb> ]

where:

Description

The NEXT_TEST instruction allows you to repeat a series of test contained within a previously defined TEST block.

It contains one more ELEMENT block. It does not contain the FAMILY instruction.

For this new test, a number of iterations can be specified by the keyword LOOP.

The NEXT_TEST instructions can only appear in a TEST ... END TEST block.

The main difference between a NEXT_TEST block and an ELEMENT block is when you use an INIT IN statement within a test block:

Example

SERVICE COMPUTE_HISTO

# int x1, x2, y1, y2 ;

# int status ;

# T_HISTO histo;

 TEST 1

 FAMILY nominal

 ELEMENT

...

 END ELEMENT

 NEXT_TEST LOOP 2

 ELEMENT

Related Topics

TESTELEMENT ... END ELEMENT