diff options
author | Dave Airlie <[email protected]> | 2019-04-29 12:24:58 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2019-05-03 15:23:04 +1000 |
commit | 18973a450ed986a0f56aa35b14c8e9fd9260f168 (patch) | |
tree | ea59a8c6c914fd0d06fd976deaf74f96d82a1dbb /src/util/meson.build | |
parent | 6fd6246d92cde32426aafa3d0748f03f403f8f1b (diff) |
util/tests: add basic unit tests for bitset
The last test here currently fails as there is a bug in bitset.h
Reviewed-by: Kristian H. Kristensen <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/util/meson.build')
-rw-r--r-- | src/util/meson.build | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/util/meson.build b/src/util/meson.build index 489b6df1710..dbb903218f2 100644 --- a/src/util/meson.build +++ b/src/util/meson.build @@ -195,6 +195,18 @@ if with_tests suite : ['util'], ) + test( + 'bitset', + executable( + 'bitset_test', + files('bitset_test.cpp'), + include_directories : inc_common, + dependencies : [dep_thread, dep_dl, idep_gtest], + link_with : libmesa_util, + ), + suite : ['util'], + ) + subdir('tests/fast_idiv_by_const') subdir('tests/hash_table') subdir('tests/string_buffer') |