From 18e019ee2295ab42849e510d5efeee94bf1d9056 Mon Sep 17 00:00:00 2001 From: alperak Date: Thu, 7 Mar 2024 22:45:27 +0300 Subject: python3-tomli-w: added recipe which is also include ptest Tomli-W is the write-only counterpart of Tomli, providing dump and dumps functions. * When we fetch the package via PyPI there are missing files such as tests directory. So, we set PYPI_SRC_URI and fetch it from the github url. * Ptest and library example tested on qemux86-64 and qemuarm64 * Add ptest into PTESTS_FAST_META_PYTHON Ptest result: ============== qemux86-64: Testsuite summary TOTAL: 265 PASS: 263 SKIP: 0 XFAIL: 2 FAIL: 0 XPASS: 0 ERROR: 0 DURATION: 15 END: /usr/lib/python3-tomli-w/ptest 2024-03-07T17:33 STOP: ptest-runner TOTAL: 1 FAIL: 0 qemuarm64: Testsuite summary TOTAL: 265 PASS: 263 SKIP: 0 XFAIL: 2 FAIL: 0 XPASS: 0 ERROR: 0 DURATION: 15 END: /usr/lib/python3-tomli-w/ptest 2024-03-07T17:25 STOP: ptest-runner TOTAL: 1 FAIL: 0 XFAIL: tests/test_valid.py:test_valid[qa-array-inline-nested-1000] XFAIL reason: This much recursion is not supported Signed-off-by: alperak Signed-off-by: Khem Raj --- meta-python/recipes-devtools/python/python3-tomli-w/run-ptest | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-tomli-w/run-ptest (limited to 'meta-python/recipes-devtools/python/python3-tomli-w') diff --git a/meta-python/recipes-devtools/python/python3-tomli-w/run-ptest b/meta-python/recipes-devtools/python/python3-tomli-w/run-ptest new file mode 100644 index 0000000000..8d2017d39c --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-tomli-w/run-ptest @@ -0,0 +1,3 @@ +#!/bin/sh + +pytest --automake -- cgit v1.2.3-54-g00ecf