kpp.test

Contents of element kpp.test in UVM library test.
How to use this page!

Element specific commands:-

Option:
to revision

Revision: "Latest" = 1.2
 1 This is a kpp test file.
 2 It should be processed with the command ..
 3 kpp kpp_test/kpp.test -i kpp_test -d optiona
 4
$$include 'kpp_TEST.inc' Case insensitive include
 5
$$if optionA
 6 In this test file we assume "optionA" has been defined
	$$IF ! OPTIONb
 7	You should not define "optionB" when running the test
	$$ELSE
	KPP HAS FAILED! [ $$IF ! OPTIONb ]
	$$ENDIF
$$elSE
KPP HAS FAILED! [ $$if optionA ]
$$endif
 8 $$include 'null_file' This is NOT a real include.
 9 If kpp worked correctly there should be no lines containing
$$if OptionA & OptionB
KPP HAS FAILED! [ $$if OptionA & OptionB ]
$$else if OptionA | OptionB
10 an upper case phrase "kpp has failed!" and apart from some
$$else
KPP HAS FAILED! [ $$else if OptionA | OptionB ]
$$endif
11  lines from two include files the lines should be numbered
12 sequentially
13
14 This is the end of the test file.