summaryrefslogtreecommitdiffstats
path: root/src/util/meson.build
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2017-11-27 11:33:48 +0000
committerEric Engestrom <[email protected]>2017-11-28 11:06:04 +0000
commit44fbbd6fd07e5784b05e08e762e54b6c71f95ab1 (patch)
tree999b82c86133128124685ec48c0cff2333e896df /src/util/meson.build
parent9d281e1506cedf264e0d9c402c019632c7b9ac3f (diff)
util: add mesa-sha1 test to meson
Fixes: 513d7ffa23d42e96f831 "util: Add a SHA1 unit test program" Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/util/meson.build')
-rw-r--r--src/util/meson.build9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/util/meson.build b/src/util/meson.build
index ac86c9e111e..b54c20796ff 100644
--- a/src/util/meson.build
+++ b/src/util/meson.build
@@ -134,8 +134,17 @@ if with_tests
dependencies : [dep_m],
)
+ mesa_sha1_test = executable(
+ 'mesa-sha1_test',
+ files('mesa-sha1_test.c'),
+ include_directories : inc_common,
+ link_with : libmesa_util,
+ c_args : [c_msvc_compat_args],
+ )
+
test('u_atomic', u_atomic_test)
test('roundeven', roundeven_test)
+ test('mesa-sha1', mesa_sha1_test)
subdir('tests/hash_table')
subdir('tests/string_buffer')