[Buildroot] [PATCH/next v2 1/8] support/testing: add perl test

Ricardo Martincoski ricardo.martincoski at gmail.com
Sat Nov 24 02:00:06 UTC 2018


On Fri, Nov 23, 2018 at 02:31 AM, Francois Perrad wrote:

> Signed-off-by: Francois Perrad <francois.perrad at gadz.org>

Reviewed-by: Ricardo Martincoski <ricardo.martincoski at gmail.com>
 and also I tested that calling module_test with a module that is not in the
 built image fails the test case as expected]
Tested-by: Ricardo Martincoski <ricardo.martincoski at gmail.com>

> ---
> +        self.module_test("IO")

This is the only one that generates a warning.

# perl -MIO -e '1'
Parameterless "use IO" deprecated at -e line 0.
# echo $?

But the warning is harmless. This usage is marked as deprecated but still works
(command below succeeds) and therefore the core module *is* being tested.
perl -MIO:Dir -e 'IO::Dir->new(".");'

So my tags above stand.


More information about the buildroot mailing list