Skip to content

Commit

Permalink
Add GPX track test case.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmot committed Jan 8, 2004
1 parent 3474869 commit 0a85140
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions testo
Expand Up @@ -311,6 +311,17 @@ ${PNAME} -r -i gpx -f ${TMPDIR}/gpxroute.gpx -o magellan \
-F ${TMPDIR}/maggpx.rte
compare ${TMPDIR}/maggpx.rte reference/route/magellan.rte

#
# GPX tracks -- since GPX contains a date stamp, tests will always
# fail, so we use magellan as an interim format...
#
rm -f ${TMPDIR}/gpxtrack.gpx ${TMPDIR}/maggpx.trk
${PNAME} -t -i gpx -f reference/track/tracks.gpx -o gpx \
-F ${TMPDIR}/gpxtrack.gpx
${PNAME} -t -i magellan -f reference/track/meridian.trk -o gpx \
-F ${TMPDIR}/maggpx.trk
compare ${TMPDIR}/maggpx.trk ${TMPDIR}/gpxtrack.gpx

#
# MAPSEND waypoint / route format
#
Expand Down

0 comments on commit 0a85140

Please sign in to comment.