mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 00:39:46 +00:00
acl/attr: ptest fixes and improvements
Add a missing perl module dependency for the ptest packages and also improve the run-ptest script so that the error log is saved allowing easier debugging if this fails in future. (From OE-Core rev: fbb9c596b8e6a8a1260dd7aefddf138d20bf64df) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -7,4 +7,10 @@
|
|||||||
mkdir -p /tmp/acl-ptest/test
|
mkdir -p /tmp/acl-ptest/test
|
||||||
cp test/test.* /tmp/acl-ptest/test
|
cp test/test.* /tmp/acl-ptest/test
|
||||||
|
|
||||||
|
set +e
|
||||||
make test-suite.log
|
make test-suite.log
|
||||||
|
exitcode=$?
|
||||||
|
if [ $exitcode -ne 0 -a -e test-suite.log ]; then
|
||||||
|
cat test-suite.log
|
||||||
|
fi
|
||||||
|
exit $exitcode
|
||||||
|
|||||||
@@ -65,6 +65,7 @@ RDEPENDS:${PN}-ptest = "acl \
|
|||||||
bash \
|
bash \
|
||||||
coreutils \
|
coreutils \
|
||||||
perl \
|
perl \
|
||||||
|
perl-module-constant \
|
||||||
perl-module-filehandle \
|
perl-module-filehandle \
|
||||||
perl-module-getopt-std \
|
perl-module-getopt-std \
|
||||||
perl-module-posix \
|
perl-module-posix \
|
||||||
|
|||||||
@@ -51,6 +51,7 @@ do_install_ptest() {
|
|||||||
RDEPENDS:${PN}-ptest = "attr \
|
RDEPENDS:${PN}-ptest = "attr \
|
||||||
bash \
|
bash \
|
||||||
coreutils \
|
coreutils \
|
||||||
|
perl-module-constant \
|
||||||
perl-module-filehandle \
|
perl-module-filehandle \
|
||||||
perl-module-getopt-std \
|
perl-module-getopt-std \
|
||||||
perl-module-posix \
|
perl-module-posix \
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
set +e
|
||||||
make test-suite.log
|
make test-suite.log
|
||||||
|
exitcode=$?
|
||||||
|
if [ $exitcode -ne 0 -a -e test-suite.log ]; then
|
||||||
|
cat test-suite.log
|
||||||
|
fi
|
||||||
|
exit $exitcode
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user