Preserve status parameter for testing in computing system
First Claim
1. A method for testing using a preserve status parameter in a computing system, the method comprising:
- setting, by a calling process in the computing system, the preserve status parameter, wherein setting the preserve status parameter is performed in the call to the function under test by the calling process;
issuing a call to a function under test by the calling process in the computing system;
executing the function under test in the computing system, wherein data in a memory area accessed by the function under test during execution is preserved based on the preserve status parameter, such that the computing system does not reuse the memory area while the data in the memory area is being preserved;
determining if an error occurred during execution of the function under test;
in the event an error is determined to have occurred during execution of the function under test, making the data in the memory area available for inspection; and
releasing the memory area for reuse by the computing system.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for testing using a preserve status parameter in a computing system includes setting, by a calling process in the computing system, the preserve status parameter; issuing a call to a function under test by the calling process in the computing system; executing the function under test in the computing system, wherein data in a memory area accessed by the function under test during execution is preserved by the set preserve status parameter, such that the computing system does not reuse the memory area while the data in the memory area is being preserved; determining if an error occurred during execution of the function under test; in the event an error is determined to have occurred during execution of the function under test, making the data in the memory area available for inspection; and releasing the memory area for reuse by the computing system.
12 Citations
25 Claims
-
1. A method for testing using a preserve status parameter in a computing system, the method comprising:
-
setting, by a calling process in the computing system, the preserve status parameter, wherein setting the preserve status parameter is performed in the call to the function under test by the calling process; issuing a call to a function under test by the calling process in the computing system; executing the function under test in the computing system, wherein data in a memory area accessed by the function under test during execution is preserved based on the preserve status parameter, such that the computing system does not reuse the memory area while the data in the memory area is being preserved; determining if an error occurred during execution of the function under test; in the event an error is determined to have occurred during execution of the function under test, making the data in the memory area available for inspection; and releasing the memory area for reuse by the computing system. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A computer program product comprising a non-transitory computer readable storage medium containing computer code that, when executed by a computing system, implements a method for testing using a preserve status parameter, wherein the method comprises:
-
setting, by a calling process in the computing system, the preserve status parameter, wherein setting the preserve status parameter is performed in the call to the function under test by the calling process; issuing a call to a function under test by the calling process in the computing system; executing the function under test in the computing system, wherein data in a memory area accessed by the function under test during execution is preserved based on the preserve status parameter, such that the computing system does not reuse the memory area while the data in the memory area is being preserved; determining if an error occurred during execution of the function under test; in the event an error is determined to have occurred during execution of the function under test, making the data in the memory area available for inspection; and releasing the memory area for reuse by the computing system. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18)
-
-
19. A method for testing using a preserve status parameter in a computing system, the method comprising:
-
setting, by a calling process in the computing system, the preserve status parameter, wherein setting the preserve status parameter comprises specifying a particular memory area in the computing system to be preserved; issuing a call to a function under test by the calling process in the computing system; executing the function under test in the computing system, wherein data in a memory area accessed by the function under test during execution is preserved based on the preserve status parameter, such that the computing system does not reuse the memory area while the data in the memory area is being preserved; determining if an error occurred during execution of the function under test; in the event an error is determined to have occurred during execution of the function under test, making the data in the memory area available for inspection; and releasing the memory area for reuse by the computing system.
-
-
20. A method for testing using a preserve status parameter in a computing system, the method comprising:
-
setting, by a calling process in the computing system, the preserve status parameter; issuing a call to a function under test by the calling process in the computing system; executing the function under test in the computing system, wherein data in a memory area accessed by the function under test during execution is preserved based on the preserve status parameter, such that the computing system does not reuse the memory area while the data in the memory area is being preserved; determining if an error occurred during execution of the function under test; in the event an error is determined to have occurred during execution of the function under test, making the data in the memory area available for inspection; and releasing the memory area for reuse by the computing system, wherein releasing the memory area is performed based on a timer.
-
-
21. A method for testing using a preserve status parameter in a computing system, the method comprising:
-
setting, by a calling process in the computing system, the preserve status parameter; issuing a call to a function under test by the calling process in the computing system; executing the function under test in the computing system, wherein data in a memory area accessed by the function under test during execution is preserved based on the preserve status parameter, such that the computing system does not reuse the memory area while the data in the memory area is being preserved; determining if an error occurred during execution of the function under test; in the event an error is determined to have occurred during execution of the function under test, making the data in the memory area available for inspection; and releasing the memory area for reuse by the computing system, wherein releasing the memory area is performed based on a shortage of memory in the computing system.
-
-
22. A method for testing using a preserve status parameter in a computing system, the method comprising:
-
setting, by a calling process in the computing system, the preserve status parameter; issuing a call to a function under test by the calling process in the computing system; executing the function under test in the computing system, wherein data in a memory area accessed by the function under test during execution is preserved based on the preserve status parameter, such that the computing system does not reuse the memory area while the data in the memory area is being preserved; determining if an error occurred during execution of the function under test; in the event an error is determined to have occurred during execution of the function under test, making the data in the memory area available for inspection; and releasing the memory area for reuse by the computing system; wherein the calling process comprises a computer hardware management module, and the function under test comprises a function of a piece of computer hardware managed by the computer hardware management module.
-
-
23. A computer program product comprising a non-transitory computer readable storage medium containing computer code that, when executed by a computing system, implements a method for testing using a preserve status parameter, wherein the method comprises:
-
setting, by a calling process in the computing system, the preserve status parameter, wherein setting the preserve status parameter comprises specifying a particular memory area in the computing system to be preserved; issuing a call to a function under test by the calling process in the computing system; executing the function under test in the computing system, wherein data in a memory area accessed by the function under test during execution is preserved based on the preserve status parameter, such that the computing system does not reuse the memory area while the data in the memory area is being preserved; determining if an error occurred during execution of the function under test; in the event an error is determined to have occurred during execution of the function under test, making the data in the memory area available for inspection; and releasing the memory area for reuse by the computing system.
-
-
24. A computer program product comprising a non-transitory computer readable storage medium containing computer code that, when executed by a computing system, implements a method for testing using a preserve status parameter, wherein the method comprises:
-
setting, by a calling process in the computing system, the preserve status parameter; issuing a call to a function under test by the calling process in the computing system; executing the function under test in the computing system, wherein data in a memory area accessed by the function under test during execution is preserved based on the preserve status parameter, such that the computing system does not reuse the memory area while the data in the memory area is being preserved; determining if an error occurred during execution of the function under test; in the event an error is determined to have occurred during execution of the function under test, making the data in the memory area available for inspection; and releasing the memory area for reuse by the computing system, wherein releasing the memory area is performed based on a timer.
-
-
25. A computer program product comprising a non-transitory computer readable storage medium containing computer code that, when executed by a computing system, implements a method for testing using a preserve status parameter, wherein the method comprises:
-
setting, by a calling process in the computing system, the preserve status parameter; issuing a call to a function under test by the calling process in the computing system; executing the function under test in the computing system, wherein data in a memory area accessed by the function under test during execution is preserved based on the preserve status parameter, such that the computing system does not reuse the memory area while the data in the memory area is being preserved; determining if an error occurred during execution of the function under test; in the event an error is determined to have occurred during execution of the function under test, making the data in the memory area available for inspection; and releasing the memory area for reuse by the computing system, wherein releasing the memory area is performed based on a shortage of memory in the computing system.
-
Specification