Claims
- 1. A system for facilitating coverage feedback testcase generation reproducibility, comprising:
a domain definition input file for defining a coverage domain element; an internal coverage domain data store in communication with the domain definition input file, the internal coverage domain data store storing domain definitions collected from the domain definition input file and updates made to the coverage domain element; a test case generator in communication with the internal coverage domain data store, the test case generator generating a testcase; and a pseudo-random generated seed assigned to a successfully generated testcase;
wherein, the successfully generated testcase is replicated without generating each prior testcase utilizing the pseudo-random generated seed, the replication including an initial coverage state for the successfully generated testcase.
- 2. The system of claim 1, further comprising a cumulative history database in communication with the internal coverage domain data store, the cumulative history database operable for storing coverage domain updates for previous successfully generated testcases.
- 3. The system of claim 1, wherein the testcase generator further comprises an instruction generator and an instruction simulator.
- 4. The system of claim 1, wherein the internal coverage domain data store further comprises a session component and a temporary holding structure wherein the session component and the temporary holding structure update a session count field for each coverage domain element in the internal coverage domain data store encountered during execution of instructions provided by the testcase.
- 5. The system of claim 1, wherein the testcase comprises sequences of instructions.
- 6. The system of claim 1, wherein the testcase comprises sequences of instruction results.
- 7. The system of claim 1, wherein the domain definition input file includes a syntax of keywords for describing coverage domains as one of: enabled, disabled, and display.
- 8. The system of claim 7, wherein an enabled coverage domain element adds a domain element to a list of valid domains, a disabled coverage domain element adds a domain element to a list of invalid domains, and display adds a domain element to a list of domains that require a measurement report.
- 9. The system of claim 7, wherein the internal coverage domain comprises a set of domain elements comprising a union of all enabled user-defined coverage domain elements and excluding all disabled user-defined domain elements; wherein each of the enabled user-defined coverage domain elements represents one element of a cross-product of a state space.
- 10. The system of 9, wherein the element of a cross-product of a state space is composed of a sequence of architecture, machine level, addressing mode, translation mode, instruction, and domain type.
- 11. The system of 7, wherein the internal coverage domain further specifies a branch resolution type comprising one of a branch taken and branch not taken.
- 12. The system of 10, wherein the addressing mode is selected from one of a 24-bit, a 31-bit, and a 64-bit mode.
- 13. The system of 10, wherein the translation mode is selected from one of a real, a primary, a secondary, and a home mode.
- 14. The system of claim 10, wherein the machine level is selected from one of a host and a guest.
- 15. The system of claim 10, wherein the domain type includes one of: an exception, a resulting condition code, an instruction side effect, a target addressing mode, a case, and a sequence.
- 16. The system of claim 10, wherein exception domain type comprises a type of program exception applicable for a given instruction.
- 17. The system of claim 10, wherein exception domain type comprises a merged exeption including a program-event recording event.
- 18. The system of claim 10, wherein the target addressing mode comprises an addressing mode resulting from execution of an instruction.
CROSS REFERENCE TO RELATED APPLICATIONS
[0001] This application is a Divisional application of Ser. No. 10/109,502 filed on Mar. 28, 2002 and is incorporated herein by reference in its entirety. This application is also related to co-pending application Ser. No. 10/113,756 and Ser. No. 10/113,319 which were both filed on Mar. 28, 2002 and are incorporated herein by reference in their entireties.
Divisions (1)
|
Number |
Date |
Country |
Parent |
10109502 |
Mar 2002 |
US |
Child |
10867302 |
Jun 2004 |
US |