python3-pylint: add ptest

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Trevor Gamblin
2023-05-02 12:50:04 -04:00
committed by Khem Raj
parent b9b6308f3d
commit 7a75c2d6b4
3 changed files with 32 additions and 11 deletions

View File

@@ -1,21 +1,15 @@
From 843d050f1bf889b81fa8fc3e7a1350385c8348ec Mon Sep 17 00:00:00 2001
From c5c415a240189ac6730ba95de0bb5883dfb53609 Mon Sep 17 00:00:00 2001
From: Trevor Gamblin <tgamblin@baylibre.com>
Date: Mon, 1 May 2023 11:32:24 -0400
Subject: [PATCH] pyproject.toml: Remove hard-coded dependencies
The upstream pyproject.toml has hard-coded dependencies on specific
versions of wheel and setuptools. This breaks builds of pylint
2.17.3, so patch it to remove the pinned versions.
Upstream-Status: Pending
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
---
pyproject.toml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pyproject.toml b/pyproject.toml
index e4b63c660..0ee21e0eb 100644
index bd542646b..2c0ed9485 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,5 +1,5 @@

View File

@@ -0,0 +1,3 @@
#!/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}}'