There are two types of cases in xz pkg: executables and POSIX shell scripts. I only integrated executables in V1 patch. There are two script cases "test_compress.sh" and "test_scripts.sh", create_compress_files is a test tool which will be called by "test_compress.sh". I will install both types of case and send V2.
Thanks, Chi > -----Original Message----- > From: Alexander Kanavin <[email protected]> > Sent: Tuesday, January 23, 2024 5:43 PM > To: Xu, Chi <[email protected]> > Cc: [email protected] > Subject: Re: [OE-core] [PATCH] xz: Add ptest support > > CAUTION: This email comes from a non Wind River email account! > Do not click links or open attachments unless you recognize the sender and > know the content is safe. > > On Tue, 23 Jan 2024 at 09:21, Chi Xu <[email protected]> wrote: > > +tests=`find . -type f -executable | sed 's/\.\///g'` > > + > > +for i in ${tests}; do > > + if [ $i == "create_compress_files" ]; then > > + ./$i > > + if [ $? -eq 0 ]; then > > + echo "PASS: $i" > > + else > > + echo "FAIL: $i" > > + fi > > + else > > + ./$i > > + fi > > This should be investigated a bit more. Why does create_compress_files need > to be special cased and other tests do not? > > Alex
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#194256): https://lists.openembedded.org/g/openembedded-core/message/194256 Mute This Topic: https://lists.openembedded.org/mt/103905858/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
