Closed TinfoilSubmarine closed 2 years ago
The case is basically memory test. It limits allocation memory maximum 0.5GB and run test that will consume 0.4GB memory. If your build environment or pkg tool allocate less memory, it should be failed.
The part following does the thing.
limit = int(512e6) # 0.5GB
with limit_memory(limit):
You have a option to skip slow and memory test that mark @pytest.mark.slow
with option
-m "not slow"
Describe the bug
test_extract_high_compression_rate
fails in chroot.To Reproduce
./xbps-src pkg python3-py7zr -Q
do_check
(copied below)Expected behavior
test_extract_high_compression_rate
should pass.Environment (please complete the following information):
Test data(please attach in the report):
Additional context