diff options
| author | Gyorgy Sarvari <skandigraun@gmail.com> | 2026-01-09 19:03:22 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2026-01-12 08:53:50 -0800 |
| commit | b891bc7cacaa3b80974affc1fafd02121c7079bb (patch) | |
| tree | d53a7f266404d03afb78b50e4ecf4d8aabea3008 /meta-python/conf | |
| parent | 9291faa9192e70ff1f05d6551a562960bdc99630 (diff) | |
| download | meta-openembedded-b891bc7cacaa3b80974affc1fafd02121c7079bb.tar.gz | |
python3-filelock: add ptest support
The tests take <15s to execute.
Sample output:
root@qemux86-64:~# ptest-runner
START: ptest-runner
2026-01-09T18:00
BEGIN: /usr/lib/python3-filelock/ptest
PASS: tests/test_async_filelock.py:test_simple[a-str-AsyncUnixFileLock]
PASS: tests/test_async_filelock.py:test_simple[a-str-AsyncSoftFileLock]
PASS: tests/test_async_filelock.py:test_simple[a-PurePath-AsyncUnixFileLock]
PASS: tests/test_async_filelock.py:test_simple[a-PurePath-AsyncSoftFileLock]
PASS: tests/test_async_filelock.py:test_simple[a-Path-AsyncUnixFileLock]
PASS: tests/test_async_filelock.py:test_simple[a-Path-AsyncSoftFileLock]
[...many lines...]
PASS: tests/test_filelock.py:test_mtime_zero_exit_branch[SoftFileLock-TimeoutError]
PASS: tests/test_filelock.py:test_mtime_zero_exit_branch[UnixFileLock-PermissionError]
PASS: tests/test_virtualenv.py:test_virtualenv
============================================================================
Testsuite summary
DURATION: 10
END: /usr/lib/python3-filelock/ptest
2026-01-09T18:00
STOP: ptest-runner
TOTAL: 1 FAIL: 0
(There are 20 Windows-only tests, which are skipped)
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/conf')
| -rw-r--r-- | meta-python/conf/include/ptest-packagelists-meta-python.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-python/conf/include/ptest-packagelists-meta-python.inc b/meta-python/conf/include/ptest-packagelists-meta-python.inc index 8f40bb20a8..d83ac85f1b 100644 --- a/meta-python/conf/include/ptest-packagelists-meta-python.inc +++ b/meta-python/conf/include/ptest-packagelists-meta-python.inc | |||
| @@ -29,6 +29,7 @@ PTESTS_FAST_META_PYTHON = "\ | |||
| 29 | python3-execnet \ | 29 | python3-execnet \ |
| 30 | python3-fastjsonschema \ | 30 | python3-fastjsonschema \ |
| 31 | python3-fastnumbers \ | 31 | python3-fastnumbers \ |
| 32 | python3-filelock \ | ||
| 32 | python3-flask \ | 33 | python3-flask \ |
| 33 | python3-flexcache \ | 34 | python3-flexcache \ |
| 34 | python3-flexparser \ | 35 | python3-flexparser \ |
