]> Git Repo - buildroot-mgba.git/commit
support/testing: TestPerlDBDmysql: use ext2 instead of cpio
authorRomain Naour <[email protected]>
Tue, 30 Apr 2024 20:47:43 +0000 (22:47 +0200)
committerThomas Petazzoni <[email protected]>
Mon, 6 May 2024 20:16:02 +0000 (22:16 +0200)
commit8937cd065cb4004d9eade7e75ec808fc2400ba4b
tree2bfe940c851448671a4482ba79cb225d0aabfb59
parentaae8ebc9a5a0bc997d2ab986623f7b0fd9d86f85
support/testing: TestPerlDBDmysql: use ext2 instead of cpio

The CPIO filesystem generated by TestPerlDBDmysql is too large, and
doesn't fit as an initramfs in the 256MB of RAM available in the
versatilepb machine. This causes a failure while running a basic
test "perl -MDBI -e '1'" since "/usr/lib/perl5", and many files
being missing from the root filesystem, ultimately causing the test
to fail.

Can't locate DBI.pm in @INC (you may need to install the DBI module)
(@INC entries checked: /usr/lib/perl5/site_perl/5.38.2/arm-linux
/usr/lib/perl5/site_perl/5.38.2 /usr/lib/perl5/5.38.2/arm-linux
/usr/lib/perl5/5.38.2).

It would make sense to switch all test cases to use ext2 + a
hard-drive, but for now, let's fix the few test cases that are causing
problems.

Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/6735654506

Signed-off-by: Romain Naour <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
support/testing/tests/package/test_perl_dbd_mysql.py
This page took 0.034588 seconds and 4 git commands to generate.