From 343338e95565c2a3e2b1e8fbc4fce325ca0ea2f8 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 22 Feb 2024 10:02:15 -0800 Subject: python3-jsmin: Fix ptests to run with python 3.12+ Remove it from problematic tests list ot fast list as it runs ok now. Signed-off-by: Khem Raj --- meta-python/recipes-devtools/python/python3-jsmin/run-ptest | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'meta-python/recipes-devtools/python/python3-jsmin/run-ptest') diff --git a/meta-python/recipes-devtools/python/python3-jsmin/run-ptest b/meta-python/recipes-devtools/python/python3-jsmin/run-ptest index cbcfffda5b..586608d7b2 100644 --- a/meta-python/recipes-devtools/python/python3-jsmin/run-ptest +++ b/meta-python/recipes-devtools/python/python3-jsmin/run-ptest @@ -1,3 +1,2 @@ #!/bin/sh - -python3 test.py +pytest -vv test.py | 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