gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-dev] Python Coverage Support


From: Fred Wright
Subject: Re: [gpsd-dev] Python Coverage Support
Date: Tue, 15 Mar 2016 16:49:58 -0700 (PDT)

On Thu, 10 Mar 2016, Fred Wright wrote:
> On Wed, 9 Mar 2016, Fred Wright wrote:
>
> > I've pushed two new commits to my test-fixes branch on GitHub.  The first
> > arranges to apply Python coveraging to any Python programs (except
> > generated Python programs) executed during a build with coveraging
> > enabled.  The second adds three quick regression-style tests that run
> > passthrough.log in all three transport modes to get better test coverage
> > in fake.py.
> >
> > Diffs here:
> >
> >     https://github.com/fhgwright/gpsd/compare/master...test-fixes
>
> One of those changes caused coveraging to break when the Python coverage
> tool couldn't be found (though it could be worked around by setting
> python_coverage to an empty string).  That's now fixed in another commit,
> and there's another that makes the tests work when here's no 'python2'
> command.

I reworked these patches to squash the bugfix into the commit that
introduced the bug, and to add some documentation tweaks.  This is up to
date on GitHub, but I'll send pach files also.

Fred Wright



reply via email to

[Prev in Thread] Current Thread [Next in Thread]