[Buildroot] [PATCH/next v2 0/8] suppport/testing: Perl interpreter and CPAN modules

Francois Perrad fperrad at gmail.com
Fri Nov 23 04:31:02 UTC 2018


test_perl.py allows to test the Perl interpreter and some of its core modules,
and it is used as base class for testing CPAN modules.

Now, scancpan could generate test for CPAN modules.
Currently, there are more than 100 CPAN modules, 25 of them are XS modules.
In order to limit the number of tests (and the execution time),
a test is generated only if the module have more than one direct dependencies
and have at least one XS dependencies.

V1 -> V2
  - refactor with TestPerlBase class
  - check "This is perl 5"

Francois Perrad (8):
  support/testing: add perl test
  scancpan: add generation of test
  support/testing: add perl-class-load test
  support/testing: add perl-gdgraph test
  support/testing: add perl-libwww-perl test
  support/testing: add perl-mail-dkim test
  support/testing: add perl-x10 test
  support/testing: add perl-xml-libxml test

 .gitlab-ci.yml                                |  7 ++
 support/testing/tests/package/test_perl.py    | 66 ++++++++++++++++++
 .../tests/package/test_perl_class_load.py     | 28 ++++++++
 .../tests/package/test_perl_gdgraph.py        | 22 ++++++
 .../tests/package/test_perl_libwww_perl.py    | 41 ++++++++++++
 .../tests/package/test_perl_mail_dkim.py      | 28 ++++++++
 .../testing/tests/package/test_perl_x10.py    | 22 ++++++
 .../tests/package/test_perl_xml_libxml.py     | 22 ++++++
 utils/scancpan                                | 67 +++++++++++++++++++
 9 files changed, 303 insertions(+)
 create mode 100644 support/testing/tests/package/test_perl.py
 create mode 100644 support/testing/tests/package/test_perl_class_load.py
 create mode 100644 support/testing/tests/package/test_perl_gdgraph.py
 create mode 100644 support/testing/tests/package/test_perl_libwww_perl.py
 create mode 100644 support/testing/tests/package/test_perl_mail_dkim.py
 create mode 100644 support/testing/tests/package/test_perl_x10.py
 create mode 100644 support/testing/tests/package/test_perl_xml_libxml.py

-- 
2.17.1



More information about the buildroot mailing list