[Mesa-stable] [Mesa-dev] [PATCH] util: scons: wire up the sha1 test

Andres Gomez agomez at igalia.com
Fri Dec 15 10:53:37 UTC 2017


Ugh! How did we miss this?

This is:

Reviewed-by: Andres Gomez <agomez at igalia.com>

On Thu, 2017-12-14 at 19:10 +0000, Emil Velikov wrote:
> From: Emil Velikov <emil.velikov at collabora.com>
> 
> Cc: <mesa-stable at lists.freedesktop.org>
> Fixes: 513d7ffa23d ("util: Add a SHA1 unit test program")
> Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
> ---
> We want this and the original commit for stable, to catch any 
> breakage that may happen.
> 
>  src/util/SConscript | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/src/util/SConscript b/src/util/SConscript
> index 0c3c98a5f4c..66a0d1c04ff 100644
> --- a/src/util/SConscript
> +++ b/src/util/SConscript
> @@ -63,3 +63,10 @@ roundeven_test = env.Program(
>      source = ['roundeven_test.c'],
>  )
>  env.UnitTest("roundeven_test", roundeven_test)
> +
> +env.Prepend(LIBS = [mesautil])
> +mesa_sha1_test = env.Program(
> +    target = 'mesa-sha1_test',
> +    source = ['mesa-sha1_test.c'],
> +)
> +env.UnitTest("mesa-sha1_test", mesa_sha1_test)
-- 
Br,

Andres


More information about the mesa-stable mailing list