CN102999423A - Multi-core testing method and device - Google Patents

Multi-core testing method and device Download PDF

Info

Publication number
CN102999423A
CN102999423A CN2012104599200A CN201210459920A CN102999423A CN 102999423 A CN102999423 A CN 102999423A CN 2012104599200 A CN2012104599200 A CN 2012104599200A CN 201210459920 A CN201210459920 A CN 201210459920A CN 102999423 A CN102999423 A CN 102999423A
Authority
CN
China
Prior art keywords
order
information order
information
storage area
business end
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2012104599200A
Other languages
Chinese (zh)
Other versions
CN102999423B (en
Inventor
王玉水
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201210459920.0A priority Critical patent/CN102999423B/en
Publication of CN102999423A publication Critical patent/CN102999423A/en
Application granted granted Critical
Publication of CN102999423B publication Critical patent/CN102999423B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the invention provides a multi-core testing method and device, relating to the field of software testing. The multi-core testing method and device have the advantages of being capable of realizing software testing work on different types of operating systems on different cores of a multi-core CUP (Central Processing Unit) in various program deployment manners, solving the problem of dependency of testing work on network functions, reducing the loss of system performances and improving the operating efficiency. The multi-core testing method comprises the steps of: selecting one testing case from multiple testing cases for execution through a master control terminal, sending information commands to a command storage region, then ordering each business terminal to judge whether the information commands in the command storage region are the information command of the business terminals, if the information commands are the information command of the business terminals, enabling the business terminals to execute the information commands, and ordering each business terminal to send execution results to a result storage region after completing the execution of the information commands so that the execution results are counted and stored. The multi-core testing method and device are used for multi-core testing of software.

Description

A kind of method and apparatus of multinuclear test
Technical field
The present invention relates to computer realm, relate in particular to a kind of method and apparatus of multinuclear test.
Background technology
Development along with the CPU hardware technology, multi-core CPU has replaced monokaryon CPU gradually, and because multi-core CPU is universal, the variation of operating system and CPU deployment way, the deployment way of existing application program mainly can be divided into AMP (Asymmetric Multiprocessing, asymmetric multiprocessing), three kinds of patterns of SMP (Symmetric Multiprocessing, symmetrical multiprocessing) and BMP (Bound Multiprocessing mixes multiprocessing).Wherein, the separate instance of each SOS of CPU core operation or unified operation system among the AMP, the example of an operating system can be managed all CPU core simultaneously among the SMP, and use and do not bind interior some kernels, and combine the mixed function of the application controls of the advanced resource management of SMP and AMP among the BMP, the example of an operating system can be managed all CPU core simultaneously, but each application is locked to the core of certain appointment.
Our tested object is the application process that is deployed on the operating system, these application processes can be deployed on the different operating system, or even different VCPU (Virtual CPU, virtual processor), and in carrying out software test procedure, the detecting information that relates to a plurality of application processes is mutual, and at present, the mode of carrying out detecting information comprises: one, utilize the Socket link to test the transmission of control information and test result; Two, utilize pipe method to carry out in-process test control information and the transmission of test result.
But the Socket link mode can only have on the equipment of network interface card and could use, and need to carry out the conversion of interior nuclear state in the operating system that main control end and the business of test are held, and can consume the part system performance; Pipeline communication can only adopt the deployment way of symmetrical multiprocessing under linux system, can not satisfy the demand of polymorphic type operating system testing.
Summary of the invention
Embodiments of the invention provide a kind of method and apparatus of multinuclear test, can be implemented in dissimilar operating system on the different core of multi-core CPU and carry out the work of the software test of multiple programs deployment way, solved the dependence of test job to network function, reduce system performance loss, improved work efficiency.
For achieving the above object, embodiments of the invention adopt following technical scheme:
First aspect, the method that provides a kind of multinuclear to test, described method comprises:
Main control end in the processor sends information order to the order storage area in the process of implementation of test cases; Wherein, described message instruction comprises: professional end sign, pending function name and parametric variable;
The professional end of in the described processor each judges according to the sign of the business end in the information order in the described order storage area whether described information order belongs to this business end, if described information order belongs to this business end, then the business end under the described information order is tested described test case according to described pending function name and described parametric variable;
Business end under the described information order sends to as a result storage area with execution result and stores, so that described main control end is added up execution result after executing described information order; Wherein, described order storage area and described as a result storage area are arranged in shared drive.
In the possible implementation of the first, in conjunction with first aspect, the professional end of each in the described processor judges according to the sign of the business end in the information order in the described order storage area whether described information order belongs to this business end and comprise:
Whether each of described processor is professional holds the business end sign in the described information order of judging in the described order storage area corresponding with this business end sign;
If the sign of the business end in the described information order is corresponding with this business end sign, determine that then described information order is the information order that belongs to this business end, and the business end under the described information order is tested to described test case according to described pending function name and described parametric variable.
In the possible implementation of the second, in conjunction with the possible implementation of the first of first aspect, after all test cases all were performed, described method also comprised:
Main control end in the described processor is inquired about the execution result of storing in the described as a result storage area by query interface.
In the third possible implementation, in conjunction with the possible implementation of the first of first aspect or first aspect or the possible implementation of the second of first aspect, described execution result comprises failure information and statistical information;
Wherein, described failure information comprises: professional end sign, failure cause, filename, program line number;
Described statistical information comprises: test case number, test case success number and test case failure number; The test suite number, test suite success number, test suite failure number; Assert number, assert successful number, the assertfail number.
Second aspect provides a kind of multinuclear test proving installation, and described device comprises:
Processor and shared drive, wherein said processor comprise main control end and at least one professional end; Described shared drive comprises order storage area and storage area as a result;
Described main control end is used for the process in implementation of test cases, sends information order to the order storage area; Wherein, described message instruction comprises: professional end sign, pending function name and parametric variable;
Described professional end is used for judging according to the sign of the business end in the information order of described order storage area whether described information order belongs to this business end, if described information order belongs to this business end, then the business end under the described information order is tested described test case according to described pending function name and described parametric variable;
Described order storage area is used for storing the information order that described main control end sends, so that all professional ends can both read described information order;
Described as a result storage area is used for storing the execution result of described information order specified services end, so that described main control end is added up execution result, described execution result is generated after executing described information order by the business end of appointment in the described information order.
In the possible implementation of the first, in conjunction with second aspect, described professional end specifically is used for:
Judge whether the business end sign in the described information order in the described order storage area is corresponding with this business end sign;
If the sign of the business end in the described information order is corresponding with this business end sign, determine that then described information order is the information order that belongs to this business end, and the business end under the described information order is tested to described test case according to described pending function name and described parametric variable.
In the possible implementation of the second, in conjunction with the possible implementation of the first of second aspect, described device also comprises:
Query interface, the main control end that is used for described processor is inquired about the execution result of storing in the described as a result storage area by described query interface.
In the third possible implementation, in conjunction with the possible implementation of the first of second aspect or second aspect or the possible implementation of the second of first aspect, described execution result comprises failure information and statistical information;
Wherein, described failure information comprises: professional end sign, failure cause, filename, program line number;
Described statistical information comprises: test case number, test case success number and test case failure number; The test suite number, test suite success number, test suite failure number; Assert number, assert successful number, the assertfail number.
Embodiments of the invention provide a kind of method and apparatus of multinuclear test, select a test case to carry out by the main control end in the processor, and information order sent to the order storage area, and each the professional end in the preprocessor judges whether the information order in the order storage area is the information order that belongs to this business end, if information order is the information order of this business end, then make this business end carry out information order, each professional end is after the execution of finishing information order, execution result is sent to as a result storage area, in order to execution result is added up and is stored, can be implemented in dissimilar operating system on the different core of multi-core CPU and carry out the work of the software test of multiple programs deployment way, solved the dependence of test job to network function, reduce system performance loss, improved work efficiency.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, the below will do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art, apparently, accompanying drawing in the following describes only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
The method synoptic diagram that Fig. 1 tests for a kind of multinuclear that the embodiment of the invention provides;
Another synoptic diagram of the method for a kind of multinuclear test that Fig. 2 provides for the embodiment of the invention;
Fig. 3 also provides a kind of structural representation of multinuclear test proving installation for the embodiment of the invention;
Fig. 4 also provides the structural representation of another kind of multinuclear test proving installation for the embodiment of the invention;
Fig. 5 also provides a kind of structural representation of multinuclear test proving installation for another embodiment of the present invention;
Fig. 6 also provides the structural representation of another kind of multinuclear test proving installation for another embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
The embodiment of the invention provides a kind of method of multinuclear test, and as shown in Figure 1, the method comprises:
Main control end in S101, the processor sends information order to the order storage area in the process of implementation of test cases; Wherein, described message instruction comprises: professional end sign, pending function name and parametric variable.
The professional end of in S102, the processor each judges according to the sign of the business end in the information order in the described order storage area whether described information order belongs to this business end, if described information order belongs to this business end, then the business end under the described information order is tested described test case according to described pending function name and described parametric variable.
The business end of appointment in S103, the information order sends to as a result storage area with execution result and stores, so that main control end is added up execution result after executing information order; Wherein, the order storage area and as a result storage area be arranged in shared drive.
Further, when a plurality of test case is arranged, after a test case executes, again carry out S101 to S103, until all test cases all are performed.
Embodiments of the invention provide a kind of method of multinuclear test, select a test case to carry out by the main control end in the processor, and information order sent to the order storage area, and each the professional end in the preprocessor judges whether the information order in the order storage area is the information order that belongs to this business end, if information order is the information order of this business end, then make this business end carry out information order, each professional end is after the execution of finishing information order, execution result is sent to as a result storage area, in order to execution result is added up and is stored, can be implemented in dissimilar operating system on the different core of multi-core CPU and carry out the work of the software test of multiple programs deployment way, solved the dependence of test job to network function, reduce system performance loss, improved work efficiency.
Another embodiment of the present invention provides a kind of method of multinuclear test, and as shown in Figure 2, the method comprises:
Main control end in S201, the processor sends information order to the order storage area in the process of implementation of test cases; Wherein, described message instruction comprises: professional end sign, pending function name and parametric variable.
Concrete, main control end sends to the order storage area with the information order of the test case that needs carry out, and the mentioned order storage area is arranged in shared drive, and each professional end just can both read the data in the above-mentioned information order like this.
The professional end of in S202, the processor each is declared according to the sign of the business end in the information order in the described order storage area and is judged whether described information order belongs to this business end.
Exemplary, can realize in the following manner:
Information order that each professional end is all sent by the access main control end from the order storage area, can be by the business end sign that comprises in the order of polling mechanism detect-message marking matched with business end itself whether.
If the sign of the business end in the S203 information order is corresponding with this business end sign, then professional end determines that information order is the information order that belongs to this business end.
Determine information order be to belong to the information order of this business end after this information order of execution, certainly, if the sign of the business end in the information order is not corresponding with this business end sign, namely information order does not belong to the information order of this business end, does not then carry out this information order.
For example, suppose that above-mentioned professional end is designated the numbering of professional end, suppose that again the business end in the information order is designated 5, then the indicated executor of this information order is numbered 5 business end, after information order sends to the order storage area, because the order storage area is arranged in shared drive, all professional ends in the processor can both read this information order, but all professional ends are after finding that the indicated executor of information order is to be numbered 5 business end, only be numbered 5 business end and carry out this information order, other business end does not deal with.
Concrete implementation can comprise: professional end is at first resolved the address that pending function name in the information order obtains pending function, carries out function call according to the address of described pending function and described parametric variable more described test case is tested.
S204, each professional end send to as a result storage area with execution result, so that main control end is added up execution result and store after the execution of finishing information order.
Concrete, execution result can comprise failure information and statistical information;
Wherein, failure information comprises: professional end sign, failure cause, filename, program line number;
Statistical information comprises: test case number, test case success number and test case failure number; The test suite number, test suite success number, test suite failure number; Assert number, assert successful number, the assertfail number.
Exemplary, after the business end was finished task in the information order, the content in the execution result was as shown in table 1:
Table 1
Figure BDA00002409610000071
What professional end sign referred in the table 1 is the business end sign of carrying out pending function in the information order, what virtual processor number referred to is the virtual processor number of carrying out pending function in the information order, what failure cause referred to is to carry out not the cause for the success of information order, what filename referred to is to carry out the not successful file name of information order, and what program line number referred to is the position of carrying out in the program of information order failure place;
What the test case number referred to is the quantity that amounts to test case in carrying out information order, and what test case success number and test case failure number referred to respectively is the quantity of the test case of success and failure in carrying out information order;
What the test suite number referred to is the quantity that amounts to test suite in carrying out information order, and what test suite success number and test suite failure number referred to respectively is the quantity of the test suite of success and failure in carrying out information order;
What assert that number refers to is the quantity of asserting altogether in carrying out information order, and what assert that successful number and assertfail number refer to respectively is the quantity of asserting of success and failure in carrying out information order.
The above results storage area also is arranged in shared drive, and each professional end just can both be saved in the execution result of self as a result in the storage area, so that main control end reads the data in the above-mentioned information order like this.
Further, the method can also comprise:
S205, the execution result of main control end by storing in the query interface Query Result storage area.
Further, when a plurality of test case is arranged, after executing a test case, can again carry out S201~S204 to next test case, main control end can be finished all test cases by circulating successively like this.
Embodiments of the invention provide a kind of method of multinuclear test, select a test case to carry out by the main control end in the processor, and information order sent to the order storage area, this order storage area is arranged in shared drive, and each the professional end in the preprocessor judges whether the information order in the order storage area is the information order that belongs to this business end, if information order is the information order of this business end, then make this business end carry out information order, each professional end is after the execution of finishing information order, execution result is sent to as a result storage area, this as a result storage area be arranged in shared drive, in order to execution result is added up and is stored, can be implemented in dissimilar operating system on the different core of multi-core CPU and carry out the work of the software test of multiple programs deployment way, solved the dependence of test job to network function, reduce system performance loss, improved work efficiency.
The embodiment of the invention also provides a kind of multinuclear test proving installation 01, and as shown in Figure 3, multinuclear test proving installation 01 comprises:
Processor 011 and shared drive 012, wherein said processor 011 comprise main control end 0111 and at least one professional end 0112; Described shared drive comprises order storage area 0121 and storage area 0122 as a result, wherein:
The process that main control end 0111 is used in implementation of test cases sends information order to order storage area 0121;
Professional end 0112 is used for judging according to the sign of the business end in the information order of described order storage area 0121 whether described information order belongs to this business end 0112, if information order is the information order of this business end 0112, then make this business end 0112 carry out information order;
Order storage area 0121 is used for storing the information order that described main control end 0111 sends, so that all professional ends can both read described information order;
Storage area 0122 is used for storing the execution result of described information order specified services end as a result, so that 0111 pair of execution result of described main control end is added up, described execution result is generated after executing described information order by the business end of appointment in the described information order.
After a test case executes, again carry out " select a test case to carry out; and information order sent to order storage area 0121; each professional end 0112 judges whether the information order in order storage area 0121 is the information order that belongs to this business end 0112; if information order be the information order of this business end 0112; then make this business hold 0112 execution information order; each business holds 0112 after the execution of finishing information order, storage area 0122 receives execution result from each professional end 0112 as a result " step, until all test cases all are performed.
Further, professional end 0112 specifically is used for:
Judge whether the business end sign in the information order in the order storage area is corresponding with this business end sign;
If the sign of the business end in the information order is corresponding with this business end sign, determine that then information order is the information order that belongs to this business end 0112, and the business end under the described information order is tested to described test case according to described pending function name and described parametric variable.
Further, as shown in Figure 4, multinuclear test proving installation 01 can also comprise:
Query interface 013 is used for main control end 0111 by the execution result of query interface 013 Query Result storage area 0122 storage.
Further, execution result can comprise: failure information and statistical information;
Wherein, failure information comprises: professional end sign, failure cause, filename, program line number;
Statistical information comprises: test case number, test case success number and test case failure number; The test suite number, test suite success number, test suite failure number; Assert number, assert successful number, the assertfail number.
The embodiment of the invention provides a kind of multinuclear test proving installation, select a test case to carry out by the main control end in the processor, and information order sent to the order storage area, and each the professional end in the preprocessor judges whether the information order in the order storage area is the information order that belongs to this business end, if information order is the information order of this business end, then make this business end carry out information order, each professional end is after the execution of finishing information order, execution result is sent to as a result storage area, in order to execution result is added up and is stored, can be implemented in dissimilar operating system on the different core of multi-core CPU and carry out the work of the software test of multiple programs deployment way, solved the dependence of test job to network function, reduce system performance loss, improved work efficiency.
The embodiment of the invention also provides another kind of multinuclear test proving installation 02, comprises receiver 021, transmitter 022, bus 023, and as shown in Figure 5, this device also comprises:
Processor 024 and shared drive 025, wherein processor 024 comprises the professional end of main control end and at least one, shared drive 025 comprises order storage area and storage area as a result;
Main control end in the processor 024 is used for the process in implementation of test cases, sends information order to the order storage area; Wherein, described message instruction comprises: professional end sign, pending function name and parametric variable;
Business end in the processor 024 is used for judging according to the sign of the business end in the information order of described order storage area whether described information order belongs to this business end, if described information order belongs to this business end, then the business end under the described information order is tested described test case according to described pending function name and described parametric variable;
Order storage area in the shared drive 025 is used for storing the information order that described main control end sends, so that all professional ends can both read described information order;
As a result storage area in the shared drive 025 is used for storing the execution result of described information order specified services end, so that described main control end is added up execution result, described execution result is generated after executing described information order by the business end of appointment in the described information order;
When having a plurality of test case, after a test case executes, processor 024 also is used for again carrying out by main control end selects a test case to carry out, and information order sent to the order storage area, judge by each professional end whether the information order in the order storage area is the information order that belongs to this business end, if information order is the information order of this business end, then make this business end carry out information order, make each professional end after the execution of finishing information order, execution result is sent to as a result storage area, until all test cases are finished.
Further, processor 024 can specifically be used for:
The professional end of in the processor 024 each judges whether the business end sign in the information order of ordering in the storage area is corresponding with this business end sign;
If the sign of the business end in the described information order is corresponding with this business end sign, determine that then described information order is the information order that belongs to this business end, and the business end under the described information order is tested to described test case according to described pending function name and described parametric variable.
Again further, processor 024 can also be used for: the execution result of the main control end of processor 024 by storing in the query interface Query Result storage area.
Wherein, this execution result can comprise failure information and statistical information;
Wherein, failure information comprises professional end sign, failure cause, filename, program line number;
Statistical information comprises the test case number, test case success number and test case failure number; The test suite number, test suite success number, test suite failure number; Assert number, assert successful number, the assertfail number.
In addition, the order storage area and as a result storage area all be arranged in the situation of shared drive 025, processor 024 can be as shown in Figure 6 with the connected mode of shared drive 025.Wherein, comprise a plurality of VCPU (VCPU0~VCPUn) in the processor 024, above-mentioned main control end is positioned at one of them VCPU, above-mentioned each professional end (professional end 1~professional end n) is placed on respectively among each VCPU, it is worth mentioning that, comprise in the processor 024 and can move different operating system (operating system 1~operating system n) on each VCPU.
The embodiment of the invention provides a kind of multinuclear test proving installation, select a test case to carry out by the main control end in the processor, and information order sent to the order storage area, and each the professional end in the preprocessor judges whether the information order in the order storage area is the information order that belongs to this business end, if information order is the information order of this business end, then make this business end carry out information order, each professional end is after the execution of finishing information order, execution result is sent to as a result storage area, in order to execution result is added up and is stored, can be implemented in dissimilar operating system on the different core of multi-core CPU and carry out the work of the software test of multiple programs deployment way, solved the dependence of test job to network function, reduce system performance loss, improved work efficiency.
In several embodiment that the application provides, should be understood that disclosed method and apparatus can be realized by another way.For example, device embodiment described above only is schematic, for example, the division of described unit, only be that a kind of logic function is divided, during actual the realization other dividing mode can be arranged, for example a plurality of unit or assembly can in conjunction with or can be integrated into another system, or some features can ignore, or do not carry out.Another point, mutual communication connection shown or that discuss can be by some interfaces, can be electrically, machinery or other form.
In addition, each functional unit in each embodiment of the present invention can be integrated in the processing unit, also can be that the independent physics of unit comprises, also can be integrated in the unit two or more unit.Above-mentioned integrated unit both can adopt the form of hardware to realize, the form that also can adopt hardware to add SFU software functional unit realizes.
The above-mentioned integrated unit of realizing with the form of SFU software functional unit can be stored in the computer read/write memory medium.Above-mentioned SFU software functional unit is stored in the storage medium, comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the part steps of the described method of each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, ROM (read-only memory) (Read-Only Memory, abbreviation ROM), the various media that can be program code stored such as random access memory (Random Access Memory is called for short RAM), magnetic disc or CD.
The above; be the specific embodiment of the present invention only, but protection scope of the present invention is not limited to this, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of described claim.

Claims (8)

1. the method for multinuclear test is characterized in that described method comprises:
Main control end in the processor sends information order to the order storage area in the process of implementation of test cases; Wherein, described message instruction comprises: professional end sign, pending function name and parametric variable;
The professional end of in the described processor each judges according to the sign of the business end in the information order in the described order storage area whether described information order belongs to this business end, if described information order belongs to this business end, then the business end under the described information order is tested described test case according to described pending function name and described parametric variable;
Business end under the described information order sends to as a result storage area with execution result and stores, so that described main control end is added up execution result after executing described information order; Wherein, described order storage area and described as a result storage area are arranged in shared drive.
2. method according to claim 1 is characterized in that, the professional end of each in the described processor judges according to the sign of the business end in the information order in the described order storage area whether described information order belongs to this business end and comprise:
Whether each in the described processor is professional holds the business end sign in the described information order of judging in the described order storage area corresponding with this business end sign;
If the sign of the business end in the described information order is corresponding with this business end sign, determine that then described information order is the information order that belongs to this business end, and the business end under the described information order is tested to described test case according to described pending function name and described parametric variable.
3. method according to claim 1 and 2 is characterized in that, after the business end under the described information order executed described information order, described method also comprised:
Main control end in the described processor is inquired about the execution result of storing in the described as a result storage area by query interface.
4. according to claim 1 to the described method of 3 any one, it is characterized in that described execution result comprises failure information and statistical information;
Wherein, described failure information comprises: professional end sign, failure cause, filename, program line number;
Described statistical information comprises: test case number, test case success number and test case failure number; The test suite number, test suite success number, test suite failure number; Assert number, assert successful number, the assertfail number.
5. a multinuclear is tested proving installation, it is characterized in that described device comprises:
Processor and shared drive, wherein said processor comprise main control end and at least one professional end; Described shared drive comprises order storage area and storage area as a result;
Described main control end is used for the process in implementation of test cases, sends information order to the order storage area; Wherein, described message instruction comprises: professional end sign, pending function name and parametric variable;
Described professional end is used for judging according to the sign of the business end in the information order of described order storage area whether described information order belongs to this business end, if described information order belongs to this business end, then the business end under the described information order is tested described test case according to described pending function name and described parametric variable;
Described order storage area is used for storing the information order that described main control end sends, so that all professional ends can both read described information order;
Described as a result storage area is used for storing the execution result of described information order specified services end, so that described main control end is added up execution result, described execution result is generated after executing described information order by the business end of appointment in the described information order.
6. device according to claim 5 is characterized in that, described professional end specifically is used for:
Judge whether the business end sign in the described information order in the described order storage area is corresponding with this business end sign;
If the sign of the business end in the described information order is corresponding with this business end sign, determine that then described information order is the information order that belongs to this business end, and the business end under the described information order is tested to described test case according to described pending function name and described parametric variable.
7. according to claim 5 to the described device of 6 any one, it is characterized in that described multinuclear test proving installation also comprises:
Query interface, the main control end that is used for described processor is inquired about the execution result of storing in the described as a result storage area by described query interface.
8. according to claim 5 to the described device of 7 any one, it is characterized in that described execution result comprises failure information and statistical information;
Wherein, described failure information comprises: professional end sign, failure cause, filename, program line number;
Described statistical information comprises: test case number, test case success number and test case failure number; The test suite number, test suite success number, test suite failure number; Assert number, assert successful number, the assertfail number.
CN201210459920.0A 2012-11-15 2012-11-15 A kind of method and apparatus of multinuclear test Expired - Fee Related CN102999423B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210459920.0A CN102999423B (en) 2012-11-15 2012-11-15 A kind of method and apparatus of multinuclear test

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210459920.0A CN102999423B (en) 2012-11-15 2012-11-15 A kind of method and apparatus of multinuclear test

Publications (2)

Publication Number Publication Date
CN102999423A true CN102999423A (en) 2013-03-27
CN102999423B CN102999423B (en) 2016-03-02

Family

ID=47928020

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210459920.0A Expired - Fee Related CN102999423B (en) 2012-11-15 2012-11-15 A kind of method and apparatus of multinuclear test

Country Status (1)

Country Link
CN (1) CN102999423B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107168879A (en) * 2017-05-23 2017-09-15 网易(杭州)网络有限公司 The generation method and device of centralized configuration management System Test Report
CN110059004A (en) * 2019-03-21 2019-07-26 深圳市腾讯信息技术有限公司 A kind of method, apparatus, equipment and the medium of application test
CN110501627A (en) * 2018-05-17 2019-11-26 大唐移动通信设备有限公司 A kind of the Digital Logical Circuits detection method and device of base station
CN110554937A (en) * 2018-05-31 2019-12-10 奥特润株式会社 Software diagnostic system for vehicle and method of operating the same
CN111158299A (en) * 2020-03-20 2020-05-15 艾德克斯电子(南京)有限公司 Software system capable of controlling instrument by multiple channels and method for reducing computer consumption
CN112035346A (en) * 2020-08-25 2020-12-04 华东计算技术研究所(中国电子科技集团公司第三十二研究所) Automatic testing method, system and medium based on embedded DSP operating system
CN113254296A (en) * 2021-06-25 2021-08-13 上海励驰半导体有限公司 Software implementation method and system for chip SLT test
CN116401138A (en) * 2023-06-08 2023-07-07 建信金融科技有限责任公司 Operating system running state detection method and device, electronic equipment and medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5896535A (en) * 1996-08-20 1999-04-20 Telefonaktiebolaget L M Ericsson (Publ) Method and system for testing computer system software
CN1282917A (en) * 1999-09-30 2001-02-07 深圳市中兴通讯股份有限公司 Software simulation test method
CN1858719A (en) * 2005-12-27 2006-11-08 华为技术有限公司 Method for realizing automatic test and its system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5896535A (en) * 1996-08-20 1999-04-20 Telefonaktiebolaget L M Ericsson (Publ) Method and system for testing computer system software
CN1282917A (en) * 1999-09-30 2001-02-07 深圳市中兴通讯股份有限公司 Software simulation test method
CN1858719A (en) * 2005-12-27 2006-11-08 华为技术有限公司 Method for realizing automatic test and its system

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107168879A (en) * 2017-05-23 2017-09-15 网易(杭州)网络有限公司 The generation method and device of centralized configuration management System Test Report
CN110501627A (en) * 2018-05-17 2019-11-26 大唐移动通信设备有限公司 A kind of the Digital Logical Circuits detection method and device of base station
CN110501627B (en) * 2018-05-17 2020-11-03 大唐移动通信设备有限公司 Digital logic circuit detection method and device for base station
CN110554937A (en) * 2018-05-31 2019-12-10 奥特润株式会社 Software diagnostic system for vehicle and method of operating the same
CN110554937B (en) * 2018-05-31 2023-05-23 现代奥特奥博株式会社 Software diagnostic system for vehicle and method of operating the same
CN110059004A (en) * 2019-03-21 2019-07-26 深圳市腾讯信息技术有限公司 A kind of method, apparatus, equipment and the medium of application test
CN111158299A (en) * 2020-03-20 2020-05-15 艾德克斯电子(南京)有限公司 Software system capable of controlling instrument by multiple channels and method for reducing computer consumption
CN112035346A (en) * 2020-08-25 2020-12-04 华东计算技术研究所(中国电子科技集团公司第三十二研究所) Automatic testing method, system and medium based on embedded DSP operating system
CN113254296A (en) * 2021-06-25 2021-08-13 上海励驰半导体有限公司 Software implementation method and system for chip SLT test
CN113254296B (en) * 2021-06-25 2021-10-01 上海励驰半导体有限公司 Software implementation method and system for chip SLT test
CN116401138A (en) * 2023-06-08 2023-07-07 建信金融科技有限责任公司 Operating system running state detection method and device, electronic equipment and medium
CN116401138B (en) * 2023-06-08 2023-09-15 建信金融科技有限责任公司 Operating system running state detection method and device, electronic equipment and medium

Also Published As

Publication number Publication date
CN102999423B (en) 2016-03-02

Similar Documents

Publication Publication Date Title
CN102999423A (en) Multi-core testing method and device
US8533334B2 (en) Message binding processing technique
CN109656627A (en) Starting method, activation system and the relevant apparatus of hard disk in a kind of BIOS
CN105511936A (en) Test system, method and device
CN101196819B (en) Method for chip self-adapting start equipment of system on chip
CN103440172A (en) Resource management method and terminal device
CN113010265A (en) Pod scheduling method, scheduler, memory plug-in and system
CN105320558A (en) Mobile terminal and start method thereof
CN110673887A (en) Application program starting method and device, terminal equipment and readable storage medium
CN101876911A (en) Multi-CPU (Central Processing Unit)system starting method and module based on PCI/PCIe (Peripheral Component Interconnect/Peripheral Component Interconnect Express) bus
CN100530152C (en) Method and device for starting i/o adapter of data processing system
CN102622274B (en) Computer device and interrupt task allocation method thereof
CN104822163A (en) General scheduling system and method used for single-antenna multi-mode multi-card terminal
CN104461705A (en) Service access method, storage controllers and cluster storage system
JP2008021198A (en) Computer system, management computer and computer selection method
CN112035239A (en) Task scheduling method and device, terminal equipment and storage medium
CN109062580B (en) Virtual environment deployment method and deployment device
CN103902301A (en) Method and device and processor reading BIOS
CN103176903A (en) Testing method and testing device of MapReduce distributed system program
CN115221041A (en) Multi-device testing method and device, electronic device and storage medium
CN107301037B (en) Loading method and device of operating system kernel
CN106547583B (en) Operating system installation method and device
CN114997102A (en) Physical layer verification method, device, equipment and storage medium
US10430367B1 (en) Systems and methods for optimal placement of information handling resource
US20100199284A1 (en) Information processing apparatus, self-testing method, and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160302

Termination date: 20181115