From jason.kimmel at albint.com Mon Oct 10 12:46:31 2016 From: jason.kimmel at albint.com (Kimmel, Jason) Date: Mon, 10 Oct 2016 16:46:31 +0000 Subject: [CDash] Manually Submitting Results to CDash Message-ID: <5B5EA34B8D50A34B9A0F44D09CDA14AA01CC9223@exmb2.albint.com> 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From DLRdave at aol.com Mon Oct 10 15:54:03 2016 From: DLRdave at aol.com (David Cole) Date: Mon, 10 Oct 2016 15:54:03 -0400 Subject: [CDash] Manually Submitting Results to CDash In-Reply-To: <5B5EA34B8D50A34B9A0F44D09CDA14AA01CC9223@exmb2.albint.com> References: <5B5EA34B8D50A34B9A0F44D09CDA14AA01CC9223@exmb2.albint.com> Message-ID: 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 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 > From jason.kimmel at albint.com Mon Oct 10 16:46:31 2016 From: jason.kimmel at albint.com (Kimmel, Jason) Date: Mon, 10 Oct 2016 16:46:31 +0000 Subject: [CDash] Manually Submitting Results to CDash Message-ID: <5B5EA34B8D50A34B9A0F44D09CDA14AA01CC9223@exmb2.albint.com> 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From DLRdave at aol.com Mon Oct 10 19:54:03 2016 From: DLRdave at aol.com (David Cole) Date: Mon, 10 Oct 2016 15:54:03 -0400 Subject: [CDash] Manually Submitting Results to CDash In-Reply-To: <5B5EA34B8D50A34B9A0F44D09CDA14AA01CC9223@exmb2.albint.com> References: <5B5EA34B8D50A34B9A0F44D09CDA14AA01CC9223@exmb2.albint.com> Message-ID: 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 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 > From jason.kimmel at albint.com Mon Oct 10 16:46:31 2016 From: jason.kimmel at albint.com (Kimmel, Jason) Date: Mon, 10 Oct 2016 16:46:31 +0000 Subject: [CDash] Manually Submitting Results to CDash Message-ID: <5B5EA34B8D50A34B9A0F44D09CDA14AA01CC9223@exmb2.albint.com> 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From DLRdave at aol.com Mon Oct 10 19:54:03 2016 From: DLRdave at aol.com (David Cole) Date: Mon, 10 Oct 2016 15:54:03 -0400 Subject: [CDash] Manually Submitting Results to CDash In-Reply-To: <5B5EA34B8D50A34B9A0F44D09CDA14AA01CC9223@exmb2.albint.com> References: <5B5EA34B8D50A34B9A0F44D09CDA14AA01CC9223@exmb2.albint.com> Message-ID: 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 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 >