Device of Updating Library Required by Testing Program for Testing and Method Thereof
AssigneesInventec (Pudong) Technology Corporation, Inventec Corporation
InventorLin Hou
Life of this patent
Estimating the term…
Abstract
A device of updating library required by a testing program for testing and a method thereof are disclosed. A system configuration file of an old testing device is modified to make the old testing device enter a testing mode when booting, so that library supporting the testing program of an application is updated in the testing mode; when the application is executed, the testing program is connected to the to-be-tested device for performing testing, so that the old testing device can be updated through network without dedicated hardware, and the technical effect of reducing the time and labor cost for updating the old testing device can be achieved.
Claims10
A method of updating library required by a testing program for testing, applicable to a controlling device and comprising:
- modifying a system configuration file of the controlling device;
- making the controlling device enter a testing mode based on the system configuration file when the controlling device is booted;
- updating library of an application in the controlling device in the testing mode;
- after the library is updated, executing a testing program in the application by the controlling device;
- and
- transmitting a test instruction to a to-be-tested device, and obtaining a test result generated by the to-be-tested device executing the test instruction, by the testing program.
A device of updating library required by testing program for testing, comprising:
- a storage module, configured to store a system configuration file;
- a configuration modifying module, configured to modify the system configuration file;
- a system booting module, configured to boot the device based on the system configuration file, to make the device enter a testing mode;
- a program updating module, wherein when the device enters the testing mode, the program updating module is configured to update library of an application in the device;
- and
- a program executing module, configured to execute the testing program in the application, wherein the testing program transmits a test instruction to a to-be-tested device and obtains a test result generated by the to-be-tested device executing the test instruction.
Dependencies are inferred from the claim text.