diff options
author | Qiu Tingting <qiutt@fujitsu.com> | 2023-07-21 11:06:21 +0800 |
---|---|---|
committer | Qiu Tingting <qiutt@fujitsu.com> | 2023-07-21 11:06:21 +0800 |
commit | 482a6c532c6d997f83b224c47356b3bddfaa9bf9 (patch) | |
tree | 90a95cfc38e6c6efd89a04d7df32c3138adc2dc1 /meta-agl-test/recipes-support/curl/files | |
parent | db0a49c12e175462206e43e9057fdbfe62d2bb49 (diff) |
curl: Add ptest support
Add a ptest for curl.
It is a backport for
http://cgit.openembedded.org/openembedded-core/commit/meta/recipes-support/curl?id=a0ea00daace826129cdec8f714ca7b7c60e9dadf
http://cgit.openembedded.org/openembedded-core/commit/meta/recipes-support/curl?id=0b1e3746478e9ad1800b027ab5dc96495997807e
http://cgit.openembedded.org/openembedded-core/commit/meta/recipes-support/curl?id=e885875f2af9cee0e7557ee130d3180492e507dd
It should be deleted after yocto version up.
SPEC-4753
Signed-off-by: Qiu Tingting <qiutt@fujitsu.com>
Change-Id: Ic4848d1aea6c4991f0a7ff8c0dcb51c07211312e
Diffstat (limited to 'meta-agl-test/recipes-support/curl/files')
-rw-r--r-- | meta-agl-test/recipes-support/curl/files/disable-tests | 27 | ||||
-rw-r--r-- | meta-agl-test/recipes-support/curl/files/run-ptest | 6 |
2 files changed, 33 insertions, 0 deletions
diff --git a/meta-agl-test/recipes-support/curl/files/disable-tests b/meta-agl-test/recipes-support/curl/files/disable-tests new file mode 100644 index 00000000..41167756 --- /dev/null +++ b/meta-agl-test/recipes-support/curl/files/disable-tests @@ -0,0 +1,27 @@ +# These CRL test (alt-avc) are failing +356 +2100 +# These CRL tests are scanning docs +971 +1119 +1132 +1135 +# These CRL tests are scnning headers +1167 +# These CRL tests are scanning man pages +1139 +1140 +1173 +1177 +# This CRL test is looking for m4 files +1165 +# This CRL test is looking for src files +1185 +# These CRL tests need --libcurl option to be enabled +1400 +1401 +1402 +1403 +1404 +1405 +1465 diff --git a/meta-agl-test/recipes-support/curl/files/run-ptest b/meta-agl-test/recipes-support/curl/files/run-ptest new file mode 100644 index 00000000..614e8229 --- /dev/null +++ b/meta-agl-test/recipes-support/curl/files/run-ptest @@ -0,0 +1,6 @@ +#!/bin/sh +cd tests +./runtests.pl -a -n -s | 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//' |