aliyun / aliyun/SimAI

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

Open
#229 4 comments 1 reaction 2 assignees View on GitHub

@tianhao909 is already working on this.

Since Mar 12, 2026.

Dominant language
Python
Stars
1.2k
Forks
184
Avg merge
13h 4m
Merged PRs (30d)
1

Description

我要运行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测试文件的正确命令是什么

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.