meta-openembedded/meta-python/recipes-devtools/python/python3-freezegun/run-ptest
alperak 39e13efc08
python3-freezegun: add recipe and add ptest
FreezeGun is a library that allows your Python tests to travel through time by mocking the datetime module.

* Tested on qemux86-64 and qemuarm64
* Add ptest into PTESTS_FAST_META_PYTHON

Ptest result:
=============
qemuarm64:

Testsuite summary
TOTAL: 127
PASS: 121
SKIP: 6
XFAIL: 0
FAIL: 0
XPASS: 0
ERROR: 0
DURATION: 20
END: /usr/lib/python3-freezegun/ptest
2024-03-05T06:53
STOP: ptest-runner
TOTAL: 1 FAIL: 0

qemux86-64:

Testsuite summary
TOTAL: 127
PASS: 121
SKIP: 6
XFAIL: 0
FAIL: 0
XPASS: 0
ERROR: 0
DURATION: 21
END: /usr/lib/python3-freezegun/ptest
2024-03-05T06:57
STOP: ptest-runner
TOTAL: 1 FAIL: 0

Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-05 11:02:04 -08:00

29 B

#!/bin/sh

pytest --automake