Non-interference test method of embedded system software
-
摘要: 传统的嵌入式系统软件测试方法对被测试系统有一定的干涉效应,影响了测试结果的精确性和正确性.采用"非干涉测试方法"可以将这种影响消除,从而得到精确的测试结果,是一种准确反映被测试目标系统真实运行状态的测试方法.与传统的测试方法不同,该方法的特点在于对目标系统完全是非干涉的.通过分析非干涉测试方法的基本特征,提出了该方法的应用模型.在这个模型中,有3个组成部分是必需的,包括静态分析模块,动态分析模块和通过硬件采集目标系统状态信息的数据采集子系统.静态分析模块对被测试软件静态特征进行分析,指导硬件采集子系统如何采集以及动态分析模块如何解析采集的数据.在整个测试周期,"非干涉测试方法"不需要在目标软件中驻留任何仅用于测试的可执行代码.Abstract: Traditional test methods of embedded system software impose on the object system and the result of the test are not accurate enough as expected. Non-interference test (NIT) method can solve the problem. Not same with the traditional test methods, NIT is completely non-interference to the object software. By analyzing the basic characteristics of NIT, an application model of NIT was set up. There must be three modules in this model, include static analyse module, dynamic analyse module and data gathering subsystem which tracks the object system by hardware. Static analyse module figures out the static characteristics of the object software and tells the other two modulus how to gather the state data of the object system and how to understand the data. In all steps of the test cycle, NIT does not add any instructions executed only within the test round into the object program.
-
Key words:
- software /
- data acquisition /
- embedded system /
- software test /
- white box test
-
[1] 靳 超. CodeTest嵌入式软件在线测试与分析工具在嵌入式系统开发中的应用 . 见:沈绪榜,何立民. 2001年嵌入式系统及单片机国际学术交流会论文集 .北京:北京航空航天大学出版社,2001.290~292 Jin Chao.CodeTest——the use of embedded software real-time test and analysis tools in the development of embedded system . In:Shen Xubang,He Limin. 2001International Conference on Embedded Systems .Beijing:Beijing University of Aeronautics and Astronautics Press, 2001.290~292(in Chinese) [2] 王 璞,张臻鉴,王玉玺. 基于覆盖的软件测试技术在实时嵌入式软件中的应用研究[J]. 计算机工程与设计, 1998,19(6):45~49 Wang Pu, Zhang Zhenjian, Wang Yuxi. A research on coverage-based software testing technique in the real-time embedded computer system[J]. Computer Engineering and Design, 1998,19(6):45~49(in Chinese) [3] 李 茜,梅 琳,凌 辉,等. EASTT:一种嵌入式应用软件测试系统[J]. 计算机工程与科学, 2002,24(2):66~69 Li Qian, Mei Lin, Ling Hui, et al. EASTT:an embedded application software test system[J]. Computer Engineering and Science, 2002,24(2):66~69(in Chinese) [4] Wolf F, Ernst R. Data flow based cache prediction using local simulation . IEEE International High-Level Validation and Test Workshop (HLDVT'00) . Berkeley, California :2000.155~160 [5] Ferdinand C, Wilhelm R. On predicting data cache behavior for real-time systems . Proceeding of the A CM SIGPLAN Workshop on Languages, Compilers and Tools for Embedded Systems, Volume 1474 of Lecture Notes in Computer Science . 1998.16~30
点击查看大图
计量
- 文章访问数: 2486
- HTML全文浏览量: 54
- PDF下载量: 840
- 被引次数: 0