[CDash] Manually Submitting Results to CDash

David Cole DLRdave at aol.com
Mon Oct 10 19:54:03 UTC 2016


You can use the same submit.php that CTest uses. To figure out how to
send it from your client, it may be useful to analyze the curl code
ctest uses to submit the xml files:

Starting near here:

    https://github.com/Kitware/CMake/blob/master/Source/CTest/cmCTestSubmitHandler.cxx#L295

In the method cmCTestSubmitHandler::SubmitUsingHTTP


HTH,
David C.



On Mon, Oct 10, 2016 at 12:46 PM, Kimmel, Jason via CDash
<cdash at public.kitware.com> wrote:
> Hi,
>
>
>
> We have an existing testing infrastructure (not built on CTest) and would
> like to start uploading test results to a CDash instance.  It appears as
> though that should be possible by generating schema-conformant XML files and
> then uploading them to CDash.  There’s a mention in the wiki that this can
> be done using the same submit.php that CTest uses, but unfortunately I
> haven’t been able to find documentation on what the proper way to invoke
> submit.php from an external client is.
>
>
>
> Does anyone know how to properly invoke submit.php manually?  Would this be
> easier to accomplish by having cmake kick-off our test process, generate the
> XML files, and then using ctest_submit?
>
>
>
> Thanks,
>
> Jason
>
>
> _______________________________________________
> CDash mailing list
> CDash at public.kitware.com
> http://public.kitware.com/mailman/listinfo/cdash
>



More information about the CDash mailing list