[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gpsd-dev] test script for new functionality
From: |
Gary E. Miller |
Subject: |
Re: [gpsd-dev] test script for new functionality |
Date: |
Tue, 19 Sep 2017 14:01:25 -0700 |
Yo tom!
On Tue, 19 Sep 2017 17:05:46 +1000
tom <address@hidden> wrote:
> this is the first time i am preparing a patch.
Great.
> but i am now trying to write a test for just the ublox*.log files so
> i can emit a UBX packet.
> so i can then write the matching .chk that validates the value in the
> "ant" field in the json.
Uh, you don't do that. The .chk files are automatically generated.
All you do is manully look at the .chk file to see your gpsd patch
is reading the *.log file and generating the output you expect.
> The log files seem to be mostly NMEA log files, but i do see a bit of
> binary data at the top after the & sign.. is this where any raw UBX
> messages would go
Look in the test directory and read the README.
RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
address@hidden Tel:+1 541 382 8588
Veritas liberabit vos. -- Quid est veritas?
"If you can’t measure it, you can’t improve it." - Lord Kelvin
pgp04PJ2zPrAm.pgp
Description: OpenPGP digital signature