From b6a34f10ca3c1bb3f871171b44be8c56332dc0bc Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=98yvind=20A=2E=20Holm?= Date: Sun, 9 May 2010 00:51:19 +0200 Subject: [PATCH] Removing all log/ directories under tests/ Too much trouble with those things. eb430fb4-5af4-11df-adc3-73bf00a41a45 --- tests/addpoints/log/tests.log | 12 -- tests/addpoints/log/todo-tests.log | 4 - tests/gpst-file/log/tests.log | 56 -------- tests/gpst-file/log/todo-tests.log | 4 - tests/gpst-pic/log/tests.log | 59 -------- tests/gpst-pic/log/todo-tests.log | 40 ------ tests/log/csv2gpx.log | 14 -- tests/log/tests.log | 276 ------------------------------------- tests/log/todo-tests.log | 248 --------------------------------- 9 files changed, 713 deletions(-) delete mode 100644 tests/addpoints/log/tests.log delete mode 100644 tests/addpoints/log/todo-tests.log delete mode 100644 tests/gpst-file/log/tests.log delete mode 100644 tests/gpst-file/log/todo-tests.log delete mode 100644 tests/gpst-pic/log/tests.log delete mode 100644 tests/gpst-pic/log/todo-tests.log delete mode 100644 tests/log/csv2gpx.log delete mode 100644 tests/log/tests.log delete mode 100644 tests/log/todo-tests.log diff --git a/tests/addpoints/log/tests.log b/tests/addpoints/log/tests.log deleted file mode 100644 index c8cc2d8..0000000 --- a/tests/addpoints/log/tests.log +++ /dev/null @@ -1,12 +0,0 @@ -# ========== Executing addpoints.t v0.00 ========== -# Testing -h (--help) option... -ok - "../../addpoints -h" - Option -h prints help screen -ok - "../../addpoints -h" - Option -h prints help screen (stderr) -# Testing -v (--verbose) option... -ok - "../../addpoints -hv" - Option --version with -h returns version number and help screen -ok - "../../addpoints -hv" - Option --version with -h returns version number and help screen (stderr) -# Testing --version option... -ok - "../../addpoints --version" - Option --version returns version number -ok - "../../addpoints --version" - Option --version returns version number (stderr) -# Testing finished. -1..6 diff --git a/tests/addpoints/log/todo-tests.log b/tests/addpoints/log/todo-tests.log deleted file mode 100644 index b36ed93..0000000 --- a/tests/addpoints/log/todo-tests.log +++ /dev/null @@ -1,4 +0,0 @@ -# ========== Executing addpoints.t v0.00 ========== -# Running TODO tests... -# Testing finished. -# No tests run! diff --git a/tests/gpst-file/log/tests.log b/tests/gpst-file/log/tests.log deleted file mode 100644 index 27f396c..0000000 --- a/tests/gpst-file/log/tests.log +++ /dev/null @@ -1,56 +0,0 @@ -# ========== Executing gpst-file.t v0.00 ========== -# Testing --author option... -ok - "../../gpst-file -a sunny files/testfile/file.txt" - --author option works -ok - "../../gpst-file -a sunny files/testfile/file.txt" - --author option works (stderr) -ok - "../../gpst-file -a sunny -o xml files/testfile/file.txt" - Author info is included with -o xml -ok - "../../gpst-file -a sunny -o xml files/testfile/file.txt" - Author info is included with -o xml (stderr) -# Testing --description option... -ok - "../../gpst-file -d 'Description stuff \&<>' files/testfile/file.txt" - --description with backslash and stuff -ok - "../../gpst-file -d 'Description stuff \&<>' files/testfile/file.txt" - --description with backslash and stuff (stderr) -ok - "../../gpst-file -o xml -d 'Description stuff \&<>' files/testfile/file.txt" - --description with backslash and stuff -ok - "../../gpst-file -o xml -d 'Description stuff \&<>' files/testfile/file.txt" - --description with backslash and stuff (stderr) -# Testing -h (--help) option... -ok - "../../gpst-file -h" - Option -h prints help screen -ok - "../../gpst-file -h" - Option -h prints help screen (stderr) -# Testing --output-format option... -ok - "../../gpst-file -o pgtab files/testfile/file.txt" - Output pgtab format from DSC_4426.JPG -ok - "../../gpst-file -o pgtab files/testfile/file.txt" - Output pgtab format from DSC_4426.JPG (stderr) -ok - "../../gpst-file -o xml files/testfile/file.txt" - Output XML information for DSC_4426.JPG -ok - "../../gpst-file -o xml files/testfile/file.txt" - Output XML information for DSC_4426.JPG (stderr) -ok - "../../gpst-file -o blurfl files/testfile/file.txt" - Unknown output format specified -ok - "../../gpst-file -o blurfl files/testfile/file.txt" - Unknown output format specified (stderr) -# Testing -w (--strip-whitespace) option... -ok - "../../gpst-file -w -o xml files/testfile/file.txt" - Strip whitespace from XML -ok - "../../gpst-file -w -o xml files/testfile/file.txt" - Strip whitespace from XML (stderr) -# Testing -T (--timezone) option... -ok - "../../gpst-file --timezone +1234 files/testfile/file.txt" - --timezone works -ok - "../../gpst-file --timezone +1234 files/testfile/file.txt" - --timezone works (stderr) -ok - "../../gpst-file -T +0200 files/testfile/file.txt" - Positive time zone -ok - "../../gpst-file -T +0200 files/testfile/file.txt" - Positive time zone (stderr) -ok - "../../gpst-file -T-0600 files/testfile/file.txt" - Negative time zone -ok - "../../gpst-file -T-0600 files/testfile/file.txt" - Negative time zone (stderr) -ok - "../../gpst-file -T CET files/testfile/file.txt" - Time zone abbreviation -ok - "../../gpst-file -T CET files/testfile/file.txt" - Time zone abbreviation (stderr) -ok - "../../gpst-file -T cet files/testfile/file.txt" - Time zone is converted to upper case -ok - "../../gpst-file -T cet files/testfile/file.txt" - Time zone is converted to upper case (stderr) -ok - "../../gpst-file -T Z files/testfile/file.txt" - Zulu abbreviation -ok - "../../gpst-file -T Z files/testfile/file.txt" - Zulu abbreviation (stderr) -ok - "../../gpst-file -T erf324 files/testfile/file.txt" - Invalid time zone abbr, contains digits -ok - "../../gpst-file -T erf324 files/testfile/file.txt" - Invalid time zone abbr, contains digits (stderr) -ok - "../../gpst-file -T CET -o xml files/testfile/file.txt" - Time zone abbr. works with -o xml -ok - "../../gpst-file -T CET -o xml files/testfile/file.txt" - Time zone abbr. works with -o xml (stderr) -ok - "../../gpst-file -T Z -o xml files/testfile/file.txt" - Zulu time zone works with -o xml -ok - "../../gpst-file -T Z -o xml files/testfile/file.txt" - Zulu time zone works with -o xml (stderr) -# Testing -v (--verbose) option... -ok - "../../gpst-file -hv" - Option --version with -h returns version number and help screen -ok - "../../gpst-file -hv" - Option --version with -h returns version number and help screen (stderr) -# Testing --version option... -ok - "../../gpst-file --version" - Option --version returns version number -ok - "../../gpst-file --version" - Option --version returns version number (stderr) -# Various... -ok - "../../gpst-file files/testfile/file.txt" - No options -ok - "../../gpst-file files/testfile/file.txt" - No options (stderr) -ok - "echo files/testfile/file.txt | ../../gpst-file" - Read filename from stdin -ok - "echo files/testfile/file.txt | ../../gpst-file" - Read filename from stdin (stderr) -# Testing finished. -1..44 diff --git a/tests/gpst-file/log/todo-tests.log b/tests/gpst-file/log/todo-tests.log deleted file mode 100644 index 55a5f8f..0000000 --- a/tests/gpst-file/log/todo-tests.log +++ /dev/null @@ -1,4 +0,0 @@ -# ========== Executing gpst-file.t v0.00 ========== -# Running TODO tests... -# Testing finished. -# No tests run! diff --git a/tests/gpst-pic/log/tests.log b/tests/gpst-pic/log/tests.log deleted file mode 100644 index adf0881..0000000 --- a/tests/gpst-pic/log/tests.log +++ /dev/null @@ -1,59 +0,0 @@ -ok - use GPST; -ok - use GPSTxml; -# ========== Executing gpst-pic.t v0.00 ========== -# Checking dependencies... -ok - "exifprobe -V" - Check that exifprobe(1) is installed -ok - "exifprobe -V" - Check that exifprobe(1) is installed (stderr) -# Testing --author option... -ok - "../../gpst-pic -a sunny files/DSC_4426.JPG" - Read date from DSC_4426.JPG and set --author -ok - "../../gpst-pic -a sunny files/DSC_4426.JPG" - Read date from DSC_4426.JPG and set --author (stderr) -ok - "../../gpst-pic -a sunny -o xml files/DSC_4426.JPG" - Author info is included with -o xml -ok - "../../gpst-pic -a sunny -o xml files/DSC_4426.JPG" - Author info is included with -o xml (stderr) -# Testing --description option... -ok - "../../gpst-pic -d 'Skumle til\stander i Bergen.' files/DSC_4426.JPG" - Read date from DSC_4426.JPG and set --description with backslash -ok - "../../gpst-pic -d 'Skumle til\stander i Bergen.' files/DSC_4426.JPG" - Read date from DSC_4426.JPG and set --description with backslash (stderr) -ok - "../../gpst-pic -d 'Skumle til\stander &<> i Bergen.' -o xml files/DSC_4426.JPG" - --description works witk XML output -ok - "../../gpst-pic -d 'Skumle til\stander &<> i Bergen.' -o xml files/DSC_4426.JPG" - --description works witk XML output (stderr) -# Testing -h (--help) option... -ok - "../../gpst-pic -h" - Option -h prints help screen -ok - "../../gpst-pic -h" - Option -h prints help screen (stderr) -# Testing --output-format option... -ok - "../../gpst-pic -o pgtab files/DSC_4426.JPG" - Output pgtab format from DSC_4426.JPG -ok - "../../gpst-pic -o pgtab files/DSC_4426.JPG" - Output pgtab format from DSC_4426.JPG (stderr) -ok - "../../gpst-pic -o xml files/DSC_4426.JPG" - Output XML information for DSC_4426.JPG -ok - "../../gpst-pic -o xml files/DSC_4426.JPG" - Output XML information for DSC_4426.JPG (stderr) -ok - "../../gpst-pic -o blurfl files/DSC_4426.JPG" - Unknown output format specified -ok - "../../gpst-pic -o blurfl files/DSC_4426.JPG" - Unknown output format specified (stderr) -# Testing -w (--strip-whitespace) option... -ok - "../../gpst-pic -w -o xml files/DSC_4426.JPG" - Strip whitespace from XML -ok - "../../gpst-pic -w -o xml files/DSC_4426.JPG" - Strip whitespace from XML (stderr) -# Testing -T (--timezone) option... -ok - "../../gpst-pic --timezone +1234 files/DSC_4426.JPG" - --timezone works -ok - "../../gpst-pic --timezone +1234 files/DSC_4426.JPG" - --timezone works (stderr) -ok - "../../gpst-pic -T +0200 files/DSC_4426.JPG" - Positive time zone -ok - "../../gpst-pic -T +0200 files/DSC_4426.JPG" - Positive time zone (stderr) -ok - "../../gpst-pic -T-0600 files/DSC_4426.JPG" - Negative time zone -ok - "../../gpst-pic -T-0600 files/DSC_4426.JPG" - Negative time zone (stderr) -ok - "../../gpst-pic -T CET files/DSC_4426.JPG" - Time zone abbreviation -ok - "../../gpst-pic -T CET files/DSC_4426.JPG" - Time zone abbreviation (stderr) -ok - "../../gpst-pic -T cet files/DSC_4426.JPG" - Time zone is converted to upper case -ok - "../../gpst-pic -T cet files/DSC_4426.JPG" - Time zone is converted to upper case (stderr) -ok - "../../gpst-pic -T Z files/DSC_4426.JPG" - Zulu abbreviation -ok - "../../gpst-pic -T Z files/DSC_4426.JPG" - Zulu abbreviation (stderr) -ok - "../../gpst-pic -T erf324 files/DSC_4426.JPG" - Invalid time zone abbr, contains digits -ok - "../../gpst-pic -T erf324 files/DSC_4426.JPG" - Invalid time zone abbr, contains digits (stderr) -ok - "../../gpst-pic -T CET -o xml files/DSC_4426.JPG" - Time zone abbr. works with -o xml -ok - "../../gpst-pic -T CET -o xml files/DSC_4426.JPG" - Time zone abbr. works with -o xml (stderr) -ok - "../../gpst-pic -T Z -o xml files/DSC_4426.JPG" - Zulu time zone works with -o xml -ok - "../../gpst-pic -T Z -o xml files/DSC_4426.JPG" - Zulu time zone works with -o xml (stderr) -# Testing -v (--verbose) option... -ok - "../../gpst-pic -hv" - Option --version with -h returns version number and help screen -ok - "../../gpst-pic -hv" - Option --version with -h returns version number and help screen (stderr) -# Testing --version option... -ok - "../../gpst-pic --version" - Option --version returns version number -ok - "../../gpst-pic --version" - Option --version returns version number (stderr) -# Various... -ok - "../../gpst-pic files/DSC_4426.JPG" - Read date from DSC_4426.JPG, no options -ok - "../../gpst-pic files/DSC_4426.JPG" - Read date from DSC_4426.JPG, no options (stderr) -# Testing finished. -1..46 diff --git a/tests/gpst-pic/log/todo-tests.log b/tests/gpst-pic/log/todo-tests.log deleted file mode 100644 index ff89274..0000000 --- a/tests/gpst-pic/log/todo-tests.log +++ /dev/null @@ -1,40 +0,0 @@ -ok - use GPST; -ok - use GPSTxml; -# ========== Executing gpst-pic.t v0.00 ========== -# Running TODO tests... -not ok - "../../gpst-pic -o extxml files/DSC_4426.JPG" - Show extended XML information for DSC_4426.JPG -# Failed test '"../../gpst-pic -o extxml files/DSC_4426.JPG" - Show extended XML information for DSC_4426.JPG' -# at ./gpst-pic.t line 387. -# got: '' -# expected: ' -# -# -# DSC_4426.JPG -# 267e841cb6788c795541e36aea70e2a55d8ec3bb -# 19eb5c86f6b3662b57bc94c3ea428372 -# 2008-03-02T17:51:39Z -# 2008-03-02T17:51:39Z -# 2008-09-18T15:02:27Z -# -# 200 -# 0.333333 -# 3.5 APEX -# 0 -# -# -# NIKON CORPRORATION -# NIKON D300 -# 4610 -# -# -# -# ' -not ok - "../../gpst-pic -o extxml files/DSC_4426.JPG" - Show extended XML information for DSC_4426.JPG (stderr) -# Failed test '"../../gpst-pic -o extxml files/DSC_4426.JPG" - Show extended XML information for DSC_4426.JPG (stderr)' -# at ./gpst-pic.t line 390. -# got: 'gpst-pic: extxml: Unknown output format -# ' -# expected: '' -# Testing finished. -1..4 -# Looks like you failed 2 tests of 4. diff --git a/tests/log/csv2gpx.log b/tests/log/csv2gpx.log deleted file mode 100644 index acfa664..0000000 --- a/tests/log/csv2gpx.log +++ /dev/null @@ -1,14 +0,0 @@ -# ========== Executing csv2gpx.t v0.00 ========== -# Testing -h (--help) option... -ok - "../csv2gpx -h" - Option -h prints help screen -ok - "../csv2gpx -h" - Option -h prints help screen (stderr) -ok - "../csv2gpx -h" - No Id with only -h -# Testing -v (--verbose) option... -ok - "../csv2gpx -hv" - Option --version with -h returns version number and help screen -ok - "../csv2gpx -hv" - Option --version with -h returns version number and help screen (stderr) -# Testing --version option... -ok - "../csv2gpx --version" - Option --version returns version number -ok - "../csv2gpx --version" - Option --version returns version number (stderr) -# Running TODO tests... -# Testing finished. -1..7 diff --git a/tests/log/tests.log b/tests/log/tests.log deleted file mode 100644 index 59ce210..0000000 --- a/tests/log/tests.log +++ /dev/null @@ -1,276 +0,0 @@ -ok - use GPST; -ok - use GPSTdate; -ok - use GPSTdebug; -ok - use GPSTgeo; -ok - use GPSTxml; -# ========== Executing run-tests.pl v0.00 ========== -# Testing conversion routines... -ok - txt_to_xml("abc") -ok - txt_to_xml("<&>") -ok - txt_to_xml() with multiline string -ok - xml_to_txt("abc") -ok - xml_to_txt("<&>") -ok - xml_to_txt() with multiline string -ok - postgresql_copy_safe() with empty string -ok - postgresql_copy_safe("abcæøåÆØÅ") -ok - postgresql_copy_safe("abc\t'\r\n") -ok - postgresql_copy_safe() with multiline, nulls and stuff -# Testing date routines... -ok - sec_to_string() without separator -ok - sec_to_string() with separator -ok - sec_to_string(-5000) — negative numbers unsupported atm -ok - sec_to_string("") -ok - sec_to_string() with invalid string -ok - sec_to_string() with a bunch of leading zeros -ok - sec_to_string() with decimals -ok - sec_to_string() with decimals and prefixing zeros -ok - sec_to_string() with decimals and extra trailing zeros -ok - sec_to_string() with missing zero before decimal point -ok - sec_to_readable(0) -ok - sec_to_readable() with invalid string -ok - sec_to_readable(86400) -ok - sec_to_readable(86400*1000) -ok - sec_to_readable(86400+7200+180+4) -ok - sec_to_readable("3.14") -ok - sec_to_readable() rejects negative numbers -ok - sec_to_readable() rejects negative decimal -ok - sec_to_readable(), missing zero before decimal point -ok - sec_to_readable() with empty string -# Testing geo routines... -ok - ddd_to_dms("12.34567") -ok - ddd_to_dms("0") -ok - ddd_to_dms("") -ok - ddd_to_dms("pH()rtY tW0") -ok - ddd_to_dms("-12.34567") -ok - ddd_to_dms("0.34567") -ok - ddd_to_dms(".34567") -ok - ddd_to_dms("-.34567") -ok - ddd_to_dms("-0.34567") -ok - ddd_to_dms("180") -ok - ddd_to_dms("-180") -ok - ddd_to_dms("-1") -ok - ddd_to_dms("2-3") -# Testing trackpoint()... -ok - trackpoint() receives empty hash -ok - trackpoint() (gpsml) -ok - trackpoint() (gpx) -ok - trackpoint(): {'format'} with invalid value ("2d") returns undef -ok - trackpoint(): {'lat'} with invalid value ("2d") returns undef -ok - trackpoint(): {'lon'} with invalid value ("2d") returns undef -ok - trackpoint(): {'what'} with invalid value ("2d") returns undef -ok - trackpoint(): {'year'} with empty value skips time -ok - trackpoint(): {'year'} with invalid value ("2d") skips time -ok - trackpoint(): Strip prefixing zeros from {'year'} -ok - trackpoint(): {'year'} is negative, skip time -ok - trackpoint(): Decimals in {'year'}, skip time -ok - trackpoint(): {'month'} with empty value skips time -ok - trackpoint(): {'month'} with invalid value ("2d") skips time -ok - trackpoint(): Strip prefixing zeros from {'month'} -ok - trackpoint(): {'month'} is negative, skip time -ok - trackpoint(): Decimals in {'month'}, skip time -ok - trackpoint(): {'day'} with empty value skips time -ok - trackpoint(): {'day'} with invalid value ("2d") skips time -ok - trackpoint(): Strip prefixing zeros from {'day'} -ok - trackpoint(): {'day'} is negative, skip time -ok - trackpoint(): Decimals in {'day'}, skip time -ok - trackpoint(): {'hour'} with empty value skips time -ok - trackpoint(): {'hour'} with invalid value ("2d") skips time -ok - trackpoint(): Strip prefixing zeros from {'hour'} -ok - trackpoint(): {'hour'} is negative, skip time -ok - trackpoint(): Decimals in {'hour'}, skip time -ok - trackpoint(): {'min'} with empty value skips time -ok - trackpoint(): {'min'} with invalid value ("2d") skips time -ok - trackpoint(): Strip prefixing zeros from {'min'} -ok - trackpoint(): {'min'} is negative, skip time -ok - trackpoint(): Decimals in {'min'}, skip time -ok - trackpoint(): {'sec'} with empty value skips time -ok - trackpoint(): {'sec'} with invalid value ("2d") skips time -ok - trackpoint(): Strip prefixing zeros from {'sec'} -ok - trackpoint(): {'sec'} is negative, skip time -ok - trackpoint(): Remove trailing zeros in {'sec'} decimals -ok - trackpoint(): Missing {'format'}, return undef -ok - trackpoint(): Missing {'what'}, return undef -ok - trackpoint(): Missing {'error'}, return undef -# Testing output from ../gpst -# Read empty input (/dev/null)... -ok - "../gpst ' | ../gpst" - Don’t print empty trackpoints -ok - "echo ' ' | ../gpst" - Don’t print empty trackpoints (stderr) -# Testing --chronology option... -ok - "../gpst --chronology chronology-error.gpsml" - Check for chronology errors and duplicated times -ok - "../gpst --chronology chronology-error.gpsml" - Check for chronology errors and duplicated times (stderr) -# Testing --skip-dups option... -ok - "../gpst -d no_signal.mayko" - Remove duplicated positions from gpsml -ok - "../gpst -d no_signal.mayko" - Remove duplicated positions from gpsml (stderr) -ok - "../gpst -d -o csv no_signal.mayko" - Remove duplicated positions from csv output format -ok - "../gpst -d -o csv no_signal.mayko" - Remove duplicated positions from csv output format (stderr) -ok - "../gpst -d -o clean no_signal.mayko" - Remove duplicated positions from clean output format -ok - "../gpst -d -o clean no_signal.mayko" - Remove duplicated positions from clean output format (stderr) -ok - "../gpst -d -o pgtab no_signal.mayko" - Remove duplicated positions from pgtab output format -ok - "../gpst -d -o pgtab no_signal.mayko" - Remove duplicated positions from pgtab output format (stderr) -# Testing --epoch option... -ok - "../gpst -e pause.gpx" - --epoch is ignored in gpsml output -ok - "../gpst -e pause.gpx" - --epoch is ignored in gpsml output (stderr) -ok - "../gpst -e -o gpx pause-noname.gpx" - --epoch is ignored in gpx output -ok - GPX for "--epoch is ignored in gpx output" validates -ok - "../gpst -e -o gpx pause-noname.gpx" - --epoch is ignored in gpx output (stderr) -# Testing --fix option... -ok - "../gpst --fix --chronology chronology-error.gpsml" - Remove bad timestamps -ok - "../gpst --fix --chronology chronology-error.gpsml" - Remove bad timestamps (stderr) -# Testing --from-date option... -# Testing -h (--help) option... -ok - "../gpst -h" - Option -h prints help screen -ok - "../gpst -h" - Option -h prints help screen (stderr) -# Testing --inside option... -ok - "../gpst --pos1 2.11,2.12 --pos2 3.31,3.32 --inside multitrack-pause.gpx" - Check --inside option (gpx to gpst) -ok - "../gpst --pos1 2.11,2.12 --pos2 3.31,3.32 --inside multitrack-pause.gpx" - Check --inside option (gpx to gpst) (stderr) -# Testing --undefined option... -# Testing --near option... -# Testing --output option... -ok - "../gpst log.mcsv" - Read Mapsource TAB-separated format -ok - "../gpst log.mcsv" - Read Mapsource TAB-separated format (stderr) -ok - "../gpst two-digit_year.mcsv" - Read Mapsource TAB-separated format with two-digit year -ok - "../gpst two-digit_year.mcsv" - Read Mapsource TAB-separated format with two-digit year (stderr) -ok - "../gpst log.gpstxt" - Read Garmin serial text format -ok - "../gpst log.gpstxt" - Read Garmin serial text format (stderr) -ok - "../gpst log.dos.mayko" - Read DOS-formatted Mayko format -ok - "../gpst log.dos.mayko" - Read DOS-formatted Mayko format (stderr) -ok - "../gpst log.dos.gpstxt" - Read DOS-formatted Garmin serial text format -ok - "../gpst log.dos.gpstxt" - Read DOS-formatted Garmin serial text format (stderr) -ok - "../gpst log.unix.mcsv" - Read UNIX-formatted Garmin Mapsource TAB-separated format -ok - "../gpst log.unix.mcsv" - Read UNIX-formatted Garmin Mapsource TAB-separated format (stderr) -ok - "../gpst multitrack.gpx" - Read GPX file with multiple tracks -ok - "../gpst multitrack.gpx" - Read GPX file with multiple tracks (stderr) -ok - "../gpst compact.gpx" - Read GPX one-liner -ok - "../gpst compact.gpx" - Read GPX one-liner (stderr) -ok - "../gpst missing.gpsml" - Read gpsml with various data missing -ok - "../gpst missing.gpsml" - Read gpsml with various data missing (stderr) -ok - "../gpst different_dateformats.gpsml" - Read different date formats from gpsml file -ok - "../gpst different_dateformats.gpsml" - Read different date formats from gpsml file (stderr) -ok - "../gpst multitrack-pause.gpx" - Should be equal to multitrack-pause.gpsml -ok - "../gpst multitrack-pause.gpx" - Should be equal to multitrack-pause.gpsml (stderr) -ok - "../gpst -o gpx no_signal.mayko" - Output GPX from Mayko file with duplicates -ok - GPX for "Output GPX from Mayko file with duplicates" validates -ok - "../gpst -o gpx no_signal.mayko" - Output GPX from Mayko file with duplicates (stderr) -ok - "../gpst -o gpx comments.mayko" - Output GPX from Mayko file with commented-out lines -ok - GPX for "Output GPX from Mayko file with commented-out lines" validates -ok - "../gpst -o gpx comments.mayko" - Output GPX from Mayko file with commented-out lines (stderr) -ok - "../gpst -o gpx missing-noname.gpsml" - Output GPX from gpsml with missing data -ok - GPX for "Output GPX from gpsml with missing data" validates -ok - "../gpst -o gpx missing-noname.gpsml" - Output GPX from gpsml with missing data (stderr) -ok - "../gpst -o xgraph multitrack.gpx" - Output xgraph format from GPX -ok - "../gpst -o xgraph multitrack.gpx" - Output xgraph format from GPX (stderr) -ok - "../gpst -o pgtab compact.gpx" - Output pgtab from gpx format -ok - "../gpst -o pgtab compact.gpx" - Output pgtab from gpx format (stderr) -ok - "../gpst -o pgtab no_signal.mayko" - Output pgtab from mayko format -ok - "../gpst -o pgtab no_signal.mayko" - Output pgtab from mayko format (stderr) -ok - "../gpst -o pgtab missing.gpsml" - Output pgtab from missing.gpsml -ok - "../gpst -o pgtab missing.gpsml" - Output pgtab from missing.gpsml (stderr) -ok - "../gpst -o csv log.dos.mayko" - Output csv from DOS-formatted Mayko format -ok - "../gpst -o csv log.dos.mayko" - Output csv from DOS-formatted Mayko format (stderr) -ok - "../gpst -o pgwtab multitrack.gpx" - Test pgwtab format -ok - "../gpst -o pgwtab multitrack.gpx" - Test pgwtab format (stderr) -ok - "../gpst -o pgwupd multitrack.gpx" - Test pgwupd format -ok - "../gpst -o pgwupd multitrack.gpx" - Test pgwupd format (stderr) -ok - "../gpst -t -o clean pause.gpx" - Output clean format with time breaks -ok - "../gpst -t -o clean pause.gpx" - Output clean format with time breaks (stderr) -# Testing --outside option... -ok - "../gpst --pos1 2.11,2.12 --pos2 3.31,3.32 --outside multitrack-pause.gpx" - Check --outside option (gpx to gpst) -ok - "../gpst --pos1 2.11,2.12 --pos2 3.31,3.32 --outside multitrack-pause.gpx" - Check --outside option (gpx to gpst) (stderr) -# Testing --pos1 and --pos2 options... -# Testing --require option... -ok - "../gpst -re multitrack.gpx" - Require elevation from GPX data -ok - "../gpst -re multitrack.gpx" - Require elevation from GPX data (stderr) -ok - "../gpst -re one_ele.dos.gpsml" - Require elevation from gpsml -ok - "../gpst -re one_ele.dos.gpsml" - Require elevation from gpsml (stderr) -ok - "../gpst -re missing.gpsml" - Require elevation -ok - "../gpst -re missing.gpsml" - Require elevation (stderr) -ok - "../gpst -rt missing.gpsml" - Require time -ok - "../gpst -rt missing.gpsml" - Require time (stderr) -ok - "../gpst -rp missing.gpsml" - Require position -ok - "../gpst -rp missing.gpsml" - Require position (stderr) -ok - "../gpst -ret missing.gpsml" - Require elevation and time -ok - "../gpst -ret missing.gpsml" - Require elevation and time (stderr) -ok - "../gpst -retp missing.gpsml" - Require elevation, time and position -ok - "../gpst -retp missing.gpsml" - Require elevation, time and position (stderr) -ok - "../gpst -rep missing.gpsml" - Require elevation and position -ok - "../gpst -rep missing.gpsml" - Require elevation and position (stderr) -# Testing --round option... -ok - "../gpst -R lat=4,lon=5,ele=1 pause.gpx" - --round works with lat, lon, ele from gpx -ok - "../gpst -R lat=4,lon=5,ele=1 pause.gpx" - --round works with lat, lon, ele from gpx (stderr) -ok - "../gpst -R lat=3,lon=3,ele=1 -o pgtab pause.gpx" - pgtab output from gpx works with --round lat, lon, ele -ok - "../gpst -R lat=3,lon=3,ele=1 -o pgtab pause.gpx" - pgtab output from gpx works with --round lat, lon, ele (stderr) -ok - "../gpst -R lat=3,lon=3,ele=1 -o pgwtab multitrack.gpx" - --round works with lat, lon, ele from gpx, pgwtab output -ok - "../gpst -R lat=3,lon=3,ele=1 -o pgwtab multitrack.gpx" - --round works with lat, lon, ele from gpx, pgwtab output (stderr) -ok - "../gpst -R lat=3,lon=3,ele=1 -o pgwupd multitrack.gpx" - pgwupd output and --round works with lat, lon, ele from gpx -ok - "../gpst -R lat=3,lon=3,ele=1 -o pgwupd multitrack.gpx" - pgwupd output and --round works with lat, lon, ele from gpx (stderr) -# Testing --short-date option... -# Testing --save-to-file option... -# Testing --create-breaks option... -ok - "../gpst -t pause.gpx" - Output gpsml with elements from GPX files -ok - "../gpst -t pause.gpx" - Output gpsml with elements from GPX files (stderr) -ok - "../gpst -t multitrack-pause.gpx" - Insert between gpx tracks -ok - "../gpst -t multitrack-pause.gpx" - Insert between gpx tracks (stderr) -ok - "../gpst -t multitrack-pause.gpsml" - Insert between gpsml titles -ok - "../gpst -t multitrack-pause.gpsml" - Insert between gpsml titles (stderr) -# Testing -T (--time-shift) option... -ok - "../gpst -T 3600 multitrack-pause.gpx" - Add one hour to GPX input, output gpsml -ok - "../gpst -T 3600 multitrack-pause.gpx" - Add one hour to GPX input, output gpsml (stderr) -ok - "../gpst -T -3600 multitrack-pause.gpx" - Subtract one hour from GPX input, output gpsml -ok - "../gpst -T -3600 multitrack-pause.gpx" - Subtract one hour from GPX input, output gpsml (stderr) -ok - "../gpst -T 1 -o gpx multitrack-pause.gpx" - Add one second to GPX input, output GPX -ok - GPX for "Add one second to GPX input, output GPX" validates -ok - "../gpst -T 1 -o gpx multitrack-pause.gpx" - Add one second to GPX input, output GPX (stderr) -ok - "../gpst --time-shift -1 -o gpx multitrack-pause.gpsml" - Subtract one second from gpsml input, output GPX, use long option -ok - GPX for "Subtract one second from gpsml input, output GPX, use long option" validates -ok - "../gpst --time-shift -1 -o gpx multitrack-pause.gpsml" - Subtract one second from gpsml input, output GPX, use long option (stderr) -ok - "../gpst -T 0 -o pgtab multitrack-pause.gpx" - Read GPX, time-shift 0 seconds, output pgtab -ok - "../gpst -T 0 -o pgtab multitrack-pause.gpx" - Read GPX, time-shift 0 seconds, output pgtab (stderr) -# Testing -v (--verbose) option... -ok - "../gpst -hv" - Option --version with -h returns version number and help screen -ok - "../gpst -hv" - Option --version with -h returns version number and help screen (stderr) -# Testing --version option... -ok - "../gpst --version" - Option --version returns version number -ok - "../gpst --version" - Option --version returns version number (stderr) -# Testing --strip-whitespace option... -ok - "../gpst -w -o gpx pause-noname.gpx" - Strip whitespace from GPX output -ok - GPX for "Strip whitespace from GPX output" validates -ok - "../gpst -w -o gpx pause-noname.gpx" - Strip whitespace from GPX output (stderr) -ok - "../gpst -o gpx -w comments.mayko" - Output whitespace-stripped GPX from Mayko file with commented-out lines -ok - GPX for "Output whitespace-stripped GPX from Mayko file with commented-out lines" validates -ok - "../gpst -o gpx -w comments.mayko" - Output whitespace-stripped GPX from Mayko file with commented-out lines (stderr) -ok - "../gpst -w -o pgwupd multitrack.gpx" - Strip whitespace from pgwupd output -ok - "../gpst -w -o pgwupd multitrack.gpx" - Strip whitespace from pgwupd output (stderr) -# Testing --double-y-scale option... -ok - "../gpst -y -o clean pause.gpx" - Double y scale, clean output from gpx format -ok - "../gpst -y -o clean pause.gpx" - Double y scale, clean output from gpx format (stderr) -ok - "../gpst -y -o clean log.dos.mayko" - Double y scale, clean output from mayko format -ok - "../gpst -y -o clean log.dos.mayko" - Double y scale, clean output from mayko format (stderr) -# Testing --debug option... -# Strip error from Mayko format... -ok - "../gpst -o csv date_error.mayko" - Strip error from mayko format in csv output -ok - "../gpst -o csv date_error.mayko" - Strip error from mayko format in csv output (stderr) -ok - "../gpst -o clean date_error.mayko" - Strip error from mayko format in clean output -ok - "../gpst -o clean date_error.mayko" - Strip error from mayko format in clean output (stderr) -ok - "../gpst -o gpsml date_error.mayko" - Strip error from mayko format in gpsml output -ok - "../gpst -o gpsml date_error.mayko" - Strip error from mayko format in gpsml output (stderr) -ok - "../gpst -o gpx date_error.mayko" - Strip error from mayko format in gpx output -ok - GPX for "Strip error from mayko format in gpx output" validates -ok - "../gpst -o gpx date_error.mayko" - Strip error from mayko format in gpx output (stderr) -ok - "../gpst -o gpstrans date_error.mayko" - Strip error from mayko format in gpstrans output -ok - "../gpst -o gpstrans date_error.mayko" - Strip error from mayko format in gpstrans output (stderr) -ok - "../gpst -o pgtab date_error.mayko" - Strip error from mayko format in pgtab output -ok - "../gpst -o pgtab date_error.mayko" - Strip error from mayko format in pgtab output (stderr) -ok - "../gpst -o poscount date_error.mayko" - Strip error from mayko format in poscount output -ok - "../gpst -o poscount date_error.mayko" - Strip error from mayko format in poscount output (stderr) -ok - "../gpst -o xgraph date_error.mayko" - Strip error from mayko format in xgraph output -ok - "../gpst -o xgraph date_error.mayko" - Strip error from mayko format in xgraph output (stderr) -ok - "../gpst -o ygraph date_error.mayko" - Strip error from mayko format in ygraph output -ok - "../gpst -o ygraph date_error.mayko" - Strip error from mayko format in ygraph output (stderr) -# Testing finished. -1..242 diff --git a/tests/log/todo-tests.log b/tests/log/todo-tests.log deleted file mode 100644 index 5762ced..0000000 --- a/tests/log/todo-tests.log +++ /dev/null @@ -1,248 +0,0 @@ -ok - use GPST; -ok - use GPSTdate; -ok - use GPSTdebug; -ok - use GPSTgeo; -ok - use GPSTxml; -# ========== Executing run-tests.pl v0.00 ========== -# Running TODO tests... -not ok - "../gpst -o gpx pause.gpx" - Read and write name element from/to GPX # TODO Fix read/write of GPX name element -# Failed (TODO) test '"../gpst -o gpx pause.gpx" - Read and write name element from/to GPX' -# at ./run-tests.pl line 2212. -# got: ' -# -# -# -# 25.260 -# 24.931 -# 27.975 -# 31.017 -# 30.980 -# 30.538 -# 30.515 -# 31.936 -# 31.794 -# -# -# -# ' -# expected: ' -# -# -# ACTIVE LOG164705 -# -# 25.260 -# 24.931 -# 27.975 -# 31.017 -# 30.980 -# 30.538 -# 30.515 -# 31.936 -# 31.794 -# -# -# -# ' -ok - GPX for "Read and write name element from/to GPX" validates # TODO Fix read/write of GPX name element -ok - "../gpst -o gpx pause.gpx" - Read and write name element from/to GPX (stderr) # TODO Fix read/write of GPX name element -not ok - "../gpst -o csv multitrack.gpx" - Output csv format from multitrack.gpx # TODO Remove extra \n in the beginning -# Failed (TODO) test '"../gpst -o csv multitrack.gpx" - Output csv format from multitrack.gpx' -# at ./run-tests.pl line 2212. -# got: ' -# 2003-02-11T23:35:39Z -0.1448824 51.4968266 -# 2003-02-11T23:35:49Z -0.1449938 51.4968227 -# 2003-02-11T23:36:14Z -0.1453202 51.4969040 -# -# 2003-02-11T23:36:16Z -0.1453398 51.4969214 -# 2003-02-11T23:36:31Z -0.1455514 51.4969816 -# 2003-02-11T23:36:43Z -0.1457489 51.4970224 1000 -# 2003-02-11T23:36:50Z -0.1457804 51.4970452 -# -# 2003-02-11T23:37:05Z -0.1458608 51.4970680 -# 2003-02-11T23:37:22Z -0.1460047 51.4971658 -# 2003-02-11T23:37:36Z -0.1461614 51.4972469 -# -# 2003-02-11T23:37:43Z -0.1462394 51.4972731 -# 2003-02-11T23:38:04Z -0.1463232 51.4973437 -# 2003-02-11T23:38:28Z -0.1462949 51.4973337 -# 2003-02-11T23:38:34Z -0.1462825 51.4973218 -# 2003-02-11T23:38:35Z -0.1462732 51.4973145 -# ' -# expected: '2003-02-11T23:35:39Z -0.1448824 51.4968266 -# 2003-02-11T23:35:49Z -0.1449938 51.4968227 -# 2003-02-11T23:36:14Z -0.1453202 51.4969040 -# -# 2003-02-11T23:36:16Z -0.1453398 51.4969214 -# 2003-02-11T23:36:31Z -0.1455514 51.4969816 -# 2003-02-11T23:36:43Z -0.1457489 51.4970224 1000 -# 2003-02-11T23:36:50Z -0.1457804 51.4970452 -# -# 2003-02-11T23:37:05Z -0.1458608 51.4970680 -# 2003-02-11T23:37:22Z -0.1460047 51.4971658 -# 2003-02-11T23:37:36Z -0.1461614 51.4972469 -# -# 2003-02-11T23:37:43Z -0.1462394 51.4972731 -# 2003-02-11T23:38:04Z -0.1463232 51.4973437 -# 2003-02-11T23:38:28Z -0.1462949 51.4973337 -# 2003-02-11T23:38:34Z -0.1462825 51.4973218 -# 2003-02-11T23:38:35Z -0.1462732 51.4973145 -# ' -ok - "../gpst -o csv multitrack.gpx" - Output csv format from multitrack.gpx (stderr) # TODO Remove extra \n in the beginning -not ok - "../gpst -o csv pause.gpx" - Output csv format from pause.gpx # TODO Remove extra \n in the beginning -# Failed (TODO) test '"../gpst -o csv pause.gpx" - Output csv format from pause.gpx' -# at ./run-tests.pl line 2212. -# got: ' -# 2006-05-21T16:49:11Z 5.299534 60.425494 25.260 -# 2006-05-21T16:49:46Z 5.299610 60.425464 24.931 -# 2006-05-21T16:52:04Z 5.299694 60.425314 27.975 -# 2006-05-21T16:56:36Z 5.299741 60.425384 31.017 -# 2006-05-21T16:56:47Z 5.299958 60.425339 30.980 -# 2006-05-21T16:56:56Z 5.299640 60.425238 30.538 -# 2006-05-21T16:57:03Z 5.299686 60.425246 30.515 -# 2006-05-21T16:59:08Z 5.299773 60.425345 31.936 -# 2006-05-21T17:00:54Z 5.299419 60.425457 31.794 -# ' -# expected: '2006-05-21T16:49:11Z 5.299534 60.425494 25.260 -# 2006-05-21T16:49:46Z 5.299610 60.425464 24.931 -# 2006-05-21T16:52:04Z 5.299694 60.425314 27.975 -# 2006-05-21T16:56:36Z 5.299741 60.425384 31.017 -# 2006-05-21T16:56:47Z 5.299958 60.425339 30.980 -# 2006-05-21T16:56:56Z 5.299640 60.425238 30.538 -# 2006-05-21T16:57:03Z 5.299686 60.425246 30.515 -# 2006-05-21T16:59:08Z 5.299773 60.425345 31.936 -# 2006-05-21T17:00:54Z 5.299419 60.425457 31.794 -# ' -ok - "../gpst -o csv pause.gpx" - Output csv format from pause.gpx (stderr) # TODO Remove extra \n in the beginning -not ok - "../gpst -e -o csv pause.gpx" - csv format with epoch seconds from gpx # TODO Remove extra \n in the beginning -# Failed (TODO) test '"../gpst -e -o csv pause.gpx" - csv format with epoch seconds from gpx' -# at ./run-tests.pl line 2212. -# got: ' -# 1148230151 5.299534 60.425494 25.260 -# 1148230186 5.299610 60.425464 24.931 -# 1148230324 5.299694 60.425314 27.975 -# 1148230596 5.299741 60.425384 31.017 -# 1148230607 5.299958 60.425339 30.980 -# 1148230616 5.299640 60.425238 30.538 -# 1148230623 5.299686 60.425246 30.515 -# 1148230748 5.299773 60.425345 31.936 -# 1148230854 5.299419 60.425457 31.794 -# ' -# expected: '1148230151 5.299534 60.425494 25.260 -# 1148230186 5.299610 60.425464 24.931 -# 1148230324 5.299694 60.425314 27.975 -# 1148230596 5.299741 60.425384 31.017 -# 1148230607 5.299958 60.425339 30.980 -# 1148230616 5.299640 60.425238 30.538 -# 1148230623 5.299686 60.425246 30.515 -# 1148230748 5.299773 60.425345 31.936 -# 1148230854 5.299419 60.425457 31.794 -# ' -ok - "../gpst -e -o csv pause.gpx" - csv format with epoch seconds from gpx (stderr) # TODO Remove extra \n in the beginning -not ok - "../gpst -o gpx multitrack-pause.gpsml" - Should be equal to multitrack-pause.gpx # TODO Tweak output -# Failed (TODO) test '"../gpst -o gpx multitrack-pause.gpsml" - Should be equal to multitrack-pause.gpx' -# at ./run-tests.pl line 2212. -# got: ' -# -# -# -# -# -# -# -# -# -# -# -# -# -# -# -# -# -# -# -# -# -# -# -# -# -# -# -# -# -# -# ' -# expected: ' -# -# -# track1 -# -# -# -# -# -# -# -# track2 -# -# -# -# -# -# -# -# -# -# -# -# track3 -# -# -# -# -# -# -# -# -# -# -# -# -# -# -# ' -ok - GPX for "Should be equal to multitrack-pause.gpx" validates # TODO Tweak output -ok - "../gpst -o gpx multitrack-pause.gpsml" - Should be equal to multitrack-pause.gpx (stderr) # TODO Tweak output -GPX: Cannot open file '/home/sunny/gps/waypoints.gpx'! -not ok - list_nearest_waypoints() # TODO Fix it. -# Failed (TODO) test 'list_nearest_waypoints()' -# at ./run-tests.pl line 2182. -# '' -# doesn't match '(?-xism:^\(.*,.*,.*\)$)' -# Testing finished. -1..18 -- 2.11.4.GIT