Test Script Compiler Macro Definitions

Component Testing for Ada

You can specify a list of conditions to be applied when starting the Test Script Compiler. You can then generate the test harness conditionally. In the test script, you can include blocks delimited with the keywords IF, ELSE, and END IF.

If one of the conditions specified in the IF instruction is present, the code between the keywords IF and ELSE (if ELSE is present), and IF and END IF (if ELSE is not present) is analyzed and generated. The ELSE / END IF block is eliminated.

If none of the conditions specified in the IF instruction is satisfied, the code between the keywords ELSE and END IF is analyzed and generated.

By default, no generation condition is specified, and the code between the keywords ELSE and END IF is analyzed and generated.