mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 12:59:02 +02:00
curl: improve run-ptest
There's no need to run the output of runtests.pl through a sed to get automake-style output, as you can pass -am to get this formatting. Don't run timing dependent tests, as the ptests can run on loaded systems. Add a dependency on the en_US locale because some of the tests require this. (From OE-Core rev: 000bedc1c95e033f8a479a18a47dc66a0609d596) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 3c3601d50ae290e7e9797eadd20c05df99bbd040) Signed-off-by: Steve Sakoman <steve@sakoman.com>
This commit is contained in:
parent
b29f40625a
commit
ba6ed3b831
|
@ -1,6 +1,11 @@
|
|||
#!/bin/sh
|
||||
|
||||
cd tests
|
||||
{ ./runtests.pl -a -n -s -j4 !flaky || echo "FAIL: curl" ; } | sed \
|
||||
-e 's|\([^ ]* *\) \([^ ]* *\)...OK|PASS: \1 \2|' \
|
||||
-e 's|\([^ ]* *\) \([^ ]* *\)...FAILED|FAIL: \1 \2|' \
|
||||
-e 's/Warning: test[0-9]\+ not present in tests\/data\/Makefile.inc//'
|
||||
|
||||
# Run all tests, don't stop on first failure
|
||||
# Don't use valgrind if it is found
|
||||
# Use automake-style output
|
||||
# Run four tests in parallel
|
||||
# Print log output on failure
|
||||
# Don't run the flaky or timing dependent tests
|
||||
./runtests.pl -a -n -am -j4 -p '!flaky !timing-dependent'
|
||||
|
|
|
@ -127,6 +127,7 @@ RDEPENDS:${PN}-ptest += " \
|
|||
perl-module-storable \
|
||||
perl-module-time-hires \
|
||||
"
|
||||
RDEPENDS:${PN}-ptest:append:libc-glibc = " locale-base-en-us"
|
||||
|
||||
PACKAGES =+ "lib${BPN}"
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user