首页> 外文期刊>The Journal of Systems and Software >An automated approach to reducing test suites for testing retargeted C compilers for embedded systems
【24h】

An automated approach to reducing test suites for testing retargeted C compilers for embedded systems

机译:减少测试套件的自动化方法,用于测试嵌入式系统的重新定向的C编译器

获取原文
获取原文并翻译 | 示例
           

摘要

With widespread use of embedded processors, there is an increasing need to develop compilers for them in a timely manner. Retargeting has been an effective approach to constructing new compilers by modifying the back-end of existing compilers. An efficient testing method for retargeted compilers using intermediate codes is proposed in this paper. The concepts of the intermediate-code-based approach are described, and it is demonstrated that the proposed approach is efficient and effective enough. We have developed an automated tool, PLOOSE, which generates test suites based on source-code coverage criteria and then reduces them based on intermediate-code coverage. In addition, case studies are presented which reveal that a test suite based on source codes can be considerably reduced using intermediate codes. Moreover, by mutation analysis, it was found that the size of the test suite has been reduced by over 90% on average, but the fault detection capability of the reduced test suites is still approximately 80% of that of the original test suites. In particular, the proposed reduction method can be useful for testing compilers in the early stage of the development of retargeted compilers.
机译:随着嵌入式处理器的广泛使用,越来越需要及时为它们开发编译器。通过修改现有编译器的后端,重新定向已成为构建新编译器的有效方法。提出了一种使用中间代码的针对重定向目标编译器的有效测试方法。描述了基于中间码的方法的概念,并证明了所提出的方法足够有效。我们已经开发了一种自动化工具PLOOSE,它可以根据源代码覆盖率标准生成测试套件,然后根据中间代码覆盖率来减少测试套件。此外,案例研究表明,使用中间代码可以大大减少基于源代码的测试套件。此外,通过突变分析,发现测试套件的大小平均减少了90%以上,但缩减后的测试套件的故障检测能力仍约为原始测试套件的80%。特别地,所提出的简化方法对于在重新定向的编译器开发的早期阶段测试编译器可能是有用的。

著录项

  • 来源
    《The Journal of Systems and Software》 |2011年第12期|p.2053-2064|共12页
  • 作者单位

    Department of Computer Science and Engineering, Pusan National University, 30 jangjeon-Dong, Geumjeong-Gu 609-735, Busan, Republic of Korea;

    Department of Computer Science and Engineering, Pusan National University, 30 jangjeon-Dong, Geumjeong-Gu 609-735, Busan, Republic of Korea;

    Department of Computer Science and Engineering, Pusan National University, 30 jangjeon-Dong, Geumjeong-Gu 609-735, Busan, Republic of Korea;

    Department of Computer Science and Engineering, Pusan National University, 30 jangjeon-Dong, Geumjeong-Gu 609-735, Busan, Republic of Korea;

    Electronics and Telecommunications Research Institute, 138 Gajeongno, Yuseong-Gu 305-700, Daejeon, Republic of Korea;

  • 收录信息
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

    test suite generation and reduction; compiler testing; retargeted compilers; intermediate code; grammar coverage;

    机译:测试套件的生成和缩减;编译器测试;重新定向的编译器;中间代码;语法覆盖;

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号