From 482a6c532c6d997f83b224c47356b3bddfaa9bf9 Mon Sep 17 00:00:00 2001 From: Qiu Tingting Date: Fri, 21 Jul 2023 11:06:21 +0800 Subject: 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 Change-Id: Ic4848d1aea6c4991f0a7ff8c0dcb51c07211312e --- meta-agl-test/recipes-support/curl/files/run-ptest | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 meta-agl-test/recipes-support/curl/files/run-ptest (limited to 'meta-agl-test/recipes-support/curl/files/run-ptest') 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//' -- cgit 1.2.3-korg