diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2015-03-19 20:06:15 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2015-03-19 21:50:51 +0300 |
commit | 2941b4ad9bd7ee876575b6b4bbe628a9dfaedaa5 (patch) | |
tree | c5a31693e6a221a9a7259b0608ef2afc6ea5e066 /tests/gtests/blenlib/CMakeLists.txt | |
parent | cfdd27381c6730dc0d8d4bb51c132b29337b8af5 (diff) |
BLI GHash: add some basic gtests.
We could likely add much more, but those already covers basic behavior and should be able
to catch most errors when editing this code.
Also added some performances tests as well (timing ghash insert/lookup under heavy loads,
for different kinds of keys).
Diffstat (limited to 'tests/gtests/blenlib/CMakeLists.txt')
-rw-r--r-- | tests/gtests/blenlib/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/gtests/blenlib/CMakeLists.txt b/tests/gtests/blenlib/CMakeLists.txt index 3a86d3f770d..152b65617a4 100644 --- a/tests/gtests/blenlib/CMakeLists.txt +++ b/tests/gtests/blenlib/CMakeLists.txt @@ -43,3 +43,6 @@ BLENDER_TEST(BLI_path_util "bf_blenlib;extern_wcwidth;${ZLIB_LIBRARIES}") BLENDER_TEST(BLI_polyfill2d "bf_blenlib") BLENDER_TEST(BLI_listbase "bf_blenlib") BLENDER_TEST(BLI_hash_mm2a "bf_blenlib") +BLENDER_TEST(BLI_ghash "bf_blenlib") + +BLENDER_TEST(BLI_ghash_performance "bf_blenlib") |