diff options
author | Ravineet Singh <ravineet.a.singh@est.tech> | 2023-02-01 16:20:49 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-02-02 09:51:00 +0000 |
commit | a08c791bae13bda56ee71e9023329473e8d5baa5 (patch) | |
tree | b26f44baf0e9c95c56d1acda71b0821c5fe2e6f2 /scripts/contrib | |
parent | 729c16b00e0e9036218a18a7234d90706542f4ab (diff) | |
download | poky-a08c791bae13bda56ee71e9023329473e8d5baa5.tar.gz |
gnutls: add ptest support
Add gnutls unit-tests into ptest. Only self-contained
tests (no external file system dependencies) are included.
Some tests have been put in a disallow list in the run-ptest;
these tests either require additional files (certificates) or
environment setup prior to being run, via wrapper shell script.
As autotools packages are built out-of-tree, it is cumbersome
to add additional files. With regards to tests requiring wrapper
scripts, it is possible to add logic to run these tests under
run-ptests but that will require more effort to maintain, hence
skipped.
Verified via:
$ runqemu qemux86-64 kvm nographic serial qemuparams='-m 4096 -smp 32'
root@qemux86-64:~# ptest-runner gnutls
START: ptest-runner
BEGIN: /usr/lib64/gnutls/ptest
PASS: aead-cipher-vec
PASS: alerts
PASS: anti_replay
...
gnutls test summary:
--------------------
total: 375
pass : 364
fail : 0
skip : 11
DURATION: 184
END: /usr/lib64/gnutls/ptest
2023-02-01T13:55
STOP: ptest-runner
TOTAL: 1 FAIL: 0
(From OE-Core rev: 6061df3084b991ba4a54a3dca5dadda97e2364ac)
Signed-off-by: Ravineet Singh <ravineet.a.singh@est.tech>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/contrib')
0 files changed, 0 insertions, 0 deletions