gpsd-dev
[Top][All Lists]
Advanced

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

Re: [gpsd-dev] Developing for gpsd, Testing, and gpsfake


From: Eric S. Raymond
Subject: Re: [gpsd-dev] Developing for gpsd, Testing, and gpsfake
Date: Fri, 12 Oct 2018 17:11:43 -0400
User-agent: Mutt/1.9.4 (2018-02-28)

Jiwon Joung <address@hidden>:
> There are log files in the gpsd/test directory that I can feed to gpsfake.
> The different logfiles seem to output different lines when run with gpsfake
> -p. Why is the output different and are they even compatible with gpsfake?

The key thing to know is that gpsfake is a way to feed a test log to a
gpsd instance and see what it spits back out - normally JSON sentences.

The logfiles in the testr directory are indeed meant to be fed to
gpsfake. Exect different ones to give back different JSON.

Fpr each .log file there is a ,chk that is the exoected JSON output.
We test the software by checking that all the outputs are as expected.
-- 
                <a href="http://www.catb.org/~esr/";>Eric S. Raymond</a>

My work is funded by the Internet Civil Engineering Institute: https://icei.org
Please visit their site and donate: the civilization you save might be your own.





reply via email to

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