util: scons: wire up the sha1 test
authorEmil Velikov <emil.velikov@collabora.com>
Thu, 14 Dec 2017 17:20:30 +0000 (17:20 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 15 Dec 2017 19:01:12 +0000 (19:01 +0000)
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Andres Gomez <agomez@igalia.com>
src/util/SConscript

index 0c3c98a5f4c10ad81f58a356d8bf0d7b95124a8d..66a0d1c04ff1fb8178ab029ac70062544319e9b4 100644 (file)
@@ -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)