add new chinese translations

This commit is contained in:
2024-12-30 15:25:56 +08:00
parent a850046d7b
commit 0d798759fd
5418 changed files with 105800 additions and 7052 deletions

16
pages.zh/common/ctest.md Normal file
View File

@@ -0,0 +1,16 @@
# ctest
> CMake 测试驱动程序。
> 更多信息:<https://gitlab.kitware.com/cmake/community/wikis/doc/ctest/Testing-With-CTest>。
- 运行 CMake 项目中定义的所有测试,同时并行执行 4 个任务:
`ctest -j{{4}} --output-on-failure`
- 列出可用的测试:
`ctest -N`
- 根据测试名称运行单个测试,或基于正则表达式进行过滤:
`ctest --output-on-failure -R '^{{test_name}}$'`