[tests] Remove compiler warnings for unit tests
warning: equality comparison result unused [-Wunused-comparison]
BOOST_CHECK_THROW(v8 == v10, value_error);
~~~^~~~~~
This commit is contained in:
parent
38315cfba2
commit
32eca73479
1 changed files with 1 additions and 1 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue