[cmake-developers] Perforce Patch for CTest

Pedro Navarro pnavarro at netflix.com
Thu Oct 24 17:03:42 EDT 2013


Turns out that I could find a way to have P4Web do diffs based on
changelists, so no changes to CTest where needed. I have P4Web now working
on CDash. What's the process to submit CDash patches? I just signed up for
its mailing list.

About the DetectVCS refactor, I'll take a stab at it!

Pedro


On Thu, Oct 24, 2013 at 1:01 PM, Brad King <brad.king at kitware.com> wrote:

> On 10/24/2013 03:57 PM, Pedro Navarro wrote:
> > That's right, p4 usually doesn't create a .p4 file
>
> I think it is fine for the test to not place .p4 files
> since that is representative of real use cases.
>
> > Ideally each VCS implementation could have a way to tell
> > CTest if a directory it's under that specific VCS control
> > or not, that way we could execute whatever p4 commands we
> > wanted inside cmCTestP4 and return true if the source
> > directory is being managed by p4.
>
> I think that would be a great way to refactor DetectVCS.
> It would avoid putting VCS-tool-specific knowledge (the
> directory name) in the main class.  The existing classes
> for other tools would just look for its control directory
> and P4 could run the tool.
>
> Thanks,
> -Brad
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20131024/3ca0ab1a/attachment.html>


More information about the cmake-developers mailing list