[Mesa-dev] [PATCH mesa] mapi: fix .so path in ABI-check

Michel Dänzer michel at daenzer.net
Wed Nov 1 15:29:46 UTC 2017


On 31/10/17 07:50 PM, Eric Engestrom wrote:
> Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
> ---
> Didn't find when this was broken, but it looks like the tests had been
> silently ignored by `make check` for a long time...
> ---
>  src/mapi/es1api/ABI-check | 2 +-
>  src/mapi/es2api/ABI-check | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/src/mapi/es1api/ABI-check b/src/mapi/es1api/ABI-check
> index 25970bc41419eac5b544..bd9d0288d60dc7323f46 100755
> --- a/src/mapi/es1api/ABI-check
> +++ b/src/mapi/es1api/ABI-check
> @@ -9,7 +9,7 @@ set -eu
>  # or in extensions that are part of the ES 1.1 extension pack.
>  # (see http://www.khronos.org/registry/gles/specs/1.1/opengles_spec_1_1_extension_pack.pdf)
>  
> -LIB=${1-.libs/libGLESv1_CM.so.1}
> +LIB=${1-es1api/.libs/libGLESv1_CM.so.1}
>  
>  if ! [ -f "$LIB" ]
>  then
> diff --git a/src/mapi/es2api/ABI-check b/src/mapi/es2api/ABI-check
> index 2c2764e7fb94fb9494d2..835882c954a0911719a0 100755
> --- a/src/mapi/es2api/ABI-check
> +++ b/src/mapi/es2api/ABI-check
> @@ -6,7 +6,7 @@ set -eu
>  # GL_EXT_multi_draw_arrays
>  # GL_OES_EGL_image
>  
> -LIB=${1-.libs/libGLESv2.so.2}
> +LIB=${1-es2api/.libs/libGLESv2.so.2}
>  
>  if ! [ -f "$LIB" ]
>  then
> 

Tested with out-of-tree build, but presumably this works in-tree as
well? If so,

Reviewed-and-Tested-by: Michel Dänzer <michel.daenzer at amd.com>


-- 
Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer


More information about the mesa-dev mailing list