> -----Original Message----- > From: Richard Purdie <[email protected]> > Sent: Wednesday, January 24, 2024 5:47 PM > To: Alexander Kanavin <[email protected]>; 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 Wed, 2024-01-24 at 10:41 +0100, Alexander Kanavin wrote: > > On Wed, 24 Jan 2024 at 10:04, Chi Xu <[email protected]> wrote: > > > +Subject: [PATCH] Update test scripts: replace ../src/* with > > > +/usr/bin > > > + > > > +In order to run scripts on target, replace ../src/* with /usr/bin > > > + > > > +Upstream-Status: Inappropriate [embedded specific] -if test -x > > > +../src/xz/xz ; then > > > ++if test -x /usr/bin/xz ; then > > > > It's better to bundle the xz* executables into the ptest package where > > the script expects them, and avoid making a non-upstreamable patch > > altogether. > > I'd put links in place there to redirect to binares, that way we test the > actual > binaries and don't have copies. >
Thanks Richard, this is a good alternative if we want to avoid non-upstreamable patch. Thanks, Chi > Cheers, > > Richard
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#194302): https://lists.openembedded.org/g/openembedded-core/message/194302 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]] -=-=-=-=-=-=-=-=-=-=-=-
