Skip to content

Commit

Permalink
Remove test-gpx-file before testing
Browse files Browse the repository at this point in the history
  • Loading branch information
centic9 committed Jul 4, 2021
1 parent 8dc282c commit 54c4e9d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,14 @@ done
echo
echo Testing openambit2gpx

rm -f "${TMP:-/tmp}"/testlog.gpx

python2.7 tools/openambit2gpx.py test-data/testlog.log -out "${TMP:-/tmp}"/testlog.gpx

diff --ignore-all-space test-data/testlog.gpx "${TMP:-/tmp}"/testlog.gpx

rm -f "${TMP:-/tmp}"/testlog.gpx

python3 tools/openambit2gpx.py test-data/testlog.log -out "${TMP:-/tmp}"/testlog.gpx

diff --ignore-all-space test-data/testlog.gpx "${TMP:-/tmp}"/testlog.gpx
Expand Down

0 comments on commit 54c4e9d

Please sign in to comment.