diff options
author | Qiu Tingting <qiutt@fujitsu.com> | 2023-09-26 08:12:31 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-09-28 12:37:46 +0100 |
commit | 085adb197bb73d81ba49c6128c634609d69dd191 (patch) | |
tree | cca8e5643b139b27160ea377d162ccb1d8363237 /meta/recipes-core | |
parent | 857c2468b9ae6855df67d18ed3245ac32559b1a6 (diff) | |
download | poky-085adb197bb73d81ba49c6128c634609d69dd191.tar.gz |
tar: add ptest support
Add a ptest for tar.
- It is taking around 3m to execute with kvm, so added it to PTEST_SLOW.
- It contains 244 cases.
- Below is parts of the run log:
START: ptest-runner
2023-09-26T08:37
BEGIN: /usr/lib/tar/ptest
## ------------------------ ##
## GNU tar 1.35 test suite. ##
## ------------------------ ##
PASS: tar version
PASS: decompressing from stdin
...
200 tests were successful.
44 tests were skipped.
DURATION: 190
END: /usr/lib/tar/ptest
2023-09-26T08:40
STOP: ptest-runner
TOTAL: 1 FAIL: 0
(From OE-Core rev: 12eed1e6c701759321541d2c04eeca3db3c99247)
Signed-off-by: Qiu Tingting <qiutt@fujitsu.com>
Signed-off-by: Yan Xinkuan <yanxk.fnst@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r-- | meta/recipes-core/images/core-image-ptest.bb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-core/images/core-image-ptest.bb b/meta/recipes-core/images/core-image-ptest.bb index b81ab7b7c8..b6f5c2fd60 100644 --- a/meta/recipes-core/images/core-image-ptest.bb +++ b/meta/recipes-core/images/core-image-ptest.bb | |||
@@ -24,6 +24,9 @@ IMAGE_ROOTFS_EXTRA_SPACE:virtclass-mcextend-mdadm = "1524288" | |||
24 | IMAGE_ROOTFS_EXTRA_SPACE:virtclass-mcextend-strace = "1024288" | 24 | IMAGE_ROOTFS_EXTRA_SPACE:virtclass-mcextend-strace = "1024288" |
25 | IMAGE_ROOTFS_EXTRA_SPACE:virtclass-mcextend-lttng-tools = "1524288" | 25 | IMAGE_ROOTFS_EXTRA_SPACE:virtclass-mcextend-lttng-tools = "1524288" |
26 | 26 | ||
27 | # tar-ptest in particular needs more space | ||
28 | IMAGE_ROOTFS_EXTRA_SPACE:virtclass-mcextend-tar = "1524288" | ||
29 | |||
27 | # ptests need more memory than standard to avoid the OOM killer | 30 | # ptests need more memory than standard to avoid the OOM killer |
28 | QB_MEM = "-m 1024" | 31 | QB_MEM = "-m 1024" |
29 | QB_MEM:virtclass-mcextend-lttng-tools = "-m 4096" | 32 | QB_MEM:virtclass-mcextend-lttng-tools = "-m 4096" |