Coverage Test Research Based on Embedded Software
- Author
- YuBingXia
- Advisor
- GuQingFan
- School
- Nanjing University of Aeronautics and Astronautics
- Major
- Applied Computer Technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 46
- Citations
- 1
Abstract
With the wide application of embedded software , the structure and development of embedded software and technology , increasingly stable relative to the hardware , software, failure is often . In order to guarantee the quality of the software , you need to test the software . Due to the characteristics of embedded software , such as real-time , memory resources limited and expensive development tools , embedded software testing and software testing . In order to save system resources , generate fewer test cases in the test , using global domination graph - based optimization algorithm in on local disposable Figure the basis of the establishment of the control flow graph optimization program based on a program nested loop tree after the optimization , avoiding the test case to produce excessive redundancy . Meanwhile, the algorithm can also be used to reduce the insertion position of the program . In large software directory file more , one by one covering more complicated , this paper presents a solution to the batch method Cartridge , first read the files in the directory , and generate the makefile , then make tools use gnu series of automatic cartridge bulk cartridge so as to solve the problem . Since not all tests run on the target machine , this will squeeze the limited resources of the system , which requires cross-test , this paper uses open source tools gcc and gcov test environment structures using the above algorithm was carried out improvements skyeye to emulate the hardware environment , by setting a sending process , an acceptance process to solve the problem of data transfer between the host and target machines .
Table of contents
Abstract 4-5
Abstract 5-12
first chapter 12-16
1.1 Background topics 12-13
1.2 topics sense 13-14
1.3 papers and organizational structure 14-16
1.3.1 14-15
1.3.2 organizational structure 15-16
Chapter II embedded software testing and coverage testing theory 16-28
2.1 embedded software 16-18
2.1.1 Embedded software-defined classification 16
2.1.2 embedded software characteristics and trends 16-18
2.2 software testing methods 18-22
2.2.1 software testing classification 18
2.2.2 software testing and software development 18-19
2.2.3 embedded software development 19-21
2.2.4 Embedded Software Testing 21-22
2.3 coverage testing theory 22-27
2.3.1 coverage test the concept and classification 22-23
2.3.2 the coverage test the process 23-24
2.3.3 coverage test code Cartridge 24-25
2.3.4 the coverage test the code coverage analysis 25-26
2.3.5 embedded software coverage testing 26-27
2.4 This chapter Summary 27-28
program flow chart as well as the optimization algorithm 28-42
3.1 program flow chart 28-32
3.1.1 program flow chart of the proposed 28
3.1.2 program flowchart and control flow chart are found; 28-30
3.1.3 control flow graph definitions and theorems 30-32
3.2 local domination graph algorithms 32-37
3.2.1 establish local disposable Figure 32-35
3.2.2 establish superblock disposable Figure 35-37
3.3 global domination graph algorithms 37-41
3.3.1 to establish global domination based on the cycle of disposable tree diagram 37-38
3.3.2 global domination Image Sample Program 38-41
3.4 This chapter Summary 41-42
Chapter gcc and gcov works 42-54
4.1 gcc works 42-47
4.1.1 gcc compiler system analysis 42-43
4.1.2 gcc Cartridge principle 43-44
4.1.3 AST and RTL language 44-45
4.1.4 with gcc control flow graph data structure 45-47
4.2 gcov works 47-50
4.2.1 gcov data file format 47-49
4.2.2 gcov flowchart creation process 49-50
4.2.3 gcov front-end tools 50
4.3 multi-file batch Cartridge 50-53
4.3.1 make tools 50-51
4.3.2 the make execution process 51-52
4.3.3 Bulk Cartridge achieve 52-53
4.4 This chapter Summary 53-54
Chapter gcov coverage-based test environment 54-68
5.1 embedded software coverage testing environment 54-57
5.1.1 embedded simulation environment SkyEye 54
a 5.1.2-SkyEye the implementation mechanism of 54-55
5.1.3 communication connection 55-56
5.1.4 data transmission 56-57
5.1.5 test environment to build 57
5.2 global domination graph algorithms gcc, gcov achieve 57-67
the
the 5.2.1 global domination graph algorithm code to achieve 57-63
5.2.2 test data 63-67
5.2 This chapter Summary 67-68
Chapter Summary and Outlook 68-69
6.1 summarizes 68
6.2 Looking 68-69
the
References 69-73
Acknowledgements 73-74
during school research and published papers 74
Related dissertations
- Research of the Instrumentation in Embeded Software Coverage Testing
- Research and Design of C/C++ Automatic Unit Coverage Testing Framework
- ARM-based software testing platform for the design and implementation of
- A Study of Static Malicious Code Detection Method Based on Opcode Sequneces
- Dynamic response analysis of lightweight shell during the launch process
- Automatic Volume Correction and Error Analysis of Machine Design Cartridge
- The Research of Full Automatic Detection Method for Security Policy of JVM Run-time Library
- Research on Intrusion Detection Techniques of Web Service Composition Based on BPEL
- Key Technologies Research on Embedded IO Controller Software Testing
- Recovery advanced control radar DSP program flow
- Research on Comparison Technology of Binary Files Based on Structural Graphics
- The Research of Algorithm Visualization’s Representation and Implementation in Java Program Understanding
- An Integration of Several Data Flow Analysis Techniques for Program Verification
- Drawing Thin-Wall Parts Allowance Processing Technology and Equipment
- Optimized Design and Implementation of the LRS Constellation
- Research on Method and Key Technologies of Business Process-oriented Security Requirements Elicitation for Information Systems
- Research on Automatic Code Generation and Optimization in Parallelizing Compiler
- Research on Techniques of VLSI RT-Level Automatic Functional Vectors Generation
- Forging hydraulic machine hydraulic control system is a key technology research
- Research on Control Flow Error Checking Algorithm Based on Assembly Language