Detecting and reporting unintended state changes
First Claim
Patent Images
1. A computer-implemented method for testing hardware, the method comprising:
- reading, by a processor, a stream of test instructions;
determining, by the processor, test instruction exceptions present in the stream of test instructions;
inserting, by the processor, an interrupt for each determined test instruction exception;
generating, by the processor, one or more error messages for each determined test instruction exception;
inputting, by the processor, the stream of test instructions to test the hardware;
inputting, by the processor, the stream of test instructions to a test instruction simulator; and
comparing results of the stream of test instructions input to the hardware with results of the stream of test instructions input to the test instruction simulator to determine if the hardware is operating in the same manner as the test instruction simulator.
1 Assignment
0 Petitions
Accused Products
Abstract
Embodiments of the invention are directed to computer-implemented methods, computer systems, and computer program products for testing hardware. The method includes reading a stream of test instructions. The method further includes determining if test instruction exceptions present in the stream of test instructions. The method further includes inserting an interrupt into the test instruction stream for each determined test instruction exception. The method further includes generating one or more error messages for each determined test instruction exception.
-
Citations
5 Claims
-
1. A computer-implemented method for testing hardware, the method comprising:
-
reading, by a processor, a stream of test instructions; determining, by the processor, test instruction exceptions present in the stream of test instructions; inserting, by the processor, an interrupt for each determined test instruction exception; generating, by the processor, one or more error messages for each determined test instruction exception; inputting, by the processor, the stream of test instructions to test the hardware; inputting, by the processor, the stream of test instructions to a test instruction simulator; and comparing results of the stream of test instructions input to the hardware with results of the stream of test instructions input to the test instruction simulator to determine if the hardware is operating in the same manner as the test instruction simulator. - View Dependent Claims (2, 3, 4, 5)
-
Specification