diff options
author | Yan Xinkuan <yanxk.fnst@fujitsu.com> | 2022-11-01 07:55:11 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-11-02 09:20:53 +0000 |
commit | 98b058a039ae8a49437c306f684f919c93df55fd (patch) | |
tree | 687e457c39b01c7e47e41a9ec106afc14114f55f /meta/recipes-extended/pigz | |
parent | a918ea5645d8a67cedaf3ecf6c382520bbcad85b (diff) | |
download | openembedded-core-contrib-98b058a039ae8a49437c306f684f919c93df55fd.tar.gz |
bc: Add ptest.
Add ptest for OSS 'bc' by using 'bc' in the system to do calculation jobs according to the .b files from the source file.
Test example as below:
......
.00673400673400673400
“PASS: bc/div.b”
99836408603283573660347145562829683495827909199408566065153345558783\
9427595471.89114392327665123852
“PASS: bc/exp.b”
length(b)= 1406
“PASS: bc/fact.b”
......
If bc runs the .b files and does not crash, it would 'PASS', otherwise 'FAIL'.
Tested in qemux86-64, with kvm enabled, test cost 12 secs, so it should be a fast test.
Thanks to Ross Burton and Alexander Kanavin for the professional guidance.
Signed-off-by: Yan Xinkuan <yanxk.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/pigz')
0 files changed, 0 insertions, 0 deletions