Skip to content

NS3找不到测试文件,无法运行 #229

@wtl0000

Description

@wtl0000

我要运行ns-3-alibabacloud中simulation/src/point-to-point/下的test测试文件,我打开simulation下的cmakelist下的option(NS3_TESTS "Enable tests to be built" ON),ns3再编译会报错

Image 我通过将Event及其引用重命名是其可编译成功,运行ctest --test-dir build -N Test project /home/user/zcy/SimAI/ns-3-alibabacloud/simulation

Total Tests: 0找不到test文件,运行ctest --test-dir build -R point-to-point --output-on-failure
Test project /home/user/zcy/SimAI/ns-3-alibabacloud/simulation
No tests were found!!!也是找不到,请问这种问题怎样解决,我之后运行test测试文件的正确命令是什么

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions