计算机工程 ›› 2009, Vol. 35 ›› Issue (21): 54-56,5.doi: 10.3969/j.issn.1000-3428.2009.21.018

• 软件技术与数据库 • 上一篇    下一篇

嵌入式软件路径覆盖测试数据采集

于全喜1,张毅坤1,胡燕京1,2,朱 伟1   

  1. (1. 西安理工大学计算机科学与工程学院,西安 710048;2. 武警工程学院电子技术系,西安 710086)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2009-11-05 发布日期:2009-11-05

Data Collection in Embedded Software Path Coverage Test

YU Quan-xi1, ZHANG Yi-kun1, HU Yan-jing1,2, ZHU Wei1   

  1. (1. School of Computer Science and Engineering, Xi’an University of Technology, Xi’an 710048;
    2. Electronics Technology Department, Engineering College of Armed Police Force, Xi’an 710086)
  • Received:1900-01-01 Revised:1900-01-01 Online:2009-11-05 Published:2009-11-05

摘要: 分析嵌入式软件动态测试的特点及路径覆盖测试策略,设计动态测试数据采集处理框架,其中包含程序分析与插桩、测试数据采集传输、测试结果分析与处理3大子系统。以静态分析结果指导插桩,采用消息队列机制采集传输数据,并利用测试结果制作初步测试报告。通过测试实例分析模拟采集、处理一条路径数据的过程,证明该框架的可行性。

关键词: 路径覆盖测试, 程序插桩, 消息队列

Abstract: This paper depicts embedded software dynamic test characteristic and path coverage test strategy to design a data collection and processing framework, which includes program instrumentation, data collection, data transmission and results processing. The results of static analysis show instrumentation, using message queue to collect and transmit data, and making rudimental report based on the results. Through simulated collection and processing data of a path, the feasibility of the framework is proved.

Key words: path coverage test, program instrumentation, message queue

中图分类号: