6 # ========== Executing "run-tests.pl --todo" ==========
7 # Running TODO tests...
8 not ok - "../gpst -o gpx pause.gpx" - Read and write name element from/to GPX # TODO Fix read/write of GPX name element
9 # Failed (TODO) test '"../gpst -o gpx pause.gpx" - Read and write name element from/to GPX'
10 # at ./run-tests.pl line 2256.
11 # got: '<?xml version="1.0" encoding="UTF-8" standalone="no"?>
14 # creator="gpst - http://svn.sunbase.org/repos/utils/trunk/src/gpstools/"
15 # xmlns="http://www.topografix.com/GPX/1/1"
16 # xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
17 # xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd"
21 # <trkpt lat="60.425494" lon="5.299534"> <ele>25.260</ele> <time>2006-05-21T16:49:11Z</time> </trkpt>
22 # <trkpt lat="60.425464" lon="5.299610"> <ele>24.931</ele> <time>2006-05-21T16:49:46Z</time> </trkpt>
23 # <trkpt lat="60.425314" lon="5.299694"> <ele>27.975</ele> <time>2006-05-21T16:52:04Z</time> </trkpt>
24 # <trkpt lat="60.425384" lon="5.299741"> <ele>31.017</ele> <time>2006-05-21T16:56:36Z</time> </trkpt>
25 # <trkpt lat="60.425339" lon="5.299958"> <ele>30.980</ele> <time>2006-05-21T16:56:47Z</time> </trkpt>
26 # <trkpt lat="60.425238" lon="5.299640"> <ele>30.538</ele> <time>2006-05-21T16:56:56Z</time> </trkpt>
27 # <trkpt lat="60.425246" lon="5.299686"> <ele>30.515</ele> <time>2006-05-21T16:57:03Z</time> </trkpt>
28 # <trkpt lat="60.425345" lon="5.299773"> <ele>31.936</ele> <time>2006-05-21T16:59:08Z</time> </trkpt>
29 # <trkpt lat="60.425457" lon="5.299419"> <ele>31.794</ele> <time>2006-05-21T17:00:54Z</time> </trkpt>
34 # expected: '<?xml version="1.0" encoding="UTF-8" standalone="no"?>
37 # creator="gpst - http://svn.sunbase.org/repos/utils/trunk/src/gpstools/"
38 # xmlns="http://www.topografix.com/GPX/1/1"
39 # xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
40 # xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd"
43 # <name>ACTIVE LOG164705</name>
45 # <trkpt lat="60.425494" lon="5.299534"> <ele>25.260</ele> <time>2006-05-21T16:49:11Z</time> </trkpt>
46 # <trkpt lat="60.425464" lon="5.299610"> <ele>24.931</ele> <time>2006-05-21T16:49:46Z</time> </trkpt>
47 # <trkpt lat="60.425314" lon="5.299694"> <ele>27.975</ele> <time>2006-05-21T16:52:04Z</time> </trkpt>
48 # <trkpt lat="60.425384" lon="5.299741"> <ele>31.017</ele> <time>2006-05-21T16:56:36Z</time> </trkpt>
49 # <trkpt lat="60.425339" lon="5.299958"> <ele>30.980</ele> <time>2006-05-21T16:56:47Z</time> </trkpt>
50 # <trkpt lat="60.425238" lon="5.299640"> <ele>30.538</ele> <time>2006-05-21T16:56:56Z</time> </trkpt>
51 # <trkpt lat="60.425246" lon="5.299686"> <ele>30.515</ele> <time>2006-05-21T16:57:03Z</time> </trkpt>
52 # <trkpt lat="60.425345" lon="5.299773"> <ele>31.936</ele> <time>2006-05-21T16:59:08Z</time> </trkpt>
53 # <trkpt lat="60.425457" lon="5.299419"> <ele>31.794</ele> <time>2006-05-21T17:00:54Z</time> </trkpt>
58 ok - "../gpst -o gpx pause.gpx" - Read and write name element from/to GPX (stderr) # TODO Fix read/write of GPX name element
59 not ok - "../gpst -o csv multitrack.gpx" - Output csv format from multitrack.gpx # TODO Remove extra \n in the beginning
60 # Failed (TODO) test '"../gpst -o csv multitrack.gpx" - Output csv format from multitrack.gpx'
61 # at ./run-tests.pl line 2256.
63 # 2003-02-11T23:35:39Z -0.1448824 51.4968266
64 # 2003-02-11T23:35:49Z -0.1449938 51.4968227
65 # 2003-02-11T23:36:14Z -0.1453202 51.4969040
67 # 2003-02-11T23:36:16Z -0.1453398 51.4969214
68 # 2003-02-11T23:36:31Z -0.1455514 51.4969816
69 # 2003-02-11T23:36:43Z -0.1457489 51.4970224 1000
70 # 2003-02-11T23:36:50Z -0.1457804 51.4970452
72 # 2003-02-11T23:37:05Z -0.1458608 51.4970680
73 # 2003-02-11T23:37:22Z -0.1460047 51.4971658
74 # 2003-02-11T23:37:36Z -0.1461614 51.4972469
76 # 2003-02-11T23:37:43Z -0.1462394 51.4972731
77 # 2003-02-11T23:38:04Z -0.1463232 51.4973437
78 # 2003-02-11T23:38:28Z -0.1462949 51.4973337
79 # 2003-02-11T23:38:34Z -0.1462825 51.4973218
80 # 2003-02-11T23:38:35Z -0.1462732 51.4973145
82 # expected: '2003-02-11T23:35:39Z -0.1448824 51.4968266
83 # 2003-02-11T23:35:49Z -0.1449938 51.4968227
84 # 2003-02-11T23:36:14Z -0.1453202 51.4969040
86 # 2003-02-11T23:36:16Z -0.1453398 51.4969214
87 # 2003-02-11T23:36:31Z -0.1455514 51.4969816
88 # 2003-02-11T23:36:43Z -0.1457489 51.4970224 1000
89 # 2003-02-11T23:36:50Z -0.1457804 51.4970452
91 # 2003-02-11T23:37:05Z -0.1458608 51.4970680
92 # 2003-02-11T23:37:22Z -0.1460047 51.4971658
93 # 2003-02-11T23:37:36Z -0.1461614 51.4972469
95 # 2003-02-11T23:37:43Z -0.1462394 51.4972731
96 # 2003-02-11T23:38:04Z -0.1463232 51.4973437
97 # 2003-02-11T23:38:28Z -0.1462949 51.4973337
98 # 2003-02-11T23:38:34Z -0.1462825 51.4973218
99 # 2003-02-11T23:38:35Z -0.1462732 51.4973145
101 ok - "../gpst -o csv multitrack.gpx" - Output csv format from multitrack.gpx (stderr) # TODO Remove extra \n in the beginning
102 not ok - "../gpst -o csv pause.gpx" - Output csv format from pause.gpx # TODO Remove extra \n in the beginning
103 # Failed (TODO) test '"../gpst -o csv pause.gpx" - Output csv format from pause.gpx'
104 # at ./run-tests.pl line 2256.
106 # 2006-05-21T16:49:11Z 5.299534 60.425494 25.260
107 # 2006-05-21T16:49:46Z 5.299610 60.425464 24.931
108 # 2006-05-21T16:52:04Z 5.299694 60.425314 27.975
109 # 2006-05-21T16:56:36Z 5.299741 60.425384 31.017
110 # 2006-05-21T16:56:47Z 5.299958 60.425339 30.980
111 # 2006-05-21T16:56:56Z 5.299640 60.425238 30.538
112 # 2006-05-21T16:57:03Z 5.299686 60.425246 30.515
113 # 2006-05-21T16:59:08Z 5.299773 60.425345 31.936
114 # 2006-05-21T17:00:54Z 5.299419 60.425457 31.794
116 # expected: '2006-05-21T16:49:11Z 5.299534 60.425494 25.260
117 # 2006-05-21T16:49:46Z 5.299610 60.425464 24.931
118 # 2006-05-21T16:52:04Z 5.299694 60.425314 27.975
119 # 2006-05-21T16:56:36Z 5.299741 60.425384 31.017
120 # 2006-05-21T16:56:47Z 5.299958 60.425339 30.980
121 # 2006-05-21T16:56:56Z 5.299640 60.425238 30.538
122 # 2006-05-21T16:57:03Z 5.299686 60.425246 30.515
123 # 2006-05-21T16:59:08Z 5.299773 60.425345 31.936
124 # 2006-05-21T17:00:54Z 5.299419 60.425457 31.794
126 ok - "../gpst -o csv pause.gpx" - Output csv format from pause.gpx (stderr) # TODO Remove extra \n in the beginning
127 not ok - "../gpst -e -o csv pause.gpx" - csv format with epoch seconds from gpx # TODO Remove extra \n in the beginning
128 # Failed (TODO) test '"../gpst -e -o csv pause.gpx" - csv format with epoch seconds from gpx'
129 # at ./run-tests.pl line 2256.
131 # 1148230151 5.299534 60.425494 25.260
132 # 1148230186 5.299610 60.425464 24.931
133 # 1148230324 5.299694 60.425314 27.975
134 # 1148230596 5.299741 60.425384 31.017
135 # 1148230607 5.299958 60.425339 30.980
136 # 1148230616 5.299640 60.425238 30.538
137 # 1148230623 5.299686 60.425246 30.515
138 # 1148230748 5.299773 60.425345 31.936
139 # 1148230854 5.299419 60.425457 31.794
141 # expected: '1148230151 5.299534 60.425494 25.260
142 # 1148230186 5.299610 60.425464 24.931
143 # 1148230324 5.299694 60.425314 27.975
144 # 1148230596 5.299741 60.425384 31.017
145 # 1148230607 5.299958 60.425339 30.980
146 # 1148230616 5.299640 60.425238 30.538
147 # 1148230623 5.299686 60.425246 30.515
148 # 1148230748 5.299773 60.425345 31.936
149 # 1148230854 5.299419 60.425457 31.794
151 ok - "../gpst -e -o csv pause.gpx" - csv format with epoch seconds from gpx (stderr) # TODO Remove extra \n in the beginning
152 not ok - "../gpst -o gpx multitrack-pause.gpsml" - Should be equal to multitrack-pause.gpx # TODO Tweak output
153 # Failed (TODO) test '"../gpst -o gpx multitrack-pause.gpsml" - Should be equal to multitrack-pause.gpx'
154 # at ./run-tests.pl line 2256.
155 # got: '<?xml version="1.0" encoding="UTF-8" standalone="no"?>
158 # creator="gpst - http://svn.sunbase.org/repos/utils/trunk/src/gpstools/"
159 # xmlns="http://www.topografix.com/GPX/1/1"
160 # xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
161 # xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd"
165 # <trkpt lat="1.11" lon="1.12"> <time>2006-01-01T00:00:00Z</time> </trkpt>
166 # <trkpt lat="1.21" lon="1.22"> <time>2006-01-01T00:00:01Z</time> </trkpt>
167 # <trkpt lat="1.31" lon="1.32"> <time>2006-01-01T00:00:02Z</time> </trkpt>
170 # <trkpt lat="2.11" lon="2.12"> <time>2006-01-02T00:00:00Z</time> </trkpt>
171 # <trkpt lat="2.21" lon="2.22"> <time>2006-01-02T00:00:04Z</time> </trkpt>
172 # <trkpt lat="2.31" lon="2.32"> <time>2006-01-02T00:00:16Z</time> </trkpt>
173 # <trkpt lat="2.41" lon="2.42"> <time>2006-01-02T01:00:16Z</time> </trkpt>
174 # <trkpt lat="2.451" lon="2.452"> <time>2006-01-02T01:00:17Z</time> </trkpt>
179 # <trkpt lat="3.11" lon="3.12"> <time>2006-01-03T02:00:20Z</time> </trkpt>
180 # <trkpt lat="3.21" lon="3.22"> <time>2006-01-03T02:00:21Z</time> </trkpt>
181 # <trkpt lat="3.31" lon="3.32"> <time>2006-01-03T02:00:22Z</time> </trkpt>
182 # <trkpt lat="3.41" lon="3.42"> <time>2006-01-03T02:00:23Z</time> </trkpt>
185 # <trkpt lat="3.51" lon="3.52"> <time>2006-01-03T02:00:24Z</time> </trkpt>
186 # <trkpt lat="3.61" lon="3.62"> <time>2006-01-03T02:00:25Z</time> </trkpt>
187 # <trkpt lat="3.71" lon="3.72"> <time>2006-01-03T02:00:26Z</time> </trkpt>
188 # <trkpt lat="3.81" lon="3.82"> <time>2006-01-03T02:00:27Z</time> </trkpt>
193 # expected: '<?xml version="1.0" encoding="UTF-8" standalone="no"?>
196 # creator="gpst - http://svn.sunbase.org/repos/utils/trunk/src/gpstools/"
197 # xmlns="http://www.topografix.com/GPX/1/1"
198 # xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
199 # xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd"
202 # <name>track1</name>
204 # <trkpt lat="1.11" lon="1.12"> <time>2006-01-01T00:00:00Z</time> </trkpt>
205 # <trkpt lat="1.21" lon="1.22"> <time>2006-01-01T00:00:01Z</time> </trkpt>
206 # <trkpt lat="1.31" lon="1.32"> <time>2006-01-01T00:00:02Z</time> </trkpt>
210 # <name>track2</name>
212 # <trkpt lat="2.11" lon="2.12"> <time>2006-01-02T00:00:00Z</time> </trkpt>
213 # <trkpt lat="2.21" lon="2.22"> <time>2006-01-02T00:00:04Z</time> </trkpt>
214 # <trkpt lat="2.31" lon="2.32"> <time>2006-01-02T00:00:16Z</time> </trkpt>
215 # <trkpt lat="2.41" lon="2.42"> <time>2006-01-02T01:00:16Z</time> </trkpt>
218 # <trkpt lat="2.451" lon="2.452"> <time>2006-01-02T01:00:17Z</time> </trkpt>
222 # <name>track3</name>
224 # <trkpt lat="3.11" lon="3.12"> <time>2006-01-03T02:00:20Z</time> </trkpt>
225 # <trkpt lat="3.21" lon="3.22"> <time>2006-01-03T02:00:21Z</time> </trkpt>
226 # <trkpt lat="3.31" lon="3.32"> <time>2006-01-03T02:00:22Z</time> </trkpt>
229 # <trkpt lat="3.41" lon="3.42"> <time>2006-01-03T02:00:23Z</time> </trkpt>
230 # <trkpt lat="3.51" lon="3.52"> <time>2006-01-03T02:00:24Z</time> </trkpt>
231 # <trkpt lat="3.61" lon="3.62"> <time>2006-01-03T02:00:25Z</time> </trkpt>
232 # <trkpt lat="3.71" lon="3.72"> <time>2006-01-03T02:00:26Z</time> </trkpt>
233 # <trkpt lat="3.81" lon="3.82"> <time>2006-01-03T02:00:27Z</time> </trkpt>
238 ok - "../gpst -o gpx multitrack-pause.gpsml" - Should be equal to multitrack-pause.gpx (stderr) # TODO Tweak output
239 GPX: Cannot open file '/home/sunny/gps/waypoints.gpx'!
240 not ok - list_nearest_waypoints() # TODO Fix it.
241 # Failed (TODO) test 'list_nearest_waypoints()'
242 # at ./run-tests.pl line 2228.
244 # doesn't match '(?-xism:^\(.*,.*,.*\)$)'