如何在构建文件夹之外运行CTest?

时间:2020-03-09 10:07:01

标签: cmake ctest

CTest可以使用ctest -V在build文件夹中运行,是否有同样简单的命令可以重新运行build文件夹之外的所有测试?

I am not asking about running it inside the build process。我想使用命令行在其他地方重新运行所有测试。

我天真地尝试过:

ctest -V /opt/geophase/build/
UpdateCTestConfiguration  from :Projects/research/openfoam/geophase/singularity/geophase/DartConfiguration.tcl
UpdateCTestConfiguration  from :Projects/research/openfoam/geophase/singularity/geophase/DartConfiguration.tcl
Test project Projects/research/openfoam/geophase/singularity/geophase
Constructing a list of tests
Updating test list for fixtures
Added 0 tests to meet fixture requirements
Checking test dependency graph...
Checking test dependency graph end
No tests were found!!!

但是如果我在“ / opt / geophase / build”中运行“ ctest -V”,则所有测试都将运行。

0 个答案:

没有答案