summaryrefslogtreecommitdiffstats
path: root/meta-agl-test/recipes-support/curl/files/run-ptest
diff options
context:
space:
mode:
authorQiu Tingting <qiutt@fujitsu.com>2023-07-21 11:06:21 +0800
committerQiu Tingting <qiutt@fujitsu.com>2023-07-21 11:06:21 +0800
commit482a6c532c6d997f83b224c47356b3bddfaa9bf9 (patch)
tree90a95cfc38e6c6efd89a04d7df32c3138adc2dc1 /meta-agl-test/recipes-support/curl/files/run-ptest
parentdb0a49c12e175462206e43e9057fdbfe62d2bb49 (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/run-ptest')
-rw-r--r--meta-agl-test/recipes-support/curl/files/run-ptest6
1 files changed, 6 insertions, 0 deletions
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//'