From 293dfc782552f35078215cd39a103c9646051fb2 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 21 Sep 2019 22:11:52 +0200 Subject: test: fix cmocka assert_float_equal shadowing warnings Just use cmocka's function. It takes an epsilon argument, which we now provide directly. There's no assert_double_equal() in cmocka (and the float variant actually forces a conversion to the float type), but fortunately we didn't use it. --- wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wscript') diff --git a/wscript b/wscript index 1f70bb7106..dfe551607b 100644 --- a/wscript +++ b/wscript @@ -118,7 +118,7 @@ build_options = [ }, { 'name': '--test', 'desc': 'test suite (using cmocka)', - 'func': check_pkg_config('cmocka', '>= 1.0.0'), + 'func': check_pkg_config('cmocka', '>= 1.1.5'), 'default': 'disable', }, { 'name': '--clang-database', -- cgit v1.2.3