Defects4j:run.dev.tests 引用什么?
我试图了解 run.dev.tests 引用的是什么。
当我在 Defects4j 中运行测试命令时,它会编译并运行测试。执行从 Project.pm 调用的 run_tests 子例程。
run_tests 子例程被调用并返回 _ant_call_comp 子例程,该子例程从 Project.pm 调用并且需要至少 2 个参数。
由于目标是参数之一,我认为 run.dev.tests 是 ant 构建文件中的目标,但我在任何地方都找不到它。
在其他(第四和第五个屏幕截图)中,正在传递 _ant_call_comp 子例程compile.tests,它是构建文件中的目标。但我在所有文件和文件夹中都找不到 run.dev.tests 。
有人可以指出正确的方向吗?
I am trying to understand what is run.dev.tests referencing to.
When i run test command in Defects4j it compiles and run tests. run_tests subroutine which is called from Project.pm is executed.
run_tests subroutine is called and returns _ant_call_comp subroutine which is called from Project.pm and requires at-least 2 arguments.
since a target is one of the parameter I think run.dev.tests is a target in ant build file but i can't find it anywhere.
In other (4th and 5th screenshot) _ant_call_comp subroutine compile.tests is being passed that is a target in build file. But I can't find run.dev.tests anywhere in all files and folders.
Can someone please point be to the right direction?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
run.dev.tests
(或者通常是 _ant_call 中的目标参数)子例程引用 Defects4J 的顶级构建文件。Defects4J 的顶级构建文件定义了允许用户或客户端程序以编程方式编译和测试其任何工件的所有目标。为了解决项目和/或工件特定的差异,Defects4J 使用三个构建文件的层次结构:
run.dev.tests
(or generally the target parameter in the _ant_call) subroutine is referring to a target in Defects4J's top-level build file.Defects4J's top-level build file defines all targets that allow a user or client program to programmatically compile and test any of its artifacts. To account for project and/or artifact-specific differences, Defects4J uses a hierarchy of three build files: