[blivet:master 1/4] Do an initial setup for running pylint tests in blivet.

David Shea dshea at redhat.com
Wed Mar 19 17:22:31 UTC 2014


On 03/19/2014 12:54 PM, mulhern wrote:
> +    for testfile in $(git ls-files -c "${top_srcdir}" | egrep -v '(^|/)old_tests/') ; do

This is going to run into the same problem I hit with distcheck in 
anaconda: if you're running this outside of a git tree (so any time you 
start with a dist tarball, like in the check target of an rpmbuild, for 
example), this won't work, because git ls-files won't work. You may want 
to switch this to what anaconda does now (as of, like, today), which is 
to fallback to find -type f if there is no .git directory.



More information about the anaconda-patches mailing list