[PATCH wayland] wayland-egl: Make symbol test fail on failure

Pekka Paalanen ppaalanen at gmail.com
Tue Mar 20 07:34:23 UTC 2018


On Mon, 19 Mar 2018 11:59:25 -0500
Derek Foreman <derekf at osg.samsung.com> wrote:

> On 2018-03-19 11:20 AM, Eric Engestrom wrote:
> > On Monday, 2018-03-19 16:10:57 +0000, Daniel Stone wrote:  
> >> Hi,
> >>
> >> On 19 March 2018 at 16:08, Eric Engestrom <eric.engestrom at imgtec.com> wrote:  
> >>> On Monday, 2018-03-19 15:13:14 +0000, Daniel Stone wrote:  
> >>>> +if ! test -f "$LIB"; then
> >>>> +     echo "Test binary \"$LIB\" does not exist"
> >>>> +     exit 99
> >>>> +fi
> >>>> +
> >>>> +if ! test -n "$NM"; then
> >>>> +     echo "nm environment variable not set"
> >>>> +     exit 99  
> >>>
> >>> 99? Were you looking for the "skip this test" 77?  
> >>
> >> I did mean 99 'some kind of inexplicable internal error happened'
> >> rather than 77 skip, but I have no strong opinion on it and am happy
> >> to change to whatever is suggested.  
> > 
> > I guess "don't have the tools to test this, skipping" would be fine, but
> > I'm not really involved in the wayland project so my opinion isn't the
> > one that matters the most :P  
> 
> Additional review is valuable, thanks. :)
> 
> > "I have no strong feelings one way or the other"  
> 
> In the absence of strong feelings, I've pushed this as-is.
> 
> Along with the recent version of the "pass nm path to check script" patch.

Hi,

I think 99 is the right one to use. It's an ABI breakage check, we
definitely don't want that to be optional.


Thanks,
pq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20180320/f1717513/attachment-0001.sig>


More information about the wayland-devel mailing list