From: robertlipe Date: Thu, 28 Feb 2013 21:33:29 +0000 (+0000) Subject: Add (somewhat bogus) bushnell trail writer test. X-Git-Tag: archive/raspbian/1.10.0+ds-2+rpi1~1^2~12^2~11^2~627 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=92e3260035b31730b62bb674eb4394e419ce89a5;p=gpsbabel.git Add (somewhat bogus) bushnell trail writer test. --- diff --git a/gpsbabel/testo.d/bushnell.test b/gpsbabel/testo.d/bushnell.test index 3b40afba5..dc6b64ff7 100644 --- a/gpsbabel/testo.d/bushnell.test +++ b/gpsbabel/testo.d/bushnell.test @@ -7,5 +7,10 @@ compare ${REFERENCE}/bushnell.gpx ${TMPDIR}/bushnell.gpx gpsbabel -i bushnell -f ${REFERENCE}/bushnell.wpt -o bushnell -F ${TMPDIR}/bushnell bincompare ${REFERENCE}/bushnell.wpt ${TMPDIR}/bushnell-0.wpt -gpsbabel -i bushnell_trl -f ${REFERENCE}/bushnell_trl.trl -o gpx -F ${TMPDIR}/bushnell_trl.gpx +gpsbabel -i bushnell_trl -f ${REFERENCE}/bushnell_trl.trl -o gpx -F ${TMPDIR}/bushnell_trl.gpx -o bushnell_trl -F ${TMPDIR}/bush_trl.trl compare ${REFERENCE}/bushnell_trl.gpx ${TMPDIR}/bushnell_trl.gpx + +# Because of numeric instability, we don't actually do the compare, but there's +# value just in spinning through the writer. +gpsbabel -i bushnell_trl -f ${TMPDIR}/bush_trl.trl -o gpx -F ${TMPDIR}/bush~gpx.gpx +# compare ${REFERENCE}/bushnell_trl.gpx ${TMPDIR}/bush~gpx.gpx