1 # Running TODO tests...
2 ok 1 - "../gpst -t -o clean pause.gpx" - Output clean format with time breaks # TODO Remove extra \n in the beginning
3 ok 2 - "../gpst -t -o clean pause.gpx" - Output clean format with time breaks (stderr) # TODO Remove extra \n in the beginning
4 not ok 3 - "../gpst -o csv multitrack.gpx" - Output csv format from gpx # TODO Remove extra \n in the beginning
5 # Failed (TODO) test '"../gpst -o csv multitrack.gpx" - Output csv format from gpx'
6 # in ./run-tests.pl at line 1835.
8 # 2003-02-11T23:35:39Z -0.1448824 51.4968266
9 # 2003-02-11T23:35:49Z -0.1449938 51.4968227
10 # 2003-02-11T23:36:14Z -0.1453202 51.4969040
12 # 2003-02-11T23:36:16Z -0.1453398 51.4969214
13 # 2003-02-11T23:36:31Z -0.1455514 51.4969816
14 # 2003-02-11T23:36:43Z -0.1457489 51.4970224 1000
15 # 2003-02-11T23:36:50Z -0.1457804 51.4970452
17 # 2003-02-11T23:37:05Z -0.1458608 51.4970680
18 # 2003-02-11T23:37:22Z -0.1460047 51.4971658
19 # 2003-02-11T23:37:36Z -0.1461614 51.4972469
21 # 2003-02-11T23:37:43Z -0.1462394 51.4972731
22 # 2003-02-11T23:38:04Z -0.1463232 51.4973437
23 # 2003-02-11T23:38:28Z -0.1462949 51.4973337
24 # 2003-02-11T23:38:34Z -0.1462825 51.4973218
25 # 2003-02-11T23:38:35Z -0.1462732 51.4973145
27 # expected: '2003-02-11T23:35:39Z -0.1448824 51.4968266
28 # 2003-02-11T23:35:49Z -0.1449938 51.4968227
29 # 2003-02-11T23:36:14Z -0.1453202 51.4969040
31 # 2003-02-11T23:36:16Z -0.1453398 51.4969214
32 # 2003-02-11T23:36:31Z -0.1455514 51.4969816
33 # 2003-02-11T23:36:43Z -0.1457489 51.4970224 1000
34 # 2003-02-11T23:36:50Z -0.1457804 51.4970452
36 # 2003-02-11T23:37:05Z -0.1458608 51.4970680
37 # 2003-02-11T23:37:22Z -0.1460047 51.4971658
38 # 2003-02-11T23:37:36Z -0.1461614 51.4972469
40 # 2003-02-11T23:37:43Z -0.1462394 51.4972731
41 # 2003-02-11T23:38:04Z -0.1463232 51.4973437
42 # 2003-02-11T23:38:28Z -0.1462949 51.4973337
43 # 2003-02-11T23:38:34Z -0.1462825 51.4973218
44 # 2003-02-11T23:38:35Z -0.1462732 51.4973145
46 ok 4 - "../gpst -o csv multitrack.gpx" - Output csv format from gpx (stderr) # TODO Remove extra \n in the beginning
47 not ok 5 - "../gpst -o csv pause.gpx" - csv format from gpx # TODO Remove extra \n in the beginning
48 # Failed (TODO) test '"../gpst -o csv pause.gpx" - csv format from gpx'
49 # in ./run-tests.pl at line 1835.
51 # 2006-05-21T16:49:11Z 5.299534 60.425494 25.260
52 # 2006-05-21T16:49:46Z 5.299610 60.425464 24.931
53 # 2006-05-21T16:52:04Z 5.299694 60.425314 27.975
54 # 2006-05-21T16:56:36Z 5.299741 60.425384 31.017
55 # 2006-05-21T16:56:47Z 5.299958 60.425339 30.980
56 # 2006-05-21T16:56:56Z 5.299640 60.425238 30.538
57 # 2006-05-21T16:57:03Z 5.299686 60.425246 30.515
58 # 2006-05-21T16:59:08Z 5.299773 60.425345 31.936
59 # 2006-05-21T17:00:54Z 5.299419 60.425457 31.794
61 # expected: '2006-05-21 16:49:11 5.299534 60.425494 25.260
62 # 2006-05-21 16:49:46 5.299610 60.425464 24.931
63 # 2006-05-21 16:52:04 5.299694 60.425314 27.975
64 # 2006-05-21 16:56:36 5.299741 60.425384 31.017
65 # 2006-05-21 16:56:47 5.299958 60.425339 30.980
66 # 2006-05-21 16:56:56 5.299640 60.425238 30.538
67 # 2006-05-21 16:57:03 5.299686 60.425246 30.515
68 # 2006-05-21 16:59:08 5.299773 60.425345 31.936
69 # 2006-05-21 17:00:54 5.299419 60.425457 31.794
71 ok 6 - "../gpst -o csv pause.gpx" - csv format from gpx (stderr) # TODO Remove extra \n in the beginning
72 not ok 7 - "../gpst --epoch -o csv pause.gpx" - csv format with epoch seconds from gpx # TODO Remove extra \n in the beginning
73 # Failed (TODO) test '"../gpst --epoch -o csv pause.gpx" - csv format with epoch seconds from gpx'
74 # in ./run-tests.pl at line 1835.
76 # 1148230151 5.299534 60.425494 25.260
77 # 1148230186 5.299610 60.425464 24.931
78 # 1148230324 5.299694 60.425314 27.975
79 # 1148230596 5.299741 60.425384 31.017
80 # 1148230607 5.299958 60.425339 30.980
81 # 1148230616 5.299640 60.425238 30.538
82 # 1148230623 5.299686 60.425246 30.515
83 # 1148230748 5.299773 60.425345 31.936
84 # 1148230854 5.299419 60.425457 31.794
86 # expected: '1148230151 5.299534 60.425494 25.260
87 # 1148230186 5.299610 60.425464 24.931
88 # 1148230324 5.299694 60.425314 27.975
89 # 1148230596 5.299741 60.425384 31.017
90 # 1148230607 5.299958 60.425339 30.980
91 # 1148230616 5.299640 60.425238 30.538
92 # 1148230623 5.299686 60.425246 30.515
93 # 1148230748 5.299773 60.425345 31.936
94 # 1148230854 5.299419 60.425457 31.794
96 ok 8 - "../gpst --epoch -o csv pause.gpx" - csv format with epoch seconds from gpx (stderr) # TODO Remove extra \n in the beginning
97 not ok 9 - "../gpst -u no_signal.mayko" - Output gpsml from the -u option # TODO Use gpsml, this Mayko thing is obsolete.
98 # Failed (TODO) test '"../gpst -u no_signal.mayko" - Output gpsml from the -u option'
99 # in ./run-tests.pl at line 1835.
100 # got: 'xmaplog 1.0 Mon Dec 23 02:00:50 2002
101 # 1 70.6800486 23.6746151 57.4 0 12/22/2002 21:42:24
102 # 1 70.6799322 23.6740038 6.3 0 12/22/2002 21:42:32
103 # 1 70.6796266 23.6723991 6.0 0 12/22/2002 21:42:54
104 # # 20021222T214351-20021222T214354: CO: No signal {{{
105 # # 1 70.6796266 23.6723991 0.0 0 12/22/2002 21:43:51
106 # # 1 70.6796266 23.6723991 0.0 0 12/22/2002 21:43:52
107 # # 1 70.6796266 23.6723991 0.0 0 12/22/2002 21:43:54
108 # # 20021222T214351-20021222T214354: CO: No signal }}}
110 # 1 70.6800774 23.6757566 5.1 0 12/22/2002 21:44:45
111 # 1 70.6801502 23.6753442 4.8 0 12/22/2002 21:44:52
112 # 1 70.6801905 23.6757542 2.5 0 12/22/2002 21:45:04
114 # expected: '<?xml version="1.0" encoding="UTF-8"?>
117 # <tp> <time>2002-12-22T21:42:24Z</time> <lat>70.6800486</lat> <lon>23.6746151</lon> </tp>
118 # <tp> <time>2002-12-22T21:42:32Z</time> <lat>70.6799322</lat> <lon>23.6740038</lon> </tp>
119 # <tp> <time>2002-12-22T21:42:54Z</time> <lat>70.6796266</lat> <lon>23.6723991</lon> </tp>
120 # <desc>20021222T214351-20021222T214354: CO: No signal {{{</desc>
121 # <etp err="nosignal"> <time>2002-12-22T21:43:51Z</time> <lat>70.6796266</lat> <lon>23.6723991</lon> </etp>
122 # <etp err="nosignal"> <time>2002-12-22T21:43:52Z</time> <lat>70.6796266</lat> <lon>23.6723991</lon> </etp>
123 # <etp err="nosignal"> <time>2002-12-22T21:43:54Z</time> <lat>70.6796266</lat> <lon>23.6723991</lon> </etp>
124 # <desc>20021222T214351-20021222T214354: CO: No signal }}}</desc>
126 # <tp> <time>2002-12-22T21:44:45Z</time> <lat>70.6800774</lat> <lon>23.6757566</lon> </tp>
127 # <tp> <time>2002-12-22T21:44:52Z</time> <lat>70.6801502</lat> <lon>23.6753442</lon> </tp>
128 # <tp> <time>2002-12-22T21:45:04Z</time> <lat>70.6801905</lat> <lon>23.6757542</lon> </tp>
132 ok 10 - "../gpst -u no_signal.mayko" - Output gpsml from the -u option (stderr) # TODO Use gpsml, this Mayko thing is obsolete.
133 not ok 11 - "../gpst -o gpx multitrack-pause.gpsml" - Should be equal to multitrack-pause.gpx # TODO Tweak output
134 # Failed (TODO) test '"../gpst -o gpx multitrack-pause.gpsml" - Should be equal to multitrack-pause.gpx'
135 # in ./run-tests.pl at line 1835.
136 # got: '<?xml version="1.0" encoding="UTF-8" standalone="no"?>
139 # creator="gpst - http://svn.sunbase.org/repos/utils/trunk/src/gpstools/"
140 # xmlns="http://www.topografix.com/GPX/1/1"
141 # xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
142 # xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd"
146 # <trkpt lat="1.11" lon="1.12"> <time>2006-01-01T00:00:00Z</time> </trkpt>
147 # <trkpt lat="1.21" lon="1.22"> <time>2006-01-01T00:00:01Z</time> </trkpt>
148 # <trkpt lat="1.31" lon="1.32"> <time>2006-01-01T00:00:02Z</time> </trkpt>
151 # <trkpt lat="2.11" lon="2.12"> <time>2006-01-02T00:00:00Z</time> </trkpt>
152 # <trkpt lat="2.21" lon="2.22"> <time>2006-01-02T00:00:04Z</time> </trkpt>
153 # <trkpt lat="2.31" lon="2.32"> <time>2006-01-02T00:00:16Z</time> </trkpt>
154 # <trkpt lat="2.41" lon="2.42"> <time>2006-01-02T01:00:16Z</time> </trkpt>
155 # <trkpt lat="2.451" lon="2.452"> <time>2006-01-02T01:00:17Z</time> </trkpt>
160 # <trkpt lat="3.11" lon="3.12"> <time>2006-01-03T02:00:20Z</time> </trkpt>
161 # <trkpt lat="3.21" lon="3.22"> <time>2006-01-03T02:00:21Z</time> </trkpt>
162 # <trkpt lat="3.31" lon="3.32"> <time>2006-01-03T02:00:22Z</time> </trkpt>
163 # <trkpt lat="3.41" lon="3.42"> <time>2006-01-03T02:00:23Z</time> </trkpt>
166 # <trkpt lat="3.51" lon="3.52"> <time>2006-01-03T02:00:24Z</time> </trkpt>
167 # <trkpt lat="3.61" lon="3.62"> <time>2006-01-03T02:00:25Z</time> </trkpt>
168 # <trkpt lat="3.71" lon="3.72"> <time>2006-01-03T02:00:26Z</time> </trkpt>
169 # <trkpt lat="3.81" lon="3.82"> <time>2006-01-03T02:00:27Z</time> </trkpt>
174 # expected: '<?xml version="1.0" encoding="UTF-8" standalone="no"?>
177 # creator="gpst - http://svn.sunbase.org/repos/utils/trunk/src/gpstools/"
178 # xmlns="http://www.topografix.com/GPX/1/1"
179 # xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
180 # xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd"
183 # <name>track1</name>
185 # <trkpt lat="1.11" lon="1.12"> <time>2006-01-01T00:00:00Z</time> </trkpt>
186 # <trkpt lat="1.21" lon="1.22"> <time>2006-01-01T00:00:01Z</time> </trkpt>
187 # <trkpt lat="1.31" lon="1.32"> <time>2006-01-01T00:00:02Z</time> </trkpt>
191 # <name>track2</name>
193 # <trkpt lat="2.11" lon="2.12"> <time>2006-01-02T00:00:00Z</time> </trkpt>
194 # <trkpt lat="2.21" lon="2.22"> <time>2006-01-02T00:00:04Z</time> </trkpt>
195 # <trkpt lat="2.31" lon="2.32"> <time>2006-01-02T00:00:16Z</time> </trkpt>
196 # <trkpt lat="2.41" lon="2.42"> <time>2006-01-02T01:00:16Z</time> </trkpt>
199 # <trkpt lat="2.451" lon="2.452"> <time>2006-01-02T01:00:17Z</time> </trkpt>
203 # <name>track3</name>
205 # <trkpt lat="3.11" lon="3.12"> <time>2006-01-03T02:00:20Z</time> </trkpt>
206 # <trkpt lat="3.21" lon="3.22"> <time>2006-01-03T02:00:21Z</time> </trkpt>
207 # <trkpt lat="3.31" lon="3.32"> <time>2006-01-03T02:00:22Z</time> </trkpt>
210 # <trkpt lat="3.41" lon="3.42"> <time>2006-01-03T02:00:23Z</time> </trkpt>
211 # <trkpt lat="3.51" lon="3.52"> <time>2006-01-03T02:00:24Z</time> </trkpt>
212 # <trkpt lat="3.61" lon="3.62"> <time>2006-01-03T02:00:25Z</time> </trkpt>
213 # <trkpt lat="3.71" lon="3.72"> <time>2006-01-03T02:00:26Z</time> </trkpt>
214 # <trkpt lat="3.81" lon="3.82"> <time>2006-01-03T02:00:27Z</time> </trkpt>
219 ok 12 - "../gpst -o gpx multitrack-pause.gpsml" - Should be equal to multitrack-pause.gpx (stderr) # TODO Tweak output
220 GPX: Cannot open file '/home/sunny/gps/waypoints.gpx'!
221 not ok 13 - list_nearest_waypoints() # TODO Fix it.
222 # Failed (TODO) test 'list_nearest_waypoints()'
223 # in ./run-tests.pl at line 1807.
225 # doesn't match '(?-xism:^\(.*,.*,.*\)$)'