这个特性将导致大量的输出,主要用于调试仪表板问题。 --output-on-failure 如果测试失败,则输出测试程序输出的内容。此选项也可以通过设置CTEST_OUTPUT_ON_FAILURE环境变量来启用。 --stop-on-failure 当第一个失败发生时停止运行测试。 -F 启用故障转移。 此选项允许CTest恢复之前中断的测试集执行。如果没有中断发生...
--stop-on-failure Stop running the tests when the first failure happens. -F Enable failover. This option allows CTest to resume a test set execution that was previously interrupted. If no interruption occurred, the -F option will have no effect. -j [<level>], --parallel [<level>] Run...
This should be long enough (with headroom) for our longest running tests, which even under MSAN, TSAN, Valgrind, etc max out at about 800s. i.e under Valgrind I see the longer runtimes as: 135/136 ...
When reporting failures from ctest, it really helps to run ctest --output-on-failure and then paste in the error messages you see. In the case of a pgsql failure, it's likely to mention a file that contains the differences between the expected results and what came out of the tests. ...