Skip to content

Instantly share code, notes, and snippets.

@ugexe
Created May 17, 2017 02:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ugexe/0e77eaba67c893e5a18042a59f20c164 to your computer and use it in GitHub Desktop.
Save ugexe/0e77eaba67c893e5a18042a59f20c164 to your computer and use it in GitHub Desktop.
### SETUP
# Dependencies aren't on CPAN, so install those first with the p6c ecosystem enabled
# $ zef --depsonly install Text::CSV
# Lets submit a cpantest report for good measure
# Requires newish zef and plugin
# $ zef install "zef:ver(v0.1.13+)"
# $ zef install Zef::CPANReporter
### INSTALL Text::CSV FROM CPAN
# Disable the p6c ecosystem (--/p6c)
# Disable the downloaded module cache (--/cached)
# Enable searching the cpan index (--cpan)
# todo: be more clear about where it was found
$ zef --/p6c --/cached --cpan --debug install Text::CSV
===> Searching for: Text::CSV
===> Found: Text::CSV:ver('0.008'):auth('github:Tux')
===> Dependencies: Slang::Tuxic, File::Temp, Test, Test::META
===> Fetching: Text::CSV
Fetching with plugin: Zef::Service::Shell::curl+{<anon|140398455193136>}
===> Fetching [OK]: Text::CSV:ver('0.008'):auth('github:Tux') to /Users/ugexe/.zef/tmp/Text-CSV-0.008.tgz
===> Extracting: Text::CSV
Extracting with plugin: Zef::Service::Shell::tar+{<anon|140398455193136>}
===> Extraction [OK]: Text::CSV to /Users/ugexe/.zef/store/Text-CSV-0.008.tgz
===> Filtering: Text::CSV:ver('0.008'):auth('github:Tux')
===> Filtering [OK] for Text::CSV:ver('0.008'):auth('github:Tux')
===> # SKIP: No Build.pm for Text::CSV:ver('0.008'):auth('github:Tux')
===> Testing: Text::CSV:ver('0.008'):auth('github:Tux')
Testing with plugin: Zef::Service::TAP+{<anon|140398455193136>}
t/10_base.t ....... ok
t/12_acc.t ........ ok
t/15_flags.t ...... ok
t/16_methods.t .... ok
t/20_file.t ....... ok
t/21_combine.t .... ok
t/22_print.t ...... ok
t/30_field.t ...... ok
t/31_row.t ........ ok
t/32_getline.t .... ok
t/40_misc.t ....... ok
t/41_null.t ....... ok
t/45_eol.t ........ ok
TODO: EOL = "!", RS = ""
"1,2,3!4,5,6!"
--> ["1"]
TODO: EOL = "!!", RS = ""
"1,2,3!!4,5,6!!"
--> ["1"]
TODO: EOL = "!!", RS = "!"
"1,2,3!!4,5,6!!"
--> ["1", "2", "3!"]
TODO: EOL = "!\n", RS = ""
"1,2,3!\n4,5,6!\n"
--> ["1"]
TODO: EOL = "!\n", RS = "!"
"1,2,3!\n4,5,6!\n"
--> ["1", "2", "3!"]
TODO: EOL = "!\n!", RS = ""
"1,2,3!\n!4,5,6!\n!"
--> ["1"]
TODO: EOL = "!\n!", RS = "\n"
"1,2,3!\n!4,5,6!\n!"
--> ["1", "2", "3!\n"]
TODO: EOL = "!\n!", RS = "!"
"1,2,3!\n!4,5,6!\n!"
--> ["1", "2", "3!"]
TODO: EOL = "!\n!", RS = "!\n"
"1,2,3!\n!4,5,6!\n!"
--> ["1", "2", "3!\n"]
TODO: EOL = "!!!!!!!!", RS = ""
"1,2,3!!!!!!!!4,5,6!!!!!!!!"
--> ["1"]
TODO: EOL = "!!!!!!!!", RS = "!"
"1,2,3!!!!!!!!4,5,6!!!!!!!!"
--> ["1", "2", "3!"]
TODO: EOL = "!!!!!!!!!!", RS = ""
"1,2,3!!!!!!!!!!4,5,6!!!!!!!!!!"
--> ["1"]
TODO: EOL = "!!!!!!!!!!", RS = "!"
"1,2,3!!!!!!!!!!4,5,6!!!!!!!!!!"
--> ["1", "2", "3!"]
TODO: EOL = "\n!!!!!\n!!!!!", RS = ""
"1,2,3\n!!!!!\n!!!!!4,5,6\n!!!!!\n!!!!!"
--> ["1"]
TODO: EOL = "\n!!!!!\n!!!!!", RS = "\n"
"1,2,3\n!!!!!\n!!!!!4,5,6\n!!!!!\n!!!!!"
--> ["1", "2", "3\n"]
TODO: EOL = "\n!!!!!\n!!!!!", RS = "!"
"1,2,3\n!!!!!\n!!!!!4,5,6\n!!!!!\n!!!!!"
--> ["1", "2", "3\n!"]
TODO: EOL = "\n!!!!!\n!!!!!", RS = "!\n"
"1,2,3\n!!!!!\n!!!!!4,5,6\n!!!!!\n!!!!!"
--> ["1", "2", "3\n!!!!!\n"]
TODO: EOL = "\n!!!!!\n!!!!!", RS = "\n!"
"1,2,3\n!!!!!\n!!!!!4,5,6\n!!!!!\n!!!!!"
--> ["1", "2", "3\n!"]
TODO: EOL = "\n!!!!!\n!!!!!", RS = "!\n!"
"1,2,3\n!!!!!\n!!!!!4,5,6\n!!!!!\n!!!!!"
--> ["1", "2", "3\n!!!!!\n!"]
TODO: EOL = "!!!!!\n!!!!!\n", RS = ""
"1,2,3!!!!!\n!!!!!\n4,5,6!!!!!\n!!!!!\n"
--> ["1"]
TODO: EOL = "!!!!!\n!!!!!\n", RS = "\n"
"1,2,3!!!!!\n!!!!!\n4,5,6!!!!!\n!!!!!\n"
--> ["1", "2", "3!!!!!\n"]
TODO: EOL = "!!!!!\n!!!!!\n", RS = "!"
"1,2,3!!!!!\n!!!!!\n4,5,6!!!!!\n!!!!!\n"
--> ["1", "2", "3!"]
TODO: EOL = "!!!!!\n!!!!!\n", RS = "!\n"
"1,2,3!!!!!\n!!!!!\n4,5,6!!!!!\n!!!!!\n"
--> ["1", "2", "3!!!!!\n"]
TODO: EOL = "!!!!!\n!!!!!\n", RS = "\n!"
"1,2,3!!!!!\n!!!!!\n4,5,6!!!!!\n!!!!!\n"
--> ["1", "2", "3!!!!!\n!"]
TODO: EOL = "!!!!!\n!!!!!\n", RS = "!\n!"
"1,2,3!!!!!\n!!!!!\n4,5,6!!!!!\n!!!!!\n"
--> ["1", "2", "3!!!!!\n!"]
TODO: EOL = "\%^+_\n\0!X**", RS = ""
"1,2,3\%^+_\n\0!X**4,5,6\%^+_\n\0!X**"
--> ["1"]
TODO: EOL = "\%^+_\n\0!X**", RS = "\n"
"1,2,3\%^+_\n\0!X**4,5,6\%^+_\n\0!X**"
--> ["1", "2", "3\%^+_\n"]
TODO: EOL = "\%^+_\n\0!X**", RS = "!"
"1,2,3\%^+_\n\0!X**4,5,6\%^+_\n\0!X**"
--> ["1", "2", "3\%^+_\n\0!"]
TODO: EOL = "\r\n", RS = ""
"1,2,3\r\n4,5,6\r\n"
--> ["1"]
TODO: EOL = "\r", RS = ""
"1,2,3\r4,5,6\r"
--> ["1"]
t/46_eol_si.t ..... ok
t/50_utf8.t ....... ok
t/55_combi.t ...... ok
t/60_samples.t .... ok
t/65_allow.t ...... ok
t/75_hashref.t .... ok
t/77_getall.t ..... ok
t/78_fragment.t ... ok
t/79_callbacks.t .. ok
t/80_diag.t ....... ok
t/81_subclass.t ... ok
t/82_subclass.t ... ok
t/85_util.t ....... ok
t/90_csv.t ........ ok
t/91_csv_cb.t ..... ok
t/99_meta.t ....... ok
All tests successful.
Files=29, Tests=22348, 51 wallclock secs
Result: PASS
===> Testing [OK] for Text::CSV:ver('0.008'):auth('github:Tux')
Reporting with plugin: Zef::Service::P6CReporter+{<anon|140398455193136>}
Report for Text::CSV:ver('0.008'):auth('github:Tux') will be available at http://testers.p6c.org/reports/145870.html
Reporting with plugin: Zef::CPANReporter+{<anon|140398455193136>}
Report for Text::CSV:ver('0.008'):auth('github:Tux') will be available at http://cpantesters.org/report/19AC32AE-3AA4-11E7-87C9-B2FAC943E7B8
===> Installing: Text::CSV:ver('0.008'):auth('github:Tux')
===> Install [OK] for Text::CSV:ver('0.008'):auth('github:Tux')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment