From e20171e59f4893b1f12e4c694eec0211629f8e06 Mon Sep 17 00:00:00 2001 From: Hans Goudey Date: Mon, 6 Jul 2020 16:39:28 -0400 Subject: Fix build error with tests for removed functions These GHash functions were removed in 12817083ec61, so the tests should be removed too. --- tests/gtests/blenlib/BLI_ghash_performance_test.cc | 36 ---------------------- 1 file changed, 36 deletions(-) (limited to 'tests/gtests') diff --git a/tests/gtests/blenlib/BLI_ghash_performance_test.cc b/tests/gtests/blenlib/BLI_ghash_performance_test.cc index 1002ff7d2df..201598869e8 100644 --- a/tests/gtests/blenlib/BLI_ghash_performance_test.cc +++ b/tests/gtests/blenlib/BLI_ghash_performance_test.cc @@ -535,42 +535,6 @@ static void int2_ghash_tests(GHash *ghash, const char *id, const unsigned int nb printf("========== ENDED %s ==========\n\n", id); } -TEST(ghash, Int2GHash2000) -{ - GHash *ghash = BLI_ghash_new( - BLI_ghashutil_uinthash_v2_p, BLI_ghashutil_uinthash_v2_cmp, __func__); - - int2_ghash_tests(ghash, "Int2GHash - GHash - 2000", 2000); -} - -#ifdef GHASH_RUN_BIG -TEST(ghash, Int2GHash20000000) -{ - GHash *ghash = BLI_ghash_new( - BLI_ghashutil_uinthash_v2_p, BLI_ghashutil_uinthash_v2_cmp, __func__); - - int2_ghash_tests(ghash, "Int2GHash - GHash - 20000000", 20000000); -} -#endif - -TEST(ghash, Int2Murmur2a2000) -{ - GHash *ghash = BLI_ghash_new( - BLI_ghashutil_uinthash_v2_p_murmur, BLI_ghashutil_uinthash_v2_cmp, __func__); - - int2_ghash_tests(ghash, "Int2GHash - Murmur - 2000", 2000); -} - -#ifdef GHASH_RUN_BIG -TEST(ghash, Int2Murmur2a20000000) -{ - GHash *ghash = BLI_ghash_new( - BLI_ghashutil_uinthash_v2_p_murmur, BLI_ghashutil_uinthash_v2_cmp, __func__); - - int2_ghash_tests(ghash, "Int2GHash - Murmur - 20000000", 20000000); -} -#endif - /* MultiSmall: create and manipulate a lot of very small ghashes * (90% < 10 items, 9% < 100 items, 1% < 1000 items). */ -- cgit v1.2.3