首页> 外文期刊>Concurrency and computation: practice and experience >Structural testing for message-passing concurrent programs: an extended test model
【24h】

Structural testing for message-passing concurrent programs: an extended test model

机译:消息传递并发程序的结构测试:扩展测试模型

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

摘要

Developing high-quality, error-free message-passing concurrent programs is not trivial. Although a numberrnof different primitives with associated semantics are available to assist such development, they often increasernthe complexity of the testing process. In this paper, we extend our previous test model for messagepassingrnprograms and present new structural testing criteria, taking into account additional features used inrnthis paradigm, such as collective communication, non-blocking sends, distinct semantics for non-blockingrnreceives, and persistent operations. Our new model also recognizes that sender primitives cannot alwaysrnbe matched with every receive primitive. This improvement allows us to remove statically a significantrnnumber of infeasible synchronization edges that would otherwise have to be analyzed later by the tester.rnIn this paper, the test model is presented using the Message-Passing Interface standard; however, our newrnmodel has been designed to be flexible, and it can be configured to support a range of different messagepassingrnenvironments or languages. We have carried out case studies showing the applicability of the newrntest model to represent message-passing programs and also to reveal errors, mainly those errors related torninter-process communication. In addition to increasing the number of features supported by the test model,rnwe have also reduced the overall cost of testing significantly. Our case studies suggest that the numberrnof synchronization edges can be reduced by up to 93%, mainly by eliminating infeasible edges betweenrnunmatchable communication primitives. The main contribution of the paper is to present a more flexible testrnmodel that provides improved coverage for message-passing programs and at the same time reduces the costrnof testing significantly
机译:开发高质量,无错误的消息传递并发程序并非易事。尽管具有关联语义的许多不同原语可用于协助此类开发,但它们通常会增加测试过程的复杂性。在本文中,我们扩展了先前的消息传递程序测试模型,并提出了新的结构测试标准,同时考虑了此范例中使用的其他功能,例如集体通信,非阻塞发送,非阻塞接收的独特语义以及持久性操作。我们的新模型还认识到,发送方原语不能总是与每个接收原语匹配。这项改进使我们能够静态地删除大量不可行的同步边,否则测试人员随后将不得不对其进行分析。在本文中,使用消息传递接口标准提出了测试模型。但是,我们的newrnmodel设计灵活,可以配置为支持各种不同的消息传递环境或语言。我们进行了一些案例研究,这些案例表明newtest模型可用于表示消息传递程序并揭示错误,主要是那些与进程间通信有关的错误。除了增加测试模型支持的功能数量之外,我们还大大降低了测试的总体成本。我们的案例研究表明,可以通过最大程度地消除不可匹配的通信原语之间的不可行边来将numberrnof同步边减少多达93%。本文的主要贡献是提出了一个更灵活的testrn模型,该模型提供了对消息传递程序的改进的覆盖范围,同时显着减少了costrnof测试

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号