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: Thu, 10 Mar 2016 15:02:22 -0800 (PST)

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.

Same diff URL.

Fred Wright



reply via email to

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