On Sun, 2020-05-31 at 17:57 +0530, Rahul Kumar wrote: > Source: git://sourceware.org/git/bzip2-tests.git > Type: Enhancement > Description: > bzip2 now has a test suite available at > git://sourceware.org/git/bzip2-tests.git. > > This is a collection of "interesting" .bz2 files that can be used to > test bzip2 works correctly. They come from different projects. > > Some files are deliberately bad, and are use to see how bzip2 handles > corrupt files. They are explicitly not intended to decompress > correctly, > but to catch errors in bzip2 trying to deal with deliberately bad > data. > All such files have a name ending in .bz2.bad. > > All non-bad files end in bz2. And should come with a .md5 file for > the original input file. The .md5 file is used to check that bzip2 > could correctly decompress the file. The original (non-compressed) > files are deliberately not checked in. > > It will by default test with the command 'bzip2', running under > valgrind (if installed on the system). > > For each .bz2 file found it is decompressed, recompressed and > decompressed again. Once with the default bzip2 settings and > once in --small (-s) mode. > > For each .bz2.bad file decompression is tried twice also. In > default mode and small mode. The bzip2 binary is expected to > return either 1 or 2 as exit status. Any other exit code is > interpreted as failure. > > License: > In bzip2-tests source code Each directory should contain a README > file explaining where the .bz2 files originally came from. > Plus a reference to the (Free Software) license that the project > files were distributed under. > > Test Summery: > On qemux86-64/kvm the ptest results with extra filesystem space > (atleast 114688) are: > > TOTAL: 396 > PASS: 396 > SKIP: 0 > XFAIL: 0 > FAIL: 0 > XPASS: 0 > ERROR: 0 > > All tests passed > DURATION: 517 > > [YOCTO #13444] > > Signed-off-by: Rahul Kumar <[email protected]>
Still not quite there yet unfortunately: https://autobuilder.yoctoproject.org/typhoon/#/builders/64/builds/1996 https://autobuilder.yoctoproject.org/typhoon/#/builders/50/builds/1992 and probably a few other builds too. Cheers, Richard
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#139232): https://lists.openembedded.org/g/openembedded-core/message/139232 Mute This Topic: https://lists.openembedded.org/mt/74580690/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
