gpsd-dev
[Top][All Lists]
Advanced

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

Re: Running regression tests on Ubuntu 14.04


From: Gregory Fong
Subject: Re: Running regression tests on Ubuntu 14.04
Date: Wed, 29 Apr 2020 18:50:31 -0700

On Wed, Apr 29, 2020 at 6:21 PM Gary E. Miller <address@hidden> wrote:
> > Patch applied to git head.  Please test.

Done, thanks!

>
> Well, that did not last long.  gpsfake does not work out of tree.
>
> With, or without your patch.

Makes sense.  After a second look, it appears that packet.py is not
dealing with different working dirs nicely because of this usage of
os.getcwd():

    # Add raw interface to the packet FFI stub.
    _packet = None
    _cwd = os.getcwd()
    if 'gpsd' in _cwd.split('/'):
        _path = _cwd + '/'
    else:
        _path = './'
    #    _path = ['@libdir@']

Checking for 'gpsd' in cwd seems like a questionable heuristic.

Best regards,
Gregory



reply via email to

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