python3-fastjsonschema: Add missing rdeps for ptests

Allocated 5G RAM to qemu when running the ptest to avoid OOMs

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj 2024-09-15 12:35:42 -07:00
parent dad0bbf8b1
commit 0bc332a041
No known key found for this signature in database
GPG Key ID: BB053355919D3314
2 changed files with 4 additions and 1 deletions

View File

@ -29,7 +29,8 @@ QB_MEM = "-m 1024"
#QB_MEM:virtclass-mcextend-<pn> = "-m 4096"
# python3-scrypt ptests run into OOMs on RISCV64 qemu
QB_MEM:virtclass-mcextend-python3-scrypt = "-m 2048"
QB_MEM:virtclass-mcextend-python3-fastjsonschema = "-m 2048"
# Needs atleast 5G to avoid OOMs
QB_MEM:virtclass-mcextend-python3-fastjsonschema = "-m 5120"
QB_MEM:virtclass-mcextend-python3-pillow = "-m 2048"
TEST_SUITES = "ping ssh parselogs ptest"

View File

@ -17,9 +17,11 @@ do_install_ptest() {
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
}
# python3-misc for timeit.py
RDEPENDS:${PN}-ptest += "\
python3-colorama \
python3-jsonschema \
python3-misc \
python3-pylint \
python3-pytest \
python3-pytest-benchmark \