From 32eca734799a6ebe95c727482a3fcb8688098548 Mon Sep 17 00:00:00 2001 From: Alexis Hildebrandt Date: Tue, 15 Sep 2015 16:09:08 +0200 Subject: [tests] Remove compiler warnings for unit tests warning: equality comparison result unused [-Wunused-comparison] BOOST_CHECK_THROW(v8 == v10, value_error); ~~~^~~~~~ --- test/unit/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/unit') diff --git a/test/unit/CMakeLists.txt b/test/unit/CMakeLists.txt index 4f688755..9cacb4e7 100644 --- a/test/unit/CMakeLists.txt +++ b/test/unit/CMakeLists.txt @@ -15,7 +15,7 @@ if (BUILD_LIBRARY) add_ledger_test(UtilTests) add_executable(MathTests t_amount.cc t_commodity.cc t_balance.cc t_expr.cc t_value.cc) - set_source_files_properties(t_amount.cc PROPERTIES COMPILE_FLAGS "-Wno-unused-comparison") + set_source_files_properties(t_amount.cc t_value.cc PROPERTIES COMPILE_FLAGS "-Wno-unused-comparison") if (CMAKE_SYSTEM_NAME STREQUAL Darwin AND HAVE_BOOST_PYTHON) target_link_libraries(MathTests ${PYTHON_LIBRARIES}) endif() -- cgit v1.2.3