summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-jsmin/run-ptest
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2024-02-22 10:02:15 -0800
committerKhem Raj <raj.khem@gmail.com>2024-02-22 12:59:38 -0800
commit343338e95565c2a3e2b1e8fbc4fce325ca0ea2f8 (patch)
tree4db0b36d217858d84fa24735079f2e02fd802900 /meta-python/recipes-devtools/python/python3-jsmin/run-ptest
parent1e853f5c5f8db616baac7dd17634cf4807a70e7d (diff)
downloadmeta-openembedded-343338e95565c2a3e2b1e8fbc4fce325ca0ea2f8.tar.gz
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 <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-jsmin/run-ptest')
-rw-r--r--meta-python/recipes-devtools/python/python3-jsmin/run-ptest3
1 files changed, 1 insertions, 2 deletions
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 @@
1#!/bin/sh 1#!/bin/sh
2 2pytest -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}}'
3python3 test.py