From cf6b12e5c95d0593970f945aa6930c818f7a819f Mon Sep 17 00:00:00 2001 From: Derek Straka Date: Wed, 18 Dec 2024 18:05:48 +0000 Subject: python3-*: Update recipes with pytest ptests to use the new ptest-python-pytest class The newly added ptest-python-pytest removes duplication for: 1. Copying pytest files to the ptest directory 2. Adding standard pytest dependencies 3. Adding a common run-ptest script using pytest (From OE-Core rev: 8d84d9e19b9292b1863921611924714d77c41d21) Signed-off-by: Derek Straka Signed-off-by: Richard Purdie --- meta/recipes-devtools/python/python3-click/run-ptest | 3 --- 1 file changed, 3 deletions(-) delete mode 100644 meta/recipes-devtools/python/python3-click/run-ptest (limited to 'meta/recipes-devtools/python/python3-click') diff --git a/meta/recipes-devtools/python/python3-click/run-ptest b/meta/recipes-devtools/python/python3-click/run-ptest deleted file mode 100644 index b63c4de0d9..0000000000 --- a/meta/recipes-devtools/python/python3-click/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}' -- cgit v1.2.3-54-g00ecf