# New Ticket Created by "Joshua McAdams" # Please include the string: [perl #50966] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=50966 >
I'm using git-svn to check parrot; however, some of the parrot tests look for SVN-specific information. This patch is the beginning of allowing for a git-based checkout to pass all of the parrot tests. It includes adding a couple of subroutines to Parrot::Distribution and then using the results of those subs (at least one of them... the other was a suggestion from particle) to skip svn tests if the checkout isn't from svn. Files Changed: - lib/Parrot/Distribution.pm -> Added two subroutines. One checks for a .svn directory in the distribution base, the other checks for a .git directory. The check for svn or git could be more complex, but this simple solution seems to be enough for me at least. - /t/perl/Parrot_IO.t -> used Parrot::Distribution, created a new instance of it, and then used the 'is_svn_co' subroutine that was just added to skip a test if the checkout is not an svn checkout. - CREDITS -> because the submisson.pod told me to
git_or_svn.patch
Description: Binary data