[Mesa-stable] [PATCH] util: scons: wire up the sha1 test
Emil Velikov
emil.l.velikov at gmail.com
Thu Dec 14 19:10:59 UTC 2017
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)
--
2.15.0
More information about the mesa-stable
mailing list