Project:Perl/maint-notes/dev-perl/Data-Serializer

From Gentoo Wiki
Jump to:navigation Jump to:search

Optional Features

Data::Serializer is a bit of a "middleware" that wrangles multiple different serializer backends, at the consumers discretion.

So far it has not seemed sensible to DEPEND on these by default, but if there's a legitimate usecase, file a bug.

Testing

To comprehensively test, install:

  1. dev-perl/Config-General
  2. dev-perl/FreezeThaw
  3. dev-perl/XML-Dumper
  4. dev-perl/PHP-Serialization
  5. dev-perl/YAML-Syck
  6. dev-perl/Crypt-CBC
  7. dev-perl/Crypt-Blowfish
  8. dev-perl/Digest-SHA1

Output should look like the following, with the stated skips being because those dependencies aren't in tree yet.

CODE
>>> Test phase: dev-perl/Data-Serializer-0.650.0
 * Additional dependencies may need installation for comprehensive tests.
 * For details, see:
 *  https://wiki.gentoo.org/wiki/Project:Perl/maint-notes/dev-perl/Data-Serializer
t/01-01-Data-Dumper.t ......... ok     
t/01-02-Data-Denter.t ......... skipped: Data::Denter not installed
t/01-03-Storable.t ............ ok     
t/01-04-FreezeThaw.t .......... ok     
t/01-05-Config-General.t ...... ok     
t/01-06-YAML.t ................ ok     
t/01-07-XML-Dumper.t .......... ok     
t/01-08-PHP-Serialization.t ... ok     
t/01-09-XML-Simple.t .......... ok   
t/01-10-Data-Taxi.t ........... skipped: Data::Taxi not installed
t/01-11-YAML-Syck.t ........... ok     
t/01-12-JSON.t ................ ok     
t/01-13-JSON-Syck.t ........... ok   
t/01-14-Bencode.t ............. skipped: Bencode not installed
t/01-15-Convert-Bencode.t ..... skipped: Convert::Bencode not installed
t/01-16-Convert-Bencode_XS.t .. skipped: Convert::Bencode_XS not installed
t/02-01-Orig-Raw.t ............ ok       
t/02-02-Fast-Raw.t ............ ok       
t/03-Non-Portable.t ........... ok       
t/04-01-Compress-Zlib.t ....... ok       
t/04-02-Compress-PPMd.t ....... skipped: compressppmd not installed
t/05-Encryption.t ............. ok       
t/06-B64-Encoding.t ........... ok       
t/07-01-MD5-Digest.t .......... ok       
t/07-02-SHA1-Digest.t ......... ok       
t/07-03-SHA-256-Digest.t ...... ok       
t/08-Store-Retrieve.t ......... ok       
t/09-Feature-Combos.t ......... ok       
All tests successful.
Files=28, Tests=2991,  5 wallclock secs ( 0.24 usr  0.07 sys +  3.88 cusr  0.92 csys =  5.11 CPU)
Result: PASS