Subject: | missing optional prerequisite cause make test to fail |
The prerequisite check reports:
[...]
* Optional prerequisite YAML isn't installed
[...]
* Optional prerequisite XML::XPath isn't installed
Yet make test fails with:
Running make test
/usr/bin/perl Build --makefile_env_macros 1 test
t/02mysql-parser.........ok
t/03mysql-to-oracle......ok
t/04file,fh,string.......ok
t/05bgep-re..............skipped
all skipped: Missing dependency: XML::Writer
t/06xsv..................skipped
all skipped: Missing dependency: Text::RecordParser
t/07p_args...............ok
t/08postgres-to-mysql....ok
t/09sqlt-diagram.........skipped
all skipped: Missing dependency: GD
t/10excel................skipped
all skipped: Missing dependency: Spreadsheet::ParseExcel
t/11normalize............ok
t/12header_comment.......ok
t/13schema...............ok
t/14postgres-parser......ok
t/15oracle-parser........ok
t/16xml-parser...........skipped
all skipped: Missing dependency: XML::XPath
t/17sqlfxml-producer.....skipped
all skipped: Missing dependencies: XML::Writer, XML::Writer
t/18ttschema-producer....skipped
all skipped: Missing dependencies: XML::XPath, XML::XPath
t/19sybase-parser........ok
t/20format_X_name........ok
t/24yaml.................skipped
all skipped: Missing dependency: YAML
t/25storable.............ok
t/26sybase...............ok
t/27sqlite-parser........ok
t/29html.................ok
t/30sqlt-diff............skipped
all skipped: Missing dependency: YAML
t/31dumper...............ok
t/32schema-lookups.......ok
t/33tt-table-producer....Creating /tmp/1jskslpL2G/person.txt.
Creating /tmp/1jskslpL2G/pet.txt.
t/33tt-table-producer....ok
t/34tt-base..............Can't load parser 'XML::SQLFairy' : Error loading XML::SQLFairy as SQL::Translator::Parser::XML::SQLFairy : Can't locate XML/XPath.pm in @INC (@INC contains: /root/.cpan/build/SQL-Translator-0.07/t/lib /root/.cpan/build/SQL-Translator-0.07/blib/lib /root/.cpan/build/SQL-Translator-0.07/blib/arch /etc/perl /usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /root/.cpan/build/SQL-Translator-0.07/blib/lib/SQL/Translator/Parser/XML/SQLFairy.pm line 113.
BEGIN failed--compilation aborted at /root/.cpan/build/SQL-Translator-0.07/blib/lib/SQL/Translator/Parser/XML/SQLFairy.pm line 113.
Compilation failed in require at /root/.cpan/build/SQL-Translator-0.07/blib/lib/SQL/Translator.pm line 735.
# Looks like your test died before it could output anything.
t/34tt-base..............dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-4
Failed 4/4 tests, 0.00% okay
t/35-access-parser.......ok
t/36-filters.............Can't load parser 'YAML' : Error loading YAML as SQL::Translator::Parser::YAML : Can't locate YAML.pm in @INC (@INC contains: /root/.cpan/build/SQL-Translator-0.07/blib/lib /root/.cpan/build/SQL-Translator-0.07/blib/arch /etc/perl /usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl . /etc/perl /usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /root/.cpan/build/SQL-Translator-0.07/blib/lib/SQL/Translator/Parser/YAML.pm line 30.
BEGIN failed--compilation aborted at /root/.cpan/build/SQL-Translator-0.07/blib/lib/SQL/Translator/Parser/YAML.pm line 30.
Compilation failed in require at /root/.cpan/build/SQL-Translator-0.07/blib/lib/SQL/Translator.pm line 735.
# Looks like your test died before it could output anything.
t/36-filters.............dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-16
Failed 16/16 tests, 0.00% okay
t/37-translator-graph....ok
t/38-mysql-producer......skipped
all skipped: Missing dependency: YAML
t/42shell................ok
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/34tt-base.t 255 65280 4 8 200.00% 1-4
t/36-filters.t 255 65280 16 32 200.00% 1-16
10 tests skipped.
Failed 2/34 test scripts, 94.12% okay. 20/911 subtests failed, 97.80% okay.
make: *** [test] Error 255
/usr/bin/make test -- NOT OK