[CDash] CDASH_MANAGE_CLIENTS

Zack Galbreath zack.galbreath at kitware.com
Fri Jul 30 13:25:39 UTC 2021


On Wed, Jul 28, 2021 at 9:31 AM Karol Molnár <molnarkarol at gmail.com> wrote:

> Thank you very much. I will try that webhooks, i want to test all commit.
> Is there a way to tell that other instance of ctest is running some
> build/test?
>

There is ctest -SP <script>
<https://cmake.org/cmake/help/latest/manual/ctest.1.html>, but I don't
think that will give you what you want.



> Or is there a method to queue builds so when some commits are pushed in
> short interval and a build is not finished i don’t start new one. Or how to
> handle this kind of situations?
>

Attached is an example of how to do this type of thing purely in a CTest
driver script (no webhook required!). You'll probably have to tweak it for
your situation, but hopefully it's a good start if nothing else.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cdash/attachments/20210730/2c6a86f7/attachment-0003.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ctest_continuous_test_every_commit.cmake
Type: application/octet-stream
Size: 1351 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/cdash/attachments/20210730/2c6a86f7/attachment-0003.obj>


More information about the CDash mailing list